search for: membership_level

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

2006 Jul 15
3
How bad is it to have 7 joins in my find_by_sql?
...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 origins ON activities.origin_id = origins.id LEFT OUTER JOIN airports AS destination...
2010 Feb 26
2
Routing Error using Paperclip
...error? Routing Error user_url failed to generate from {:action=>"show", :controller=>"users", :id=>#<User id: nil, name: "Rajinder", surname: "Yadav", email: "test-zuv13RyHHZkAvxtiuMwx3w@public.gmane.org", password: "hello", membership_level: 0, location: nil, timezone: nil, bday: nil, last_visit: nil, visits: nil, created_at: nil, updated_at: nil, photo_file_name: "devmentor.jpg", photo_content_type: "image/jpeg", photo_file_size: 34846>}, expected: {:action=>"show", :controller=>"users&...