Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
Fix for pull request #657.
Browse files Browse the repository at this point in the history
  • Loading branch information
andhapp committed Jul 12, 2012
1 parent 2b660d7 commit ff670ed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions Gemfile
Expand Up @@ -6,10 +6,6 @@ when nil, "active_record"
gem "activerecord", '~> 3.0.9', :require => "active_record" gem "activerecord", '~> 3.0.9', :require => "active_record"
gem "with_model", "~> 0.2.5" gem "with_model", "~> 0.2.5"
gem "meta_where" gem "meta_where"
when "active_record_31"
gem "sqlite3"
gem "activerecord", '~> 3.1.6', :require => "active_record"
gem "with_model", "~> 0.2.5"
when "data_mapper" when "data_mapper"
gem "dm-core", "~> 1.0.2" gem "dm-core", "~> 1.0.2"
gem "dm-sqlite-adapter", "~> 1.0.2" gem "dm-sqlite-adapter", "~> 1.0.2"
Expand Down
2 changes: 1 addition & 1 deletion lib/cancan/controller_resource.rb
Expand Up @@ -88,7 +88,7 @@ def build_resource
else else
resource = resource_base.new(resource_params || {}) resource = resource_base.new(resource_params || {})
end end
#assign_attributes(resource) assign_attributes(resource)
end end


def assign_attributes(resource) def assign_attributes(resource)
Expand Down

0 comments on commit ff670ed

Please sign in to comment.