On Sun, Oct 2, 2011 at 10:40, Matt Jones <[email protected]> wrote: > I'd start by suggesting that you forget that > ActiveRecord::Base.connection EXISTS. Executing raw SQL against the DB > is certainly a powerful tool, but in this case it's like using a > bazooka to swat flies.
Not only in the unnecessary power, but in the fact that it's dangerous on both ends! Someone once sigquoted Jethro Tull's "Thick as a Brick": "The poet and the wise man stand behind the gun". I replied: "but only the poet stands behind the bazooka!" ;-) -Dave -- LOOKING FOR WORK, preferably Ruby on Rails, in NoVa/DC; see main web site. Main Web Site: davearonson.com Programming Blog: codosaur.us Excellence Blog: dare2xl.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

