1. 31 12月, 2011 1 次提交
  2. 30 11月, 2011 1 次提交
    • A
      Automatic closure of connections in threads is deprecated. For example · 0e2477b6
      Aaron Patterson 提交于
      the following code is deprecated:
      
      Thread.new { Post.find(1) }.join
      
      It should be changed to close the database connection at the end of
      the thread:
      
      Thread.new {
        Post.find(1)
        Post.connection.close
      }.join
      
      Only people who spawn threads in their application code need to worry
      about this change.
      0e2477b6
  3. 20 11月, 2011 1 次提交
  4. 09 8月, 2011 1 次提交
    • J
      Make it the responsibility of the connection to hold onto an ARel visitor for... · 7db90aa7
      Jon Leighton 提交于
      Make it the responsibility of the connection to hold onto an ARel visitor for generating SQL. This improves the code architecture generally, and solves some problems with marshalling. Adapter authors please take note: you now need to define an Adapter.visitor_for method, but it degrades gracefully with a deprecation warning for now.
      7db90aa7
  5. 07 6月, 2011 1 次提交
  6. 05 6月, 2011 1 次提交
    • J
      Refactor Active Record test connection setup. Please see the... · 253bb6b9
      Jon Leighton 提交于
      Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
      253bb6b9
  7. 29 3月, 2011 1 次提交
  8. 14 2月, 2011 1 次提交
  9. 09 2月, 2011 1 次提交
  10. 05 2月, 2011 3 次提交
  11. 01 12月, 2010 1 次提交
  12. 07 10月, 2010 1 次提交
  13. 17 7月, 2010 3 次提交
  14. 26 2月, 2009 1 次提交