aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-09-19 11:10:49 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-09-19 11:10:49 -0300
commit620f4a4fc962c863b91a51876ffdf58f33bedb9c (patch)
tree11c46c529366698751afb5e43ccfc0aec2d95bf0
parent88c72373ba7517b739504f1e03b628663439df8b (diff)
parentc8450d82dc42dc3cdf66b015c7ca136ba7205b37 (diff)
downloadrails-620f4a4fc962c863b91a51876ffdf58f33bedb9c.tar.gz
rails-620f4a4fc962c863b91a51876ffdf58f33bedb9c.tar.bz2
rails-620f4a4fc962c863b91a51876ffdf58f33bedb9c.zip
Merge pull request #16973 from prathamesh-sonpatki/fixtures-features
Updated comment about features of fixtures
-rw-r--r--activerecord/lib/active_record/fixtures.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/fixtures.rb b/activerecord/lib/active_record/fixtures.rb
index 4527452f1a..1724fa893d 100644
--- a/activerecord/lib/active_record/fixtures.rb
+++ b/activerecord/lib/active_record/fixtures.rb
@@ -181,6 +181,9 @@ module ActiveRecord
# * Stable, autogenerated IDs
# * Label references for associations (belongs_to, has_one, has_many)
# * HABTM associations as inline lists
+ #
+ # There are some more advanced features available even if the id is specified:
+ #
# * Autofilled timestamp columns
# * Fixture label interpolation
# * Support for YAML defaults