[Rails-core] Quoting table and column names inside AR

Michael Koziarski michael at koziarski.com
Sat Feb 11 02:34:13 GMT 2006


> While you're giving thought to that, what are your thoughts on renaming the
> quote method inside of AR:B? Quite a few tickets come through for that as
> well.

Unfortunately we have a lot of people calling the quote method from
plugins, custom code etc.  We can't rename it without breaking
backwards compatibility, which means we can't do it until 2.0.

One option would be to mark it as deprecated in the docs and create a
method with the new name.


--
Cheers

Koz


More information about the Rails-core mailing list