The new Agility tutorial is at http://cookbook.hobocentral.net/tutorials/agility

On Dec 21, 11:44 pm, Wolfram <[email protected]> wrote:
> Hi,
>
> It looks like that the section in the Agility tutorial on Permisions
> for data integrity is incorrect.  It talks about adding a method
>
> updatable_by?(user, new)
>
> to the story.rb model class.  However, in browsing the source code of
> the Agility project, from github, it looks like that this hook is no
> longer used.  The current hook is:
>
> def update_permitted?
>   acting_user.signed_up? && !project_changed?
> end
>
> This should be updated.  Maybe I'll get to it myself by forking the
> tutorial.
>
> Thanks,
>
> Wolf
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to