Ruby on Rails
Tuesday, June 5, 2012
Hi,
It is possible to have as many renders/redirects in your code as long as only one of them executes.
If more than one is executed you will end up wit a double render error.
Best Regards!
-- 2012/6/5 Oscar Del Ben <oscar.delben@wildfireapp.com>
it isn't,but you can render twice with a conditional.if foorender..elserender..endOn Tuesday, June 5, 2012 at 7:22 AM, kingston.s wrote:
Hi all,Is double render or redirect possible in rails..?Please tell me if possible....Thanks--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.--
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.
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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment