I kept on simplifying the code to get to the root of the problem and it seems it won't work regardless of what I do.
in ability.rb can :manage, :all so it's supposed to allow the user to do ANYTHING right? wrong! if in users_controller.rb I tried working with nested resources, it ALWAYS gives me Access Denied error. users_controller.rb load_resource :company load_resource :user, :through => :company -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.

