On Thu, Feb 16, 2012 at 21:35, Cluter Vipic <[email protected]> wrote:
> if click on {Send Button} appear an Rails error page
>
> ***********************************************
> NoMethodError in FormonlineController#create
>
> undefined method `deep_merge!' for nil:NilClass
...
> 24. session[:formonline_params].deep_merge!(params[:formonline]) if
> params[:formonline]
This is telling you that session[:formonline_params] has been nulled
out. Try detecting that condition and, if so, setting it to empty (or
some other sensible value), before this line. That will at least
bypass this crash, though I don't know if it will let the back-button
work as you desire.
-Dave
--
Dave Aronson: Available Cleared Ruby on Rails Freelancer
(NoVa/DC/Remote) -- see www.DaveAronson.com, and blogs at
www.Codosaur.us, www.Dare2XL.com, www.RecruitingRants.com
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.