On Feb 13, 7:47 am, Frederick Cheung <[email protected]> wrote: > On Feb 12, 10:01 am, msaspence <[email protected]> wrote: > > > > > I'm using the Authlogic so have followed the instructions > > herehttp://rdoc.info/github/binarylogic/authlogic/master/Authlogic/TestCase > > Have you tried sticking some breakpoints in your code to see how > current_user and @thing.owner differ? >
sorry I'm still getting into rails and haven't got round to debugging yet but they have the same data but are different objects if I do puts user and puts user.id for each this is what i get #<User:0x00000102e73490> 1 #<User:0x00000104291698> 1 -- 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.

