diff options
author | Stephen Pike <steve@sevenfifty.comexit> | 2011-10-11 09:32:23 -0400 |
---|---|---|
committer | Stephen Pike <steve@sevenfifty.comexit> | 2011-10-11 09:32:23 -0400 |
commit | c4e29541724433fd1c96715bde829209066ca205 (patch) | |
tree | 19473e034fa806a12ab17979515b7da8cd7a884f /activerecord/lib/active_record | |
parent | 3ca269674f66558f6ced4d956ecae4959dacd596 (diff) | |
download | rails-c4e29541724433fd1c96715bde829209066ca205.tar.gz rails-c4e29541724433fd1c96715bde829209066ca205.tar.bz2 rails-c4e29541724433fd1c96715bde829209066ca205.zip |
Runtime conditions for associations should use procs
The association guide previously recommended using a trick with single
quote delaying of string interpolation in order to handle setting association
conditions that would be evaluated at runtime. Using a proc is the new way as
this no longer works.
Diffstat (limited to 'activerecord/lib/active_record')
0 files changed, 0 insertions, 0 deletions