#3 ✓resolved
Al Chou

correct TaskAssignment permissions never shown in Agility tutorial

Reported by Al Chou | July 21st, 2009 @ 02:42 PM

In section 5.iv "Associations", the permissions that need to be given in the TaskAssignment model are never shown (nor are they shown later, though the source code of the gitorial does contain them). Following along I find that task assignments cannot be created via the UI of Agility if TaskAssignment's permissions are left at their default values the way the tutorial implicitly does. Also, trying to figure out what the permissions should be was not that easy, as the jump from plain model to association table and the permissions thereby implied was also not covered in the text.

Comments and changes to this ticket

  • john (at john-conti)

    john (at john-conti) July 29th, 2009 @ 04:16 AM

    I am having the same problem. I jumped to the end and tried to make the final code work in task_assignment.rb.

    I also tried gitorial-023. It looks to me like it has the default permissions code in task_assignment.rb.

    Which code are you referring to correct the permissions issues in task_assignment.rb and maybe other files (seems like task.rb would need a similar treatment)?

  • Bryan Larsen

    Bryan Larsen August 21st, 2009 @ 09:35 PM

    • State changed from “new” to “resolved”

    thanks. The code you're looking for was in 12.4.

    I've moved it to 11, and put a pointer from 5.4 to 11.

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 ยป

See http://cookbook.hobocentral.net

Shared Ticket Bins

Pages