Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 3, 2013
  1. Aaron Patterson
Commits on Aug 1, 2013
  1. Aaron Patterson
  2. Aaron Patterson
  3. Aaron Patterson
  4. Aaron Patterson

    association builder classes no longer need the model

    tenderlove authored
    decouple the builder classes from the model.  Builder objects should be
    easier to reuse now.
  5. Aaron Patterson
  6. Aaron Patterson
  7. Aaron Patterson

    push more mutations out of the builder

    tenderlove authored
    `configure_dependency` actually defined callbacks, so rename the method
    and move it to the appropriate method.
  8. Aaron Patterson
  9. Aaron Patterson
  10. Aaron Patterson
  11. Aaron Patterson
  12. Aaron Patterson
  13. Aaron Patterson
Commits on Jul 24, 2013
  1. Carlos Antonio da Silva
Commits on Jul 23, 2013
  1. Aaron Patterson
  2. Aaron Patterson

    remove unnecessary reader

    tenderlove authored
  3. Aaron Patterson

    only flatten one side

    tenderlove authored
  4. Aaron Patterson
  5. Aaron Patterson
Commits on Jul 2, 2013
  1. Neeraj Singh
Commits on Jun 11, 2013
  1. Aaron Patterson
  2. Aaron Patterson
Commits on May 19, 2013
  1. Vijay Dev

    copy edits[ci skip]

    vijaydev authored
Commits on May 15, 2013
  1. Aditya Kapoor

    Added some more documentation for define_readers and define_writer of…

    aditya-kapoor authored
    … the Association and its inherited classes
  2. Aditya Kapoor
  3. Aditya Kapoor
Commits on Nov 28, 2012
  1. Steve Klabnik
Commits on Aug 10, 2012
  1. Jon Leighton

    Use method compilation for association methods

    jonleighton authored
    Method compilation provides better performance and I think the code
    comes out cleaner as well.
    A knock on effect is that methods that get redefined produce warnings. I
    think this is a good thing. I had to deal with a bunch of warnings
    coming from our tests, though.
  2. Jon Leighton
  3. Jon Leighton

    Unprivatise all the things

    jonleighton authored
    Well, not all of them, but some of them.
    I don't think there's much reason for these methods to be private.
  4. Jon Leighton
  5. Jon Leighton

    Clean up dependent option validation.

    jonleighton authored
    We don't need the complexity of to_sentence, and it shouldn't be a bang
  6. Jon Leighton

    Remove the dependent_restrict_raises option.

    jonleighton authored
    It's not really a good idea to have this as a global config option. We
    should allow people to specify the behaviour per association.
    There will now be two new values:
    * :dependent => :restrict_with_exception implements the current
      behaviour of :restrict. :restrict itself is deprecated in favour of
    * :dependent => :restrict_with_error implements the new behaviour - it
      adds an error to the owner if there are dependent records present
    See #4727 for the original discussion of this.
Commits on Aug 1, 2012
  1. Carlos Antonio da Silva

    Refactor dependency check validation

    carlosantoniodasilva authored
    Move the logic for validation check to the same method, and cache
    dependent option in a variable to reuse inside the dependency
    configuration methods instead of relying on the options hash.
Something went wrong with that request. Please try again.