this is a comment from a different user group:
How do you know the first if statement is skipped? The next one
overwrites the flash messages in all cases so it doesn''t matter what
you did in the first block.
how would i redo the code??
On May 2, 1:59 pm, ByENNEN
<byen...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Here is the code I need help with:
>
> http://pastie.caboo.se/58307
>
> My problem is I have a custom save message throughout my app. My
> client needs the message to be different for one save in the app. If
> you click on the pastie you will see in the code where I''m having
> problems. I know this is probably something stupid... but I am new to
> this. Thanks for any help you guys can provide!
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---