Ruby on Rails Monday, August 2, 2010

On Aug 2, 11:25 am, Neil Bye <li...@ruby-forum.com> wrote:
>
> I do need the .rjs to do  the page.html_replace I,ve benn tring to do
> all along.
> I just can't get to create.rjs   Here it is
>
> page.replace_html  'aremark', partial => 'comment'
> page.redirect_to story_path(@story), :controller => 'stories'
> page.visual_effect :highlight, 'list', :duration => 3
>
> Its in app/views/story that's right isn't it?

Your log files say this is happening in your comments controller so it
should be in app/views/comments.

Fred

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

No comments:

Post a Comment