1. 03 12月, 2013 1 次提交
    • J
      Fix ActiveRecord::Callbacks sample code [ci skip] · edd93a53
      joker1007 提交于
      Callback caller class uses `after_initialize`,
      but Callback callee defines `after_find`.
      
      Current sample code causes following error.
      
        NoMethodError: undefined method `after_initialize' for #<EncryptionWrapper:0x007fe4931fa5c0>
      edd93a53
  2. 09 10月, 2013 1 次提交
  3. 21 4月, 2013 1 次提交
  4. 04 1月, 2013 1 次提交
  5. 09 11月, 2012 1 次提交
  6. 22 10月, 2012 1 次提交
  7. 21 10月, 2012 1 次提交
  8. 20 10月, 2012 1 次提交
  9. 20 6月, 2012 1 次提交
  10. 16 6月, 2012 1 次提交
  11. 24 5月, 2012 1 次提交
    • V
      Revert "Remove blank trailing comments" · 1ad0b378
      Vijay Dev 提交于
      This reverts commit fa6d921e.
      
      Reason: Not a fan of such massive changes. We usually close such changes
      if made to Rails master as a pull request. Following the same principle
      here and reverting.
      
      [ci skip]
      1ad0b378
  12. 20 5月, 2012 1 次提交
    • H
      Remove blank trailing comments · fa6d921e
      Henrik Hodne 提交于
      For future reference, this is the regex I used: ^\s*#\s*\n(?!\s*#). Replace
      with the first match, and voilà! Note that the regex matches a little bit too
      much, so you probably want to `git add -i .` and go through every single diff
      to check if it actually should be changed.
      fa6d921e
  13. 17 3月, 2012 1 次提交
  14. 15 3月, 2012 1 次提交
  15. 06 1月, 2012 1 次提交
  16. 29 12月, 2011 1 次提交
    • J
      Support configuration on ActiveRecord::Model. · 93c1f11c
      Jon Leighton 提交于
      The problem: We need to be able to specify configuration in a way that
      can be inherited to models that include ActiveRecord::Model. So it is
      no longer sufficient to put 'top level' config on ActiveRecord::Base,
      but we do want configuration specified on ActiveRecord::Base and
      descendants to continue to work.
      
      So we need something like class_attribute that can be defined on a
      module but that is inherited when ActiveRecord::Model is included.
      
      The solution: added ActiveModel::Configuration module which provides a
      config_attribute macro. It's a bit specific hence I am not putting this
      in Active Support or making it a 'public API' at present.
      93c1f11c
  17. 29 3月, 2011 1 次提交
  18. 05 3月, 2011 1 次提交
  19. 04 3月, 2011 1 次提交
  20. 01 2月, 2011 2 次提交
  21. 29 1月, 2011 1 次提交
  22. 14 10月, 2010 1 次提交
  23. 06 9月, 2010 1 次提交
  24. 26 8月, 2010 2 次提交
  25. 20 8月, 2010 3 次提交
  26. 14 8月, 2010 2 次提交
  27. 03 8月, 2010 2 次提交
  28. 02 8月, 2010 1 次提交
  29. 20 6月, 2010 1 次提交
  30. 19 6月, 2010 1 次提交
  31. 16 6月, 2010 1 次提交
  32. 08 6月, 2010 1 次提交
  33. 09 5月, 2010 1 次提交
  34. 02 5月, 2010 1 次提交