aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/rating.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-08-05 17:24:48 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-08-05 17:24:48 -0700
commitde59e6ebad0cc829e60e2444f03230aef8228980 (patch)
treece8954c75d665998faf00dfc0cc1da4dc37ed381 /activerecord/test/models/rating.rb
parenta31bfe69837b63a6501925d37e1ebd149e90e1a0 (diff)
downloadrails-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