-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kevin Clark wrote:
> You could always make it a plugin. Easy to use in your later projects
> too that way. And if other people like it maybe it'll be right for
> inclusion at that time.
> 

I agree with Kevin. Make it a plugin, or submit a patch to me and I'll
make it apart of my plugin, ActiveRecord Extensions and I'll give you
credit for your addition.

http://blogs.mktec.com/zdennis/articles/2006/08/03/activerecord-optimizations-er-extensions-0-0-3

I am working on documentation and some additional features for 0.4.0. So
I will have a better page of documentation and my efforts up soon. I am
not posting this as a gem yet on rubyforge until it becomes a little
more mature in terms of Db support (right now it supports MySQL only)
and I want to providing official PostgreSQL support as well (SQL Server,
 Oracle, etc. can wait). If you're interested in this email me privately.

- --- enuf of my spiele ---

Also, I think :having makes logical sense to move it out of the :group
value. It separates different pieces of the query string into logical
blocks that people can think about and visually separate.

If someone is going to say, but i can already do that by appending
"HAVING ..." to my :group clause, and that is the reason they oppose
your suggestion, then maybe they should not use :select, :conditions or
:join either, and they should simply append things to their find_by_sql
statement.

I do think that :having should get rid of a person having to type
"HAVING", but my guess if that you already have it do that. ;)

Zach
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE3f3zMyx0fW1d8G0RAmUuAJsFjfG3GnovYKhg4Y8P/PBiwpXrVACfYJpQ
xzT0IfAu1ngq6FCh90Ikb1s=
=bHi1
-----END PGP SIGNATURE-----
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to