diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-21 16:59:23 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-21 16:59:23 -0700 |
commit | a78547a9c66eeaa3dbf5e2612483ca172fb137e9 (patch) | |
tree | ed3b9bacd90c5401427480b0e740b13e28e19377 /activerecord/lib/active_record/session_store.rb | |
parent | 87a319cd0c51cbc8f6bc8e3d11ab9e30a96ac628 (diff) | |
download | rails-a78547a9c66eeaa3dbf5e2612483ca172fb137e9.tar.gz rails-a78547a9c66eeaa3dbf5e2612483ca172fb137e9.tar.bz2 rails-a78547a9c66eeaa3dbf5e2612483ca172fb137e9.zip |
testing loaded? method and reducing funcalls
Diffstat (limited to 'activerecord/lib/active_record/session_store.rb')
-rw-r--r-- | activerecord/lib/active_record/session_store.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/session_store.rb b/activerecord/lib/active_record/session_store.rb index 17f09d64b0..b352f9529d 100644 --- a/activerecord/lib/active_record/session_store.rb +++ b/activerecord/lib/active_record/session_store.rb @@ -259,7 +259,7 @@ module ActiveRecord end def loaded? - !!@data + @data end def save |