> Also, if for whatever reason the request was retryed (by a proxy
> perhaps) even a single user's actions could result in an unknown final
> toggle state.
>
> +1 for removal

Proxies don't retry non-idempotent requests.  If they did we'd have a
whole pile of other issues.

Base#toggle works just fine for its intended use case, toggling a
boolean value.   There are dozens of cases where this is perfectly
valid and the concurrency issues raised aren't the end of the world.
tadalist's todo lists for example.

Some patches to improve the documentation would be greatly
appreciated, but the feature's definitely not 'useless' :)

-- 
Cheers

Koz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to