The problem is that you cant render another controllers action the
traditional way. In the comments controller you have to render :template
= 'posts/show' when a comment fails validation.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the
Thank you. :)
--
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-t...@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...@googlegroups.com.
For more
2 matches
Mail list logo