> Section ‘Part 6 – Project Ownership’: > When you get down to restricting owner for creation permissions. In > ‘def create_permitted?’, “owner == acting_user” should be replaced > with “owner_is? acting_user”. Otherwise, no one will be able to create > Projects because no one owns a project that hasn’t been created yet.
This was a bug which is fixed now. Hobo does in fact set up the owner on a project that's about to be created. You can use owner == acting_user, although the owner_is? version may save a DB hit. > Section ‘Part 7 – Granting read access to others’: > Right before ‘The view layer’ the tutorial should tell the user to run > migration. I understand that it’s not hard to see that you need to > migrate before you can view anything, but this is a tutorial and step- > by-step instructions are nice. Agreed - I've added that. > Section ‘The view layer’: > There is a slight problem with <aside>. I've changed this section to use the new view-hints feature, so the problem has been resolved. > Section ‘A form with auto-completion’: > First change “hobo_completions :username, User.without_joined…” to > “hobo_completions :name, User.without_joined…”. OK - that's fixed in the tutorial now. > However, once a user is > selected an error pops-up. To fix this, go to ‘project_membership.rb’ > and add ‘:accessible => true’ to both ‘belongs to’ variables. That > should fix Auto-Complete. Also a bug - those :accessible => true should not be required. Fixed in the latest code. Thanks for reporting those. Tom --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
