dsboulder@gmail.com
2008-Sep-19 22:22 UTC
Review: multiple named_scopes with duplicate :joins fixed
Hey guys, We''ve been chaining lots of named-scopes for advanced searching, and we''re getting killed by the table aliasing issues. Often, multiple named scopes have to join in the same model (User needs Profile a lot, for example). When you combine them... aliasing issues! Can we get some help reviewing this patch, it''s our first submission to core: http://rails.lighthouseapp.com/projects/8994/tickets/1077-chaining-scopes-with-duplicate-joins-causes-alias-problem Thanks! -David Stevenson & Joseph Palermo PivotalLabs --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---