On 19/04/2012, at 11:15 AM, Craig Read wrote:

> I like the sound of what it does, and think it adds some nice improvements to 
> sytax.
> I'd probably consider using it for some of the more complex joins I'm doing.

I'd love to use it. But want to hear something from others.
Even the Arel queries are sometimes so counter intuitive and hard to 
write/read. Freaking .NET has better query language :-(


> But the fact that it breaks default functionality (and the developers 
> response) scares me.
What do you mean by "developers response"?

It doesn't break too much. Intrudes a bit, but not too heavily.
For me the issues was that I had to convert symbols to strings within the app 
(where :status => 'active').

This is what the author replied in a tweet:
https://twitter.com/erniemiller/status/192082433540231168
"FWIW, it's much less intrusive than MetaWhere was, and it saw tons of use."


> You might be able to mitigate that breakage in your own code, but it'd be a 
> world of hurt if you ever use a Gem (either directly or indirectly) that 
> relies on it.

In that case it would be an issue with Squeel. In which case I suppos it would 
have been fixed.
But it shouldn't break anything heavily according to Ernie (the author).

But this is probably my biggest concern indeed.


> 
> On Tue, Apr 17, 2012 at 9:58 AM, Dmytrii Nagirniak <[email protected]> wrote:
> Hi all,
> 
> I wonder if anybody is using Squeel (https://github.com/ernie/squeel) in 
> production?
> 
> I tried it once and there were some minor issues that changed how the AR 
> actually works (for example this: https://github.com/ernie/squeel/issues/75).
> 
> Probably top things I like about squeel:
> - sifters - much easier to reuse the "scopes" among different models;
> - Ruby-like queries, Hash conditions and even Arel sometimes look too 
> complicated;
> 
> Any thoughts?
> 
> Cheers,
> Dmytrii
> http://ApproachE.com
> 
> 
> 
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby or Rails Oceania" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rails-oceania?hl=en.
> 
> 
> 
> -- 
> Craig Read
> 
> @Catharz
> https://github.com/Catharz
> http://stackoverflow.com/users/158893/catharz
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby or Rails Oceania" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rails-oceania?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to