Category Archives: Rails
This works at least on Rails r8440. Just stick the code somewhere it gets loaded – I put it in vendor/plugins/graceful_link_to/init.rb # graceful_link_to # Jason Ling # http://jason.lah.cc # # This hacks link_to to produce an alternative button_to that shows … Continue reading
Obviously, since caching forms = caching the auth token as well. Not only forms though, anything that results in a non-get request – AJAX links, delete/post/put links, etc etc.