Displaying 3 results from an estimated 3 matches for "origin_id".
2007 May 21
4
Spec''ing redirect with arbitrary parameters
I''ve got the following expectation:
response.should redirect_to(:action => "new", :video_id => "1",
:process_id => "2", :origin_id => "3")
that fails with this error message:
expected redirect to {:video_id=>"1", :process_id=>"2",
:origin_id=>"3", :action=>"new"}, got redirect to
"http://test.host/videos/1/screenshot_selections/new?process_id=2&origin_...
2010 Feb 08
5
Why are double sided polymorphic relationships lacking in Rails?
http://stackoverflow.com/questions/2224994/why-are-double-sided-polymorphic-relationships-lacking-in-rails
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2006 Jul 15
3
How bad is it to have 7 joins in my find_by_sql?
...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 destinations ON activities.destination_id = destinations.id
LEFT OUTER JOIN
airlines ON activities.airline_id = airlines.id LEFT OUTER JOIN
programs ON
accounts.program_id = programs.id LEFT OUTER JOIN
membership_levels ON
acc...