Joseph Palermo
Agile Engineer · Not a member
Joseph Palermo's latest activity
Sunday, April 11 2010
-
Joseph Palermo commented at 3:03 AMYes, the fact there there is a good very of the gem mostly resolves this issue.
Using gems to install binary bindings is still not a good idea because even thou...
Thursday, July 30 2009
with_chained_scopes.diff(4 kb)
-
-
Joseph Palermo commented at 8:11 AMHere is the patch for the new functionality. Since named scopes have either taken a Proc OR a options hash, there is now the ability to pass the Proc as a :proc...
Wednesday, July 29 2009
-
Joseph Palermo commented at 7:59 AMNamed scopes can be composable. Conditions and Joins are all merged together. Selects, Order, and Limit are not things that are usually used with named scopes, ...
Tuesday, July 28 2009
-
-
Joseph Palermo commented at 8:51 PMHere is a test that shows the original functionality, before the patch.
I could get behind a :with_chained_scopes option to named_scope.
-
Joseph Palermo commented at 11:13 AMTo me, named_scopes should be composable. If I can't rely on the internals of a named_scope to create the same conditions every time I pass it the same paramete...
Monday, July 27 2009
-
- Assigned user set to Pratik
This leads to named_scopes that are order dependent, and queries inside of lambdas do not behave as you would expect.
Given a User class with a 'friends' associ...