I would say that with Arel, rails is on the right track to get rid of the SQL statements. But there is still some work which needs to be done. Stuff like Model.where(:name => ‘My stuff’) is already working really smoothly. What I would love to see is an easier access to Arel’s operators such as eq and not_eq. It would be great if the where method would accept a block which provides access to the arel table. where{|t| t[:name].not_equal(‘my stuff’)}.

I guess I will look into this soon. But right now I have to finish the rails3 upgrade first :(

  1. namxam posted this