Displaying 2 results from an estimated 2 matches for "city_select".
2007 Oct 05
1
Custom helpers for list of options?
...ngs_to :country, :city, :state
  belongs_to :profession, :category, :subcategory
end
 ===========  VS
# = Schema
# country    :string
# city       :string
# state      :string
# profession :string
# category   :string
# ......
class User < ActiveRecord::Base
end
class ApplicationHelper
  def city_select (...)
  end
  # ....
  # ....
end
-- 
-------------------------------------
Pedro Del Gallego
Email              :   pedro.delgallego-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google...
2007 Oct 07
2
2 comboboxes
Hello, I have a 2 comboboxes on my web-page. first contains list of
cities, and other contains list of companies. But i need to filter
second combobox by selected city in first combo.
What the best way to implement this.
I know this is not hard task but i don''t what to invent wheel.
Thanks
-- 
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~