|
Peter Marklund's Home |
Rails Discussion: ActiveRecord vs SQL
Here is my Rails quote of the day, form a Rails mailinglist:
"When I was at the first RailsConf I was talking to someone about having used SQL for 15 years and that I was struggling with AR. At that moment someone grabbed me by the arm. I turned to look into the familiar face of Martin Fowler! He said to me, "If you know SQL that well you should just use SQL.""





Nick Coyne said 9 months ago:
Interesting.
In the beginning I never did understand why the Rails people wanted to avoid SQL.
I often find that I have the SQL query in my head and I'm trying to figure out the AR way of doing it neatly. Then I need to check the log to make sure that AR hasn't made some crazy inefficient query.