So from the view where you called this def you might have used
link_to_remote or some thing like that..isn't it? So add
:update = contentBody to that
Now in action just write
render :action = 'new'
Sijo
--
Posted via http://www.ruby-forum.com/.
Yep, I just figured out that :update was missing right after I posted
that, thanks :)
--
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
2 matches
Mail list logo