aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/fixtures.rb
diff options
context:
space:
mode:
authorschneems <richard.schneeman@gmail.com>2014-06-02 10:42:48 -0500
committerschneems <richard.schneeman@gmail.com>2014-06-02 10:43:01 -0500
commit071373857dddeefcb7a36f8838c03c5e88dd6e20 (patch)
tree53d012daa5a5ae454f332021e06233dfbc2dd3c3 /activerecord/lib/active_record/fixtures.rb
parenta93f385c2b675e003afb98a57a9bd0f6377667cc (diff)
downloadrails-071373857dddeefcb7a36f8838c03c5e88dd6e20.tar.gz
rails-071373857dddeefcb7a36f8838c03c5e88dd6e20.tar.bz2
rails-071373857dddeefcb7a36f8838c03c5e88dd6e20.zip
[ci skip] explain association behavior.
When you manually specify `id:` attribute in a fixture Rails' built in association assignment feature will no longer work. http://stackoverflow.com/questions/23985675/incorrect-association-in-fixtures This commit raises awareness of this behavior and encourages developers to look directly at the fixture documentation.
Diffstat (limited to 'activerecord/lib/active_record/fixtures.rb')
0 files changed, 0 insertions, 0 deletions