>>
>> �The trouble is that it's not even getting to the .rjs. That has been my
>> problem all along.
>> When I click the 'cmment button I get
>>
>
> If all you've got is a .rjs file you don't need the respond_to block
> at alll
>
> Fred
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?
--
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 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