aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/migration_generator_test.rb
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-12-07 19:31:14 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-12-07 19:31:14 -0500
commita3c29b70a9ec6696e76ba5a6e5ef856d31b3a427 (patch)
tree92871486c940712e65f77e33f4604e4ef54e81a1 /railties/test/generators/migration_generator_test.rb
parent69163ccae6a49c89e1a62ac94b98222651dd5aa8 (diff)
downloadrails-a3c29b70a9ec6696e76ba5a6e5ef856d31b3a427.tar.gz
rails-a3c29b70a9ec6696e76ba5a6e5ef856d31b3a427.tar.bz2
rails-a3c29b70a9ec6696e76ba5a6e5ef856d31b3a427.zip
use :only instead of :except callback option in the controller template
As [Security Guide](http://edgeguides.rubyonrails.org/security.html#whitelists-versus-blacklists) says, it's better to use `before_filter only: []` instead of `except: []` so we don't forget to turn the filter off for newly added actions.
Diffstat (limited to 'railties/test/generators/migration_generator_test.rb')
0 files changed, 0 insertions, 0 deletions