From 85750d43fa714f6773396b8304430f2d1f459350 Mon Sep 17 00:00:00 2001 From: Fred Wu Date: Thu, 20 Jun 2013 12:16:17 +1000 Subject: ActiveModel::Model inclusion chain backward compatibility --- activemodel/lib/active_model/model.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activemodel/lib/active_model') 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+. -- cgit v1.2.3