Ok... I must have been using old cancan code. Back when I was still on Rails 2.3.8.
The new doc says: can :manage, Painting, :artist_id => user.artist.id Which now seems to work without any errors On Oct 12, 10:55 pm, Christian Fazzini <christian.fazz...@gmail.com> wrote: > does cancan expect me to have a user method in my user model or > something? > > On Oct 12, 10:44 pm, Christian Fazzini <christian.fazz...@gmail.com> > wrote: > > > undefined method `user' for :index:Symbol > > > On Oct 12, 10:00 pm, radhames brito <rbri...@gmail.com> wrote: > > > > What is the last error you got? > > -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.