Displaying 1 result from an estimated 1 matches for "ogfcfs".
Did you mean:
ofcfs
2008 Nov 18
0
Scoping option_groups_from_collection_for_select
...this:
option_groups_from_collection_for_select
(@continents, :countries, :name, :id, :name, 3)
But say I had another class called Ally:
class Alliance < ActiveRecord::Base
has_many :countries #reciprocal belongs_to added to country
#attribs: id, name
end
How could I scope the OGFCFS call so that it only listed countries
belonging to a particular alliance?
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk-/JYP...