Hi if you can share your code then can see the problem , but please check how you are showing error messages , may be you have defined in two places .
On Thursday, 23 January 2014 02:49:06 UTC+5:30, Ruby-Forum.com User wrote: > > I have a weird situation. > > In my users controller I have an if else statement that renders a > partial (i created for errors) based on if my sign up form passes > validation. For instance if someone forgets to put in their name or > enter an email address the message will appear at the top of the form. > Everything was working correctly up until i decided i would rather my > signup form appear on my home page and i would display it as a partial. > Now that the form is in a partial i still receive the validation error > but it shows three times instead of just once. When the sign up form was > on its on page it only displayed once. Why would rails render the > partial I created to show errors three times just because i made the > sign up into a partial? > > Any help would be greatly appreciated. > > -- > Posted via http://www.ruby-forum.com/. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ae13e3cc-aea7-4093-87a1-40cc052d4d2d%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.

