I was wondering how I can utilize JUST the permissions module? I tried
copying permissions.rb to /lib, requiring it in environment.rb, and
include-ing it in one of my models, but it seems it is tightly
integrated to other parts of Hobo, which I really don't need. Any
ideas?

>> Receipt.first.updateable_by?(User.first)
NoMethodError: undefined method `bool_attr_accessor' for #<Class:
0xb6d6ca20>
        from /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/
active_record/base.rb:1959:in `method_missing_without_paginate'
        from /usr/local/lib/ruby/gems/1.8/gems/mislav-will_paginate-2.3.11/
lib/will_paginate/finder.rb:170:in `method_missing'
        from ../config/../lib/hobo/permissions.rb:19:in `included'
...


--~--~---------~--~----~------------~-------~--~----~
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