On 3/18/06, Corey Donohoe <[EMAIL PROTECTED]> wrote: > This sounds great from the oracle side, can test for ya whenever.
I did it last night. Let me know how it works! I added column alias limits to the database adapters I knew about, and also reworked the way they're generated. I put the table name (or STI name) in front. If it's a dupe, I add the reflection name it came from, and then index numbers (_2, _3, etc). Join tables get a _join suffix instead of a prefix. The reasoning behind this is I didn't want an aliased table name like foo_bar_baz_posts to shorten to foo_bar_ba. Instead I'd rather have posts_foo_bar_baz shorten to posts_foo_b. -- Rick Olson http://techno-weenie.net _______________________________________________ Rails-core mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-core
