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

On Jan 19, 2006, at 9:30 AM, Michael Schoen wrote:
construct_sql is executed in the initialize method of the association
and it handles the substitution of the sql.

Ah, thanks. So the bug is that it doesn't do the right thing if the finder_sql has newlines (the regex needs to be modified). I'll submit a patch.

Nice catch.

jeremy

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)

iD8DBQFDz/bVAQHALep9HFYRAvjVAJ4ldM8k7scs38737DrKkKtdEejOsACcC8uY
g6V+LO2Q/8/+j7B1cMDmYrU=
=7unY
-----END PGP SIGNATURE-----
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to