1. 20 11月, 2013 1 次提交
    • Y
      use arel nodes to represent non-string `order_values`. · f83c9b10
      Yves Senn 提交于
      This fixes a bug when merging relations of different classes.
      
      ```
      Given:
        Post.joins(:author).merge(Author.order(name: :desc)).to_sql
      
      Before:
       SELECT "posts".* FROM "posts"
         INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
         ORDER BY "posts"."name" DESC
      
      After:
       SELECT "posts".* FROM "posts"
         INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"
         ORDER BY "authors"."name" DESC
      ```
      f83c9b10
  2. 19 11月, 2013 10 次提交
  3. 18 11月, 2013 8 次提交
  4. 17 11月, 2013 15 次提交
  5. 16 11月, 2013 6 次提交