On Thu, Oct 27, 2011 at 1:32 PM, Max <[email protected]> wrote: > I have an index page in my site and each item displayed from the model > has a link (that looks like a button)... I want that link to simply > clear a field (or set it to some value) in the underlying model for > that entry...
Uh, realizing that every time a spider comes along to index your site, every one of those links will be activated? (unless the page in question is password protected) > The page does not have a form on it and i'd like to avoid that if possible.... Google 'http idempotent request' to understand why you should use a POST rather than GET for actions that change data. HTH, -- Hassan Schroeder ------------------------ [email protected] http://about.me/hassanschroeder twitter: @hassan -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

