1. 29 11月, 2017 1 次提交
  2. 22 8月, 2017 1 次提交
  3. 07 12月, 2015 1 次提交
  4. 07 8月, 2015 1 次提交
  5. 08 7月, 2015 1 次提交
  6. 13 5月, 2015 1 次提交
    • C
      [ci skip] Don’t encourage `sudo gem install` · 0080a886
      claudiob 提交于
      I think we are better off leaving `sudo` outside of the documented
      way of installing gems (`activerecord`, `actionpack`, …).
      
      We don’t want newbies to think that `sudo` is required or, even worse, than
      they actually have to type `[sudo] gem install`.
      
      In most scenarios, `sudo` is not needed to install gems, and people who do
      need it, probably already know about it.
      
      What do you think? 😁
      0080a886
  7. 21 2月, 2015 1 次提交
  8. 20 2月, 2015 1 次提交
  9. 02 6月, 2014 1 次提交
  10. 29 5月, 2014 1 次提交
  11. 09 3月, 2014 1 次提交
    • P
      Fix errors for four of the code samples · f6ab7782
      Peter Markou 提交于
      The four code samples that fail to run are:
      
      - Add attribute magic to objects. Fixed by introducing a Person
        instance variable.
      
      - Tracking value changes. Fixed by replacing `attr_accessor` with
        `define_attribute_methods`, providing getter and setter methods
        for `name` and providing the missing `Person#save` method. A
        call to `Person#save` has to precede the `person.name = 'robert'`
        assignment, if we want `previous_changes` to include 'bob'.
      
      - Adding `errors` interface to objects. Fixed by introducing a
        Person instance variable, assigning `nil` to its name and calling
        `Person#validate!`.
      
      - Custom validators. Fixed by defining `HasNameValidator` before
        it is used by `ValidatorPerson`.
      
      All the code samples can now be run smoothly.
      
      Call Dirty#changes_applied in Person#save, instead of modifying instance vars.
      f6ab7782
  12. 04 1月, 2014 1 次提交
  13. 12 4月, 2013 1 次提交
  14. 13 3月, 2013 1 次提交
  15. 15 1月, 2013 1 次提交
  16. 02 1月, 2013 1 次提交
  17. 19 10月, 2012 2 次提交
  18. 10 10月, 2012 1 次提交
  19. 15 5月, 2012 1 次提交
  20. 07 5月, 2012 6 次提交
  21. 04 5月, 2012 1 次提交
  22. 22 4月, 2012 1 次提交
  23. 12 4月, 2012 1 次提交
  24. 10 4月, 2012 1 次提交
  25. 06 4月, 2012 1 次提交
  26. 05 4月, 2012 1 次提交
  27. 06 3月, 2012 1 次提交
  28. 03 3月, 2012 1 次提交
  29. 08 2月, 2012 2 次提交
  30. 24 12月, 2011 1 次提交
  31. 05 11月, 2011 2 次提交
  32. 04 11月, 2011 1 次提交