diff options
author | Fred Wu <ifredwu@gmail.com> | 2013-06-19 11:21:35 +1000 |
---|---|---|
committer | Fred Wu <ifredwu@gmail.com> | 2013-06-19 11:25:10 +1000 |
commit | e3dc10f13393c0b1329f31062a50b5c050159151 (patch) | |
tree | d1699978e83a6d7034851b2c39c98dd820f688e9 /activemodel/lib | |
parent | 2b817a5e89ac0e7aeb894a40ae7151a0cf3cef16 (diff) | |
download | rails-e3dc10f13393c0b1329f31062a50b5c050159151.tar.gz rails-e3dc10f13393c0b1329f31062a50b5c050159151.tar.bz2 rails-e3dc10f13393c0b1329f31062a50b5c050159151.zip |
Fixed ActiveModel::Model's inclusion chain
Diffstat (limited to 'activemodel/lib')
-rw-r--r-- | activemodel/lib/active_model/model.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activemodel/lib/active_model/model.rb b/activemodel/lib/active_model/model.rb index 62383a03e8..ee5bc9e4d8 100644 --- a/activemodel/lib/active_model/model.rb +++ b/activemodel/lib/active_model/model.rb @@ -79,6 +79,8 @@ module ActiveModel params.each do |attr, value| self.public_send("#{attr}=", value) end if params + + super end # Indicates if the model is persisted. Default is +false+. |