Ensures that the data about to be stored in the database is not larger than the data storage column. Raises ActionController::SessionOverflowError.
Source Code
# File action_controller/session/active_record_store.rb, line 142 def raise_on_session_data_overflow! return false if !loaded? limit = self.class.data_column_size_limit if loaded? and limit and read_attribute(@@data_column_name).size > limit raise ActionController::SessionOverflowError end end
<code/>and<pre/>for code samples.