diff options
author | Jeremy Walker <jeremy@meducation.net> | 2012-02-02 18:57:15 +0000 |
---|---|---|
committer | Jeremy Walker <jeremy@meducation.net> | 2012-02-02 18:57:15 +0000 |
commit | 58d10e2012c414cc262b4b4f3305c3c4e0dbf048 (patch) | |
tree | 260b826f75ced6f922360d25ae6d77d33f8745e1 /activerecord/test/models | |
parent | 56ba2103c89c8ee12ecc8995f759c459796fa328 (diff) | |
download | rails-58d10e2012c414cc262b4b4f3305c3c4e0dbf048.tar.gz rails-58d10e2012c414cc262b4b4f3305c3c4e0dbf048.tar.bz2 rails-58d10e2012c414cc262b4b4f3305c3c4e0dbf048.zip |
Allow store to be a not null column.
Diffstat (limited to 'activerecord/test/models')
-rw-r--r-- | activerecord/test/models/admin/user.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/models/admin/user.rb b/activerecord/test/models/admin/user.rb index c12c88e195..d0e628bd50 100644 --- a/activerecord/test/models/admin/user.rb +++ b/activerecord/test/models/admin/user.rb @@ -1,4 +1,5 @@ class Admin::User < ActiveRecord::Base belongs_to :account store :settings, :accessors => [ :color, :homepage ] + store :preferences, :accessors => [ :remember_login ] end |