On 13 Jan 2011, at 05:46, Niklas Nson <niklasn...@meantime.se> wrote:

> 
> The problem:
> 
> When the form validates it all works, but if create goes to a error
> what to write there ? I need to render the same page (views/casting/
> show.html.erb) again to show the error to the user.
> 
Call the render method (there are loads of ways you can call it. I'd expect 
this approach to be covered by almost any "write a something app in 5 minutes" 
type tutorial

Fred

> Please advice me, i have been looking at this for hours.
> 
> /Niklas.
> 
> -- 
> 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@googlegroups.com.
> To unsubscribe from this group, send email to 
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=en.
> 

-- 
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@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to