diff options
author | Jose and Yehuda <wycats@gmail.com> | 2011-09-27 17:34:47 -0400 |
---|---|---|
committer | Jose and Yehuda <wycats@gmail.com> | 2011-10-15 18:40:37 +0200 |
commit | e407dfb9bf6ee3b12d699511ef05e6f260c5edf1 (patch) | |
tree | 121bb7d7b9bf6515b40ee2059e2dc53bf80edaef /activemodel/lib | |
parent | f5836543c3cd16f7789c936a4181f4a7204141dc (diff) | |
download | rails-e407dfb9bf6ee3b12d699511ef05e6f260c5edf1.tar.gz rails-e407dfb9bf6ee3b12d699511ef05e6f260c5edf1.tar.bz2 rails-e407dfb9bf6ee3b12d699511ef05e6f260c5edf1.zip |
Don't require serializable_hash to take options.
Diffstat (limited to 'activemodel/lib')
-rw-r--r-- | activemodel/lib/active_model/serializer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/serializer.rb b/activemodel/lib/active_model/serializer.rb index 2eca3ebc5e..a2035ae2cb 100644 --- a/activemodel/lib/active_model/serializer.rb +++ b/activemodel/lib/active_model/serializer.rb @@ -29,7 +29,7 @@ module ActiveModel serializable_hash end - def serializable_hash(*) + def serializable_hash attributes end |