1. 05 3月, 2013 1 次提交
    • Y
      `ActiveRecord::Base.include_root_in_json` is `false` by default. · 8c7d4018
      Yves Senn 提交于
      Closes #9459.
      
      The PR #6597 unified the configuration for `include_root_in_json`
      in AM and AR to `false`.
      Later on with the refactoring commit: e030f26a the value in AR was
      set to `true` but I think this was not on purpose.
      
      With this commit both AM and AR will have the same configuration
      for `include_root_in_json`, which is `false`.
      8c7d4018
  2. 30 10月, 2012 1 次提交
  3. 26 8月, 2012 1 次提交
  4. 21 8月, 2012 1 次提交
  5. 07 7月, 2012 1 次提交
  6. 30 1月, 2012 1 次提交
  7. 26 1月, 2012 1 次提交
  8. 13 9月, 2011 1 次提交
    • J
      Raise error when using write_attribute with a non-existent attribute. · 50d395f9
      Jon Leighton 提交于
      Previously we would just silently write the attribute. This can lead to
      subtle bugs (for example, see the change in AutosaveAssociation where a
      through association would wrongly gain an attribute.
      
      Also, ensuring that we never gain any new attributes after
      initialization will allow me to reduce our dependence on method_missing.
      50d395f9
  9. 18 7月, 2011 1 次提交
  10. 07 6月, 2011 1 次提交
  11. 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
  12. 02 2月, 2011 1 次提交
  13. 14 8月, 2010 2 次提交
  14. 03 8月, 2010 1 次提交
  15. 30 4月, 2010 1 次提交
  16. 22 1月, 2008 1 次提交
  17. 18 1月, 2008 2 次提交
  18. 05 1月, 2008 1 次提交
  19. 29 10月, 2007 1 次提交
  20. 21 9月, 2007 1 次提交