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 <[email protected]> wrote: > does cancan expect me to have a user method in my user model or > something? > > On Oct 12, 10:44 pm, Christian Fazzini <[email protected]> > wrote: > > > undefined method `user' for :index:Symbol > > > On Oct 12, 10:00 pm, radhames brito <[email protected]> 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 [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.

