Posted By: Sean Cribbs
Date: 2007-03-03 21:58
Summary: InPlaceControls plugin update
Project: InPlaceControls Plugin
Largely thanks to Sergey Kojin, four improvements have been added to InPlaceControls:
* You can now specify the target of the control with the :object option, assuming it's not an instance variable or if you're looping over a collection.
* in_place_edit_for will no longer bypass validations.
* Controls sent as an Ajax response should now work properly.
* The default in_place_edit_for is now overridden by the boolean version using alias_method_chain. Those using in_place_edit_for_boolean should not experience problems, but are encouraged to change to the standard call. |
|