in-place editor checks permission in a strange way
Reported by Tiago Franco | January 3rd, 2009 @ 02:07 AM
Suppose that a model with a field named :notes.
In order for the in-place editor to work, the update_permitted method shall be:
def update_permitted?
return none_changed? || only_changed?(:notes)
end
Without none_changed? the editor will never allow the edition of the field.
Probably this issue should be highlighted in the manual.
Comments and changes to this ticket
-
Tom Locke January 6th, 2009 @ 04:48 PM
- State changed from new to investigating
-
Tom Locke March 13th, 2009 @ 02:37 PM
- State changed from investigating to resolved
This got fixed somewhere along the line...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป