aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorJoost Baaij <joost@spacebabies.nl>2012-03-13 16:14:20 +0100
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-06-18 23:49:48 -0300
commit757f7231cccd2bcbfb83fba5cb203fb320f3e613 (patch)
treebd16dbccdaa0d54e2ad579c626c5a3ea5afbd49b /activerecord/CHANGELOG.md
parentdf2104e06784a4b98d8f30cb3ea4eee69304e768 (diff)
downloadrails-757f7231cccd2bcbfb83fba5cb203fb320f3e613.tar.gz
rails-757f7231cccd2bcbfb83fba5cb203fb320f3e613.tar.bz2
rails-757f7231cccd2bcbfb83fba5cb203fb320f3e613.zip
Remember the stored attributes in a config attribute.
This allows you to retrieve the list of attributes you've defined. Usable for e.g. selects in the view, or interators based on the attributes you wish to store in the serialized column.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index cc18981e93..633198c4bb 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,5 +1,11 @@
## Rails 4.0.0 (unreleased) ##
+* Added a `stored_attributes` hash which contains the attributes stored
+ using ActiveRecord::Store. This allows you to retrieve the list of
+ attributes you've defined.
+
+ *Joost Baaij*
+
* `composed_of` was removed. You'll have to write your own accessor
and mutator methods if you'd like to use value objects to represent some
portion of your models. So, instead of: