What exactly is Arel in Rails 3.0?
问题 I understand that it is a replacement for ActiveRecord and that it uses objects instead of queries. But... why is this better? will objects/queries be "easier" to create? will it lead to more efficient SQL queries? will it be compatible with all major DBs? - I assume it will. will it be easier/harder to use with stored procedures? 回答1: What exactly is Arel in Rails 3.0? It's an object model for an algebra of relational query operators. I understand that it is a replacement for ActiveRecord No