Access the stack trace

Mike Dershowitz
Sat, 03 Nov 2007 15:28:06 -0000

Hi:

Don''t know if this the right title for what I''m looking for,
but
basically I want to be able to figure out what controller and actions
are being fired.

Let me describe specifically what I''m looking for:

I have a partial that''s implemented on two pages.  This partial has
actions in it.  If the user executes an action in this partial, I want
the action to complete and then for them to be redirected to the page
the partial''s in, which would basically be a reload.  I found
"params[:controller]" & "params[:action]" but I really
want not the
current controller and action but the previous one, or even better, the
page that the partial''s in.  How do I do this?

Thanks so much in advance!

Mike
--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---