diff options
author | Jamis Buck <jamis@37signals.com> | 2005-10-15 20:49:04 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2005-10-15 20:49:04 +0000 |
commit | bfbf6bba1fe45dad35d57afa4e46b0106ea164ab (patch) | |
tree | 5f2f421f4d3db956535fda45a42ddd6e31739828 /actionpack/lib | |
parent | bec70cf99ae16f8af8c7507f0ce55275aea2ad24 (diff) | |
download | rails-bfbf6bba1fe45dad35d57afa4e46b0106ea164ab.tar.gz rails-bfbf6bba1fe45dad35d57afa4e46b0106ea164ab.tar.bz2 rails-bfbf6bba1fe45dad35d57afa4e46b0106ea164ab.zip |
Allow ARStore::Session to indicate that it should not be reloaded in dev mode
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/session/active_record_store.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/session/active_record_store.rb b/actionpack/lib/action_controller/session/active_record_store.rb index 90d9f3fbe1..36896d36d8 100644 --- a/actionpack/lib/action_controller/session/active_record_store.rb +++ b/actionpack/lib/action_controller/session/active_record_store.rb @@ -46,6 +46,11 @@ class CGI class << self + # Don't try to reload ARStore::Session in dev mode. + def reloadable? #:nodoc: + false + end + def data_column_size_limit connection.columns(table_name).find {|column| column.name == 'data'}.limit end |