On 3 June 2013 07:07, Damjan Rems <li...@ruby-forum.com> wrote: > This has everything to do with new European cookie law ;-( > > Is it possible to start some script (on every call), before rails > application is hit. Script would check for the presence of a cookie and > if it is there just pass control forward. If not it would popup window > about legal stuff and redirect to original address.
Out of interest is there a reason why this could not be done more simply using a before_filter? Colin -- 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+unsubscr...@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/CAL%3D0gLuwH_jrx5vHPnEpo4eUA1T%2BEgVhVdV-z2TU5YbtuRZqrw%40mail.gmail.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.