Permalink
Browse files

Remove warnings in test suite

lib/active_record/store.rb:79: warning: method redefined; discarding old color=
lib/active_record/store.rb:79: warning: previous definition of color= was here
lib/active_record/store.rb:83: warning: method redefined; discarding old color
lib/active_record/store.rb:83: warning: previous definition of color was here
  • Loading branch information...
1 parent f2b80a4 commit 2a0fdde3806ea588c189c1a26ecbf3c6f5f1ed98 @zirni zirni committed Jan 6, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/models/admin/user.rb
@@ -14,7 +14,7 @@ def load(s)
end
belongs_to :account
- store :params, accessors: [ :color ], coder: YAML
+ store :params, accessors: [ :token ], coder: YAML
store :settings, :accessors => [ :color, :homepage ]
store_accessor :settings, :favorite_food
store :preferences, :accessors => [ :remember_login ]

0 comments on commit 2a0fdde

Please sign in to comment.