Patched H::S::ScopeBuilder#exists_sql_condition to honor optional :conditions

0 views
Skip to first unread message

Gert Thiel

unread,
Feb 17, 2010, 7:30:18 AM2/17/10
to Hobo Dev
Hello.

I patched Hobo::Scopes::ScopeBuilder#exists_sql_condition to honor
optional :conditions that an assoiciation might have:

http://gist.github.com/306555

Regards,

Gert

Bryan Larsen

unread,
Feb 19, 2010, 12:13:14 PM2/19/10
to hob...@googlegroups.com
Hello Gert,

I've applied your patch and am running the tests to make sure it didn't
break anything we test. I haven't actually confirmed that your patch
works. It should be fairly trivial to modify
http://github.com/tablatom/hobo/blob/master/hobo/doctest/scopes.rdoctest
to test your enhancement. Would you mind doing so?

thanks,
Bryan

Reply all
Reply to author
Forward
0 new messages