Displaying 1 result from an estimated 1 matches for "plurul".
Did you mean:
plural
2006 Aug 10
6
passing hash from controller to view and pluralization?
...ed to do is say @counties = Counties.find(:all).
should that not return to me all counties in the counties table WITH all
towns associated with each county?
in my view i was getting error when doing this
if(counties.has_towns?)
saying undefined has_towns methods...
another question about plurulization. if i were to say @county vs
@counties, is there a difference? would RoR assume i just want
information for 1 county? or does RoR treat it like the same variable?
--
Posted via http://www.ruby-forum.com/.