aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch
diff options
context:
space:
mode:
authorRichard Wilson <r.crawfordwilson@gmail.com>2015-04-16 16:46:03 -0700
committerRichard Wilson <r.crawfordwilson@gmail.com>2015-04-16 16:46:03 -0700
commit8f7d9eb043dbbca9e4b424c77e643312a9927eac (patch)
tree178140ef1c4f8974a64ec215f5c7b9ec71d57308 /actionpack/test/dispatch
parentc8bab30ce5a7a40be7a3c7c4271e8ae6d2b303bb (diff)
downloadrails-8f7d9eb043dbbca9e4b424c77e643312a9927eac.tar.gz
rails-8f7d9eb043dbbca9e4b424c77e643312a9927eac.tar.bz2
rails-8f7d9eb043dbbca9e4b424c77e643312a9927eac.zip
Encourage users to user super to override methods.
IMO we shouldn't encourage users to use methods they shouldn't need to know about. As Song (in this example) inherits from ActiveRecord, we can use super here instead to get the same effect with the bonus of not knowing how active record actually implements these methods.
Diffstat (limited to 'actionpack/test/dispatch')
0 files changed, 0 insertions, 0 deletions