On Fri, Feb 3, 2012 at 00:52, Soichi Ishida <li...@ruby-forum.com> wrote:

>  How can I stay in that page even after clicking the save button for a
> new script?

In your controller, you have control over what page gets rendered.
When you create a new script, attached to a video, you can simply have
the successful creation redirect to showing the video, or render that
view explicitly.

-Dave

-- 
Dave Aronson:  Available Cleared Ruby on Rails Freelancer
(NoVa/DC/Remote) -- see www.DaveAronson.com, and blogs at
www.Codosaur.us, www.Dare2XL.com, www.RecruitingRants.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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to