From 2a0fdde3806ea588c189c1a26ecbf3c6f5f1ed98 Mon Sep 17 00:00:00 2001 From: Matthias Zirnstein Date: Mon, 6 Jan 2014 16:40:32 +0100 Subject: [PATCH] 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 --- activerecord/test/models/admin/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/test/models/admin/user.rb b/activerecord/test/models/admin/user.rb index 9a80aaba01..48a110bd23 100644 --- a/activerecord/test/models/admin/user.rb +++ b/activerecord/test/models/admin/user.rb @@ -14,7 +14,7 @@ class Admin::User < ActiveRecord::Base 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 ]