1. 30 9月, 2013 3 次提交
  2. 29 9月, 2013 2 次提交
  3. 28 9月, 2013 2 次提交
    • P
      Removed where_values_hash from AR::NullRelation · 8fb0de2c
      Paul Nikitochkin 提交于
      In order to build associated records for owners which has not been saved
      need to get where values to use as default attributes.
      But for new record owner uses `ActiveRecord::NullRelation` which
      override `where_values_hash` to return empty hash stub.
      
      `where_values_hash` is not used to invoke any sql query, but good to
      build others chains (even will be never executed) like:
      
      ```ruby
        post          = Post.new
        admin_comment = post.admin_comments.build
      
        assert_equal 'Admin', admin_comment.author
      ```
      
      Closes #11376, #11676, #11675
      8fb0de2c
    • M
      Fixed issue #12327 · 747ccb0f
      Marc Lennox 提交于
      747ccb0f
  4. 26 9月, 2013 7 次提交
  5. 25 9月, 2013 7 次提交
  6. 24 9月, 2013 10 次提交
  7. 23 9月, 2013 1 次提交
  8. 22 9月, 2013 1 次提交
  9. 21 9月, 2013 7 次提交