search for: airline_name

Displaying 2 results from an estimated 2 matches for "airline_name".

2007 Nov 08
3
options_from_collection_for_select
I need to add a blank or dashed field to the options_from_collection_for_select helper but can''t seem to get it to work. Tried this, but with no effect: <%= options_from_collection_for_select @airlines, ''id'', ''name''], {:include_blank=>true} %> Anyone know how to do this? Thanks, -S -- Posted via http://www.ruby-forum.com/.
2006 Jul 15
3
How bad is it to have 7 joins in my find_by_sql?
...sers.real_name AS real_name, accounts.last_scraped_at AS last_scraped_at, accounts.total_miles as account_miles, origins.name AS origin_name, origins.code AS origin_code, destinations.name AS destination_name, destinations.code AS destination_code, airlines.name AS airline_name, airlines.code AS airline_code, programs.name AS program_name, membership_levels.name AS membership_level FROM activities LEFT OUTER JOIN accounts ON activities.account_id = accounts.id LEFT OUTER JOIN users on accounts.user_id = users.id LEFT OUTER JOIN airports AS orig...