diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2014-09-19 17:49:42 +0900 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2014-09-19 17:49:42 +0900 |
commit | c8450d82dc42dc3cdf66b015c7ca136ba7205b37 (patch) | |
tree | cadf6cd042ac9d42d4273630ea5c239fc8acd592 /activerecord | |
parent | c2dfc316912e780dfd6113e6ab9668128264f111 (diff) | |
download | rails-c8450d82dc42dc3cdf66b015c7ca136ba7205b37.tar.gz rails-c8450d82dc42dc3cdf66b015c7ca136ba7205b37.tar.bz2 rails-c8450d82dc42dc3cdf66b015c7ca136ba7205b37.zip |
Updated comment about features of fixtures
- Added a note about some features which are not dependent on
auto-generated ID's.
- [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/fixtures.rb | 3 |
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 |