On 16 Feb 2009, at 17:09, bingo bob wrote:

>
> OK, kind of got you...appreciate i need the instance with the errors  
> in
> it, how do i achieve that?
>
> so not this...
>
>>> <% form_for [...@school, Review.new] do |f| %>
>
> But this doesn't work for me..
>
>>> <% form_for [...@school, @review.new] do |f| %>

if @review is the object with your errors you don't need to call new -  
just @review will do

Fred
>>>
>
>
> -- 
> 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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to