From bfbf6bba1fe45dad35d57afa4e46b0106ea164ab Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Sat, 15 Oct 2005 20:49:04 +0000 Subject: 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 --- actionpack/lib/action_controller/session/active_record_store.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'actionpack/lib') 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 -- cgit v1.2.3