When you generate a default Rails app, it puts this in
application.html.erb:
%= csrf_meta_tags %
It does this so the remote forms can be submitted--i.e., so JavaScript can
submit a form. When jquery-rails is about to submit a form, it looks for
the meta tags named csrf-param and
I'm a big fan of New Relic. One of the services they provide is alerts
when your traffic goes up unexpectedly above a predetermined level.
Does anyone have a favorite, inexpensive traffic alert tool that can
be used on a small site--a site that's not yet big enough for monthly
payments of $150
Hi gang,
I had the same problem. I've just figured out the fix. Use:
redirect_to :action = :symbol
instead of
redirect_to :action = 'string'
Then the flash message is shown.
Too bad you have to remember that distinction, though. That shouldn't
be necessary.
--
Posted via
3 matches
Mail list logo