Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Sep 3, 2013
  1. @tenderlove
Commits on Aug 1, 2013
  1. @tenderlove
  2. @tenderlove
  3. @tenderlove
  4. @tenderlove

    association builder classes no longer need the model

    tenderlove committed
    decouple the builder classes from the model.  Builder objects should be
    easier to reuse now.
  5. @tenderlove
  6. @tenderlove
  7. @tenderlove

    push more mutations out of the builder

    tenderlove committed
    `configure_dependency` actually defined callbacks, so rename the method
    and move it to the appropriate method.
  8. @tenderlove
  9. @tenderlove
  10. @tenderlove
  11. @tenderlove
  12. @tenderlove
  13. @tenderlove
Commits on Jul 24, 2013
  1. @carlosantoniodasilva
Commits on Jul 23, 2013
  1. @tenderlove
  2. @tenderlove

    remove unnecessary reader

    tenderlove committed
  3. @tenderlove

    only flatten one side

    tenderlove committed
  4. @tenderlove
  5. @tenderlove
Commits on Jul 2, 2013
  1. @neerajdotname
Commits on Jun 11, 2013
  1. @tenderlove
  2. @tenderlove
Commits on May 19, 2013
  1. @vijaydev

    copy edits[ci skip]

    vijaydev committed
Commits on May 15, 2013
  1. @aditya-kapoor

    Added some more documentation for define_readers and define_writer of…

    aditya-kapoor committed
    … the Association and its inherited classes
  2. @aditya-kapoor
  3. @aditya-kapoor
Commits on Nov 28, 2012
  1. @steveklabnik
Commits on Aug 10, 2012
  1. @jonleighton

    Use method compilation for association methods

    jonleighton committed
    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. @jonleighton
  3. @jonleighton

    Unprivatise all the things

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

    Clean up dependent option validation.

    jonleighton committed
    We don't need the complexity of to_sentence, and it shouldn't be a bang
  6. @jonleighton

    Remove the dependent_restrict_raises option.

    jonleighton committed
    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. @carlosantoniodasilva

    Refactor dependency check validation

    carlosantoniodasilva committed
    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.