1. 10 3月, 2013 1 次提交
  2. 18 1月, 2013 2 次提交
  3. 08 10月, 2012 1 次提交
    • A
      Rename "Fixtures" class to "FixtureSet" · a94220b6
      Alexey Muranov 提交于
      Rename `ActiveRecord::Fixtures` class to `ActiveRecord::FixtureSet`.  Instances of this class normally hold a collection of fixtures (records) loaded either from a single YAML file, or from a file and a folder with the same name.  This change make the class name singular and makes the class easier to distinguish from the modules like `ActiveRecord::TestFixtures`, which operates on multiple fixture sets, or `DelegatingFixtures`, `::Fixtures`, etc., and from the class `ActiveRecord::Fixture`, which corresponds to a single fixture.
      a94220b6
  4. 27 4月, 2012 1 次提交
  5. 23 3月, 2012 1 次提交
  6. 12 2月, 2012 1 次提交
  7. 11 2月, 2012 1 次提交
  8. 26 1月, 2012 1 次提交
  9. 04 1月, 2012 2 次提交
  10. 30 12月, 2011 2 次提交
  11. 27 12月, 2011 1 次提交
  12. 25 12月, 2011 1 次提交
  13. 23 12月, 2011 1 次提交
  14. 22 12月, 2011 1 次提交
    • A
      Fix a fixtures test case with table prefix/suffix · adb917a0
      Alexey Muranov 提交于
      Make sure the table name of a model is reset in a test case after assigning ActiveRecord::Base.table_name_prefix and ActiveRecord::Base.table_name_suffix.  This was somebody else's test case, so an independent opinion on the change can be helpful.
      adb917a0
  15. 11 12月, 2011 1 次提交
  16. 10 10月, 2011 1 次提交
  17. 06 10月, 2011 1 次提交
  18. 02 9月, 2011 1 次提交
  19. 14 8月, 2011 1 次提交
    • J
      Quote these dates to prevent intermittent test failure. Suppose local time is... · 66e114cd
      Jon Leighton 提交于
      Quote these dates to prevent intermittent test failure. Suppose local time is 00:50 GMT+1. Without the quoting, the YAML parser would parse this as 00:50 UTC, into the local time of 01:50 GMT+1. Then, it would get written into the database in local time as 01:50. When it came back out the UTC date from the database and the UTC date of two weeks ago would be compared. The former would be 23:50, and the latter would be 00:50, so the two dates would differ, causing the assertion to fail. Quoting it prevents the YAML parser from getting involved.
      66e114cd
  20. 04 8月, 2011 1 次提交
    • J
      Quote these dates to prevent intermittent test failure. Suppose local time is... · f000d4e5
      Jon Leighton 提交于
      Quote these dates to prevent intermittent test failure. Suppose local time is 00:50 GMT+1. Without the quoting, the YAML parser would parse this as 00:50 UTC, into the local time of 01:50 GMT+1. Then, it would get written into the database in local time as 01:50. When it came back out the UTC date from the database and the UTC date of two weeks ago would be compared. The former would be 23:50, and the latter would be 00:50, so the two dates would differ, causing the assertion to fail. Quoting it prevents the YAML parser from getting involved.
      f000d4e5
  21. 08 7月, 2011 1 次提交
  22. 07 6月, 2011 1 次提交
  23. 05 6月, 2011 2 次提交
  24. 24 5月, 2011 1 次提交
  25. 11 5月, 2011 1 次提交
  26. 08 5月, 2011 1 次提交
  27. 30 4月, 2011 1 次提交
  28. 16 2月, 2011 2 次提交
  29. 15 2月, 2011 2 次提交
  30. 12 2月, 2011 2 次提交
  31. 30 12月, 2010 1 次提交
  32. 17 11月, 2010 1 次提交
  33. 14 8月, 2010 1 次提交