slindsey3000
2010-Jun-21 23:18 UTC
redirect_to ... re-directing to the action you are currently in.
I am banging my head against a wall here. I am in index in index I check if it was the first time index has been called for the app. if so I make some changes to the db and redirect_to right back to index. But... all heck seems to break loose. It seems when I redirect_to it just kinda continues from the point of the redirect_to call. It does not seem as though the action has been called fresh and the code run from the beginning of the action. Any know of any issues I may be overlooking when in index .... and then call redirect_to :action => :index Thanks! Shawn -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.