[Rails-core] re-inventing components

2007-05-18 Thread ara.t.howard
I would love feedback from the community before releasing into the wild: http://drawohara.tumblr.com/post/2070878 Kind regards. -a -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama --~--~-~--~~

[Rails-core] Re: Finder SQL to string

2007-05-18 Thread S. Robert James
I use sanitize_sql all the time. But that's not what I meant. Let me illustrate: Product.get_sql_of {Product.find(:conditions => 'cost < 3')} # => 'SELECT * FROM products WHERE cost < 3' It's easy for that case, but for complicated finders, and especially custom finder methods (eg Product.find

[Rails-core] Re: Request for comments: prepared statements in ActiveRecord

2007-05-18 Thread Hongli Lai
On May 17, 9:55 pm, Luca Mearelli <[EMAIL PROTECTED]> wrote: > aahh I won't be at the conf... any way to meet in a virtual space? > perhaps the #railsconf irc channel? Yes, I'd be delighted to. :) I hope we can solve this together. --~--~-~--~~~---~--~~ You recei

[Rails-core] Re: Request for comments: prepared statements in ActiveRecord

2007-05-18 Thread Hongli Lai
On May 18, 12:58 am, "Mislav Marohnić" <[EMAIL PROTECTED]> wrote: > It would be good to know what is this treshold. For some reason I'm unable to reproduce that problem now. Perhaps I was mistaken. > It is possible that there is a performance boost on raw queries, but that > it's not visible be

[Rails-core] Re: Finder SQL to string

2007-05-18 Thread Hongli Lai
On May 18, 10:04 pm, "S. Robert James" <[EMAIL PROTECTED]> wrote: > A lot of plugins would be easier if there was a way, instead of > executing a find, to get the SQL it would use as a String (or perhaps > an array of a string and bind variables). > > This would make it easier to do a lot of power

[Rails-core] Finder SQL to string

2007-05-18 Thread S. Robert James
A lot of plugins would be easier if there was a way, instead of executing a find, to get the SQL it would use as a String (or perhaps an array of a string and bind variables). This would make it easier to do a lot of powerful queries at the database, while still taking advantage of Rails' to mana

[Rails-core] Rails AR/SQLServer Unit Test: [6766] failed (but getting better)

2007-05-18 Thread Rich Cox
"bitsweat" has given AR/SQLServer some love, but it's still unhappy... http://dev.rubyonrails.org/changeset/6766 r6766 | bitsweat | 2007-05-18 00:24:03 -0700 (Fri, 18 May 2007) | 1 line Pay tribute to timezones. Tune #inspe

[Rails-core] Rails AR/Oracle Unit Test: [6766] passed (fixed)

2007-05-18 Thread Michael Schoen
"bitsweat" made AR/Oracle happy again, thank you! http://dev.rubyonrails.org/changeset/6766 r6766 | bitsweat | 2007-05-18 00:24:03 -0700 (Fri, 18 May 2007) | 1 line Pay tribute to timezones. Tune #inspect style. ---

[Rails-core] [CruiseControl] RubyOnRails build 6766 fixed

2007-05-18 Thread cruisecontrol . rb
The build has been fixed. See http://cruisecontrolrb.thoughtworks.com/builds/RubyOnRails/6766 for details. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send emai