aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2010-07-06 19:06:02 +0100
committerJosé Valim <jose.valim@gmail.com>2010-07-06 20:46:20 +0200
commitf4be0041c605daad2406ec41fa7dfa4388af5f31 (patch)
treeacd75140366f857fa68ca40009535ba84c5340fa /activerecord
parent92ff71bb14b1b589a3d5c04d120e4b9210b243b1 (diff)
downloadrails-f4be0041c605daad2406ec41fa7dfa4388af5f31.tar.gz
rails-f4be0041c605daad2406ec41fa7dfa4388af5f31.tar.bz2
rails-f4be0041c605daad2406ec41fa7dfa4388af5f31.zip
Refactor handling of :only and :except options. The rules are:
1. Don't inherit when specified as an option on a resource 2. Don't push into scope when specified as an option on a resource 2. Resources pull in :only or :except options from scope 3. Either :only or :except in nested scope overwrites parent scope [#5048 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activerecord')
0 files changed, 0 insertions, 0 deletions