On 23 Feb 2009, at 16:43, Shilo Ayalon wrote: > > Gives the error: > ActiveRecord::ConfigurationError: Association named 'country' was not > found; perhaps you misspelled it? > > Anyone had any luck with such a thing? And what if country was > linked to > another model I'd like to view through city (say, planet) - is there > some generic solution to access several levels through the calling > models?
Try the 3rd google hit for rails nested joins Fred > > > I'm not going to go 20 levels down, but 2-3 sounds fair :) > -- > 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 -~----------~----~----~----~------~----~------~--~---

