diff options
author | José Valim <jose.valim@plataformatec.com.br> | 2013-06-18 22:31:10 -0700 |
---|---|---|
committer | José Valim <jose.valim@plataformatec.com.br> | 2013-06-18 22:31:10 -0700 |
commit | 878ab18c5e6b0d9dd3c0608fc54265de4ad6665d (patch) | |
tree | d1699978e83a6d7034851b2c39c98dd820f688e9 /activemodel/lib | |
parent | 2b817a5e89ac0e7aeb894a40ae7151a0cf3cef16 (diff) | |
parent | e3dc10f13393c0b1329f31062a50b5c050159151 (diff) | |
download | rails-878ab18c5e6b0d9dd3c0608fc54265de4ad6665d.tar.gz rails-878ab18c5e6b0d9dd3c0608fc54265de4ad6665d.tar.bz2 rails-878ab18c5e6b0d9dd3c0608fc54265de4ad6665d.zip |
Merge pull request #11002 from fredwu/master-activemodel-inclusion-chain-fix
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+. |