#357 ✓resolved
Tiago Franco

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

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages