
have_flash failed after upgrade to rails-2.3.4
Reported by yinhm | September 7th, 2009 @ 02:26 AM
This problem probably due to rails 2.3.4 changed session[flash] init:
152 160 # to put a new one.
153 161 def flash #:doc:
154 unless defined? @_flash
155 @_flash = session["flash"] ||= FlashHash.new
162 if !defined?(@_flash)
163 @_flash = session["flash"] || FlashHash.new
156 164 @_flash.sweep
157 165 end
I didn't look it future how session["flash"] got initialize and stored cause I not a rails core expect.
Comments and changes to this ticket
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby Acceptance Testing for Web applications.