aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorFred Wu <ifredwu@gmail.com>2013-06-20 12:16:17 +1000
committerFred Wu <ifredwu@gmail.com>2013-06-20 12:16:17 +1000
commit85750d43fa714f6773396b8304430f2d1f459350 (patch)
tree4fc23eb5a26723812e3d3258ce37b9c11861a744 /activemodel/lib
parentacd987eca93350454574fc3acb4cf389c81bff3a (diff)
downloadrails-85750d43fa714f6773396b8304430f2d1f459350.tar.gz
rails-85750d43fa714f6773396b8304430f2d1f459350.tar.bz2
rails-85750d43fa714f6773396b8304430f2d1f459350.zip
ActiveModel::Model inclusion chain backward compatibility
Diffstat (limited to 'activemodel/lib')
-rw-r--r--activemodel/lib/active_model/model.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/model.rb b/activemodel/lib/active_model/model.rb
index 5904d686e5..f048dda5c6 100644
--- a/activemodel/lib/active_model/model.rb
+++ b/activemodel/lib/active_model/model.rb
@@ -80,7 +80,7 @@ module ActiveModel
self.public_send("#{attr}=", value)
end if params
- super(*params)
+ super()
end
# Indicates if the model is persisted. Default is +false+.