diff options
author | Richard Wilson <r.crawfordwilson@gmail.com> | 2015-04-16 16:46:03 -0700 |
---|---|---|
committer | Richard Wilson <r.crawfordwilson@gmail.com> | 2015-04-16 16:46:03 -0700 |
commit | 8f7d9eb043dbbca9e4b424c77e643312a9927eac (patch) | |
tree | 178140ef1c4f8974a64ec215f5c7b9ec71d57308 /actionpack/test/controller/request/test_request_test.rb | |
parent | c8bab30ce5a7a40be7a3c7c4271e8ae6d2b303bb (diff) | |
download | rails-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/controller/request/test_request_test.rb')
0 files changed, 0 insertions, 0 deletions