1. 29 8月, 2013 2 次提交
  2. 28 8月, 2013 4 次提交
  3. 27 8月, 2013 5 次提交
  4. 26 8月, 2013 1 次提交
  5. 25 8月, 2013 2 次提交
  6. 24 8月, 2013 1 次提交
  7. 23 8月, 2013 1 次提交
    • W
      Making proper_table_name take in options. · 8c5d62f7
      wangjohn 提交于
      The options will specify the prefix and the suffix. Also, I'm moving the
      method to be an instance method on the +Migration+ instance. This makes more
      sense than being a class method on the +Migrator+ class because the only
      place that uses it is on a +Migration+ instance (in a method_missing
      hook). The logic for the Migrator shouldn't be doing any work to
      calculate the table name, it should be the Migration itself.
      
      Also made some small indentation fixes.
      8c5d62f7
  8. 22 8月, 2013 3 次提交
  9. 19 8月, 2013 1 次提交
    • X
      let AR::FinderMethods#exists? return singletons in all cases [closes #11592] · 565c367d
      Xavier Noria 提交于
      This fixes a regression. The documentation said in its introduction
      paragraph that the method returns truthy/falsy, but then below it
      was said that if there were no arguments you'd get `true` or `false`.
      Also when the argument is exactly `false` a singleton is documented
      to be returned.
      
      The method was not returning the singletons so it didn't conform to
      those special cases.
      
      The best solution here seems to be to just return singletons in all
      cases. This solution is backwards compatible. Also, the contract
      has been revised because it has no sense that the predicate varies
      that way depending on the input. I bet the previous contract was just
      an accident, not something mixed on purpose.
      
      Conflicts:
      	activerecord/lib/active_record/relation/finder_methods.rb
      	activerecord/test/cases/finder_test.rb
      565c367d
  10. 18 8月, 2013 1 次提交
  11. 17 8月, 2013 1 次提交
  12. 15 8月, 2013 2 次提交
  13. 12 8月, 2013 4 次提交
  14. 11 8月, 2013 1 次提交
  15. 10 8月, 2013 2 次提交
  16. 09 8月, 2013 1 次提交
  17. 08 8月, 2013 3 次提交
  18. 06 8月, 2013 4 次提交
  19. 05 8月, 2013 1 次提交