diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-05 17:24:48 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-05 17:24:48 -0700 |
commit | de59e6ebad0cc829e60e2444f03230aef8228980 (patch) | |
tree | ce8954c75d665998faf00dfc0cc1da4dc37ed381 /activerecord/test/models/rating.rb | |
parent | a31bfe69837b63a6501925d37e1ebd149e90e1a0 (diff) | |
download | rails-de59e6ebad0cc829e60e2444f03230aef8228980.tar.gz rails-de59e6ebad0cc829e60e2444f03230aef8228980.tar.bz2 rails-de59e6ebad0cc829e60e2444f03230aef8228980.zip |
move env access to the request object.
Accessing a request object has nice advantages over accessing a hash.
If you use a missing method name, you'll get an exception rather than a
`nil` (is one nice feature)
Diffstat (limited to 'activerecord/test/models/rating.rb')
0 files changed, 0 insertions, 0 deletions