Re: [Rails] Is it possible to run some script before controller is hit
I'd do this in the client site - with javascript.
--
Dheeraj Kumar
On Monday 3 June 2013 at 11:37 AM, Damjan Rems wrote:
This has everything to do with new European cookie law ;-(Is it possible to start some script (on every call), before railsapplication is hit. Script would check for the presence of a cookie andif it is there just pass control forward. If not it would popup windowabout legal stuff and redirect to original address.I am using Rails 3.2 with Passenger and Nginx.byTheR--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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.To post to this group, send email to rubyonrails-talk@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c1ed15ee2a9b31fbce714556275f17e9%40ruby-forum.com?hl=en-US.For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/FBC07D08F3474C86A2FA7318030C5676%40gmail.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home