diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2010-07-06 19:06:02 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-07-06 20:46:20 +0200 |
commit | f4be0041c605daad2406ec41fa7dfa4388af5f31 (patch) | |
tree | acd75140366f857fa68ca40009535ba84c5340fa /railties/test/application | |
parent | 92ff71bb14b1b589a3d5c04d120e4b9210b243b1 (diff) | |
download | rails-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 'railties/test/application')
0 files changed, 0 insertions, 0 deletions