Displaying 1 result from an estimated 1 matches for "creator_message".
Did you mean:
create_message
2007 Feb 18
2
SerializationTypeMismatch in Production Mode
...is:
def new
store_location
if request.env["HTTP_REFERER"]
params[:my_id] = "survey" if
request.env["HTTP_REFERER"].include? "survey"
end
@question = Question.new
@question.answers_container = Array.new(2, "")
@question.creator_message = current_user[:note] if logged_in?
end
In my model, I define the serialized attribute as such:
serialize :answers_container, Array
I was running rails 1.2, then upgraded to 1.2.2 after seeing I have
this problem. I believe when I was running 1.1.6 I did not have this
problem.
Does anyone have...