Hi Manasi, This worked. Thank you!
Another thing I found I had to do was rename BookmarksTag.rb to bookmarks_tag.rb. As a Java programmer who is just starting in ruby I am still coming to grips with the ruby naming conventions. Your help was much appreciated. Thank you again! Andrew. Manasi V1 wrote: > Hi Andrew, > > could you please try this - > class Bookmark > has_many :bookmarks_tags > has_many :tags, :through => :bookmarks_tags > . > > class BookmarksTag > belongs_to :tag > belongs_to :bookmark > .. > > Then @bookmark.tags should work. > > Thanks -- 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 -~----------~----~----~----~------~----~------~--~---

