Yes, I figured out what you meant in your original mail.  Even when I
used has_many I wasn't able to get anything useful from user.roles.

By debugger I mean the ruby-debug gem, though I've also used the
console for a lot of this too.

On May 21, 2:20 pm, Manasi Vora <[email protected]>
wrote:
> Hi Brian..
> Glad that you could figure out the solution !! .. In my earlier reply
> what I meant was that for defining has_many :through, you need to
> declare -
> has_many :memberships
> has_many :roles, :through => memberships
>
> Please note that has_many :Pluralised model needs to be established.
> Then you may define has_many through or has_one through..
>
> Also when you say debugger, are you referring to ruby console ? I work a
> lot on the console and have never come across any caching issue. Try it
> if you would like -
> ruby script/console
>
> Cheers,
> Manasi
> --
> Posted viahttp://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to