[Rails] Re: rails find :conditions seems to remove extra blanks? (e.g. where description = 'x x x x x') is this a rails bug?

2009-02-28 Thread Matt Jones
On Feb 27, 6:50 pm, Greg Hauptmann greg.hauptmann.r...@gmail.com wrote: 2009/2/28 Matt Jones al2o...@gmail.com Google's formatting engine chews up spaces pretty bad, but are you *sure* you've got the same number in that second query? It should be as I used the save copy/paste of the

[Rails] Re: rails find :conditions seems to remove extra blanks? (e.g. where description = 'x x x x x') is this a rails bug?

2009-02-27 Thread Matt Jones
The log entries get passed through .squeeze(' '), I'm guessing to make them look nicer on the log. (activerecord/lib/active_record/connection_adapters/ abstract_adapter.rb, line 189) Otherwise, I can't see anywhere in the code that's dropping the spaces. Google's formatting engine chews up