tyler-x6HOQYo3xDg4mGHdZ9yRmg@public.gmane.org
2009-Apr-03 06:27 UTC
Alpha sorting on both options and groups for option_groups_from_collection_for_select
# How would you best perform a secondary sort on :buildings below? = ''Building Name'' = select_tag ''building_id'', | option_groups_from_collection_for_select(Site.all(:order => :full_name), | :buildings, :full_name, :id, :full_name, nil) | -- Thanks, Tyler Arrigoni President OneInterface.net Network Engineering, Inc. 7475 North Palm, Suite 105, Fresno, CA 93711 Voice: 559-437-3750 ext. 110 Cell: 559-696-0400 Fax1: 866-691-5145 (confidential) Fax2: 559-437-3754 (non-confidential) Email: tyler-x6HOQYo3xDg4mGHdZ9yRmg@public.gmane.org GnuPG: http://www.oneinterface.net/crypt/tyler.asc --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Maybe Matching Threads
- option_groups_from_collection_for_select
- Scoping option_groups_from_collection_for_select
- option_groups_from_collection_for_select with a ActiveRecord::Base single object
- [PATCH] option_groups_from_collection_for_select should produce an HTML-safe string
- TDM400 one way calls