Skip to content
Permalink
Branch: master
Commits on Nov 5, 2014
  1. Using the real resolver pattern in docs

    JackDanger committed Nov 5, 2014
    If someone copies the docs into their app they'll find it simply doesn't
    work because the locale pattern doesn't have the same logic. This makes
    the doc examples work exactly as written.
    
    [ci skip]
Commits on Aug 17, 2014
  1. Updating Associations::Preloader docs

    JackDanger committed Aug 3, 2014
    Much of the previous documentation introduced features new in 2011. This
    commit refreshes it to provide clearer code examples and spends more
    time describing the normal case (preloaded associations) and less time
    describing the fallback.
    
    [ci skip]
Commits on Aug 3, 2014
  1. Using no_result_var in Journey's parser generator

    JackDanger committed Aug 3, 2014
    Previously the generated parser had an intermediate local variable
    `result` that really useful if you're building up a stateful object but
    Journey always discards the result argument to the reduce functions.
    
    This produces a simpler parser for anybody who actually wants to read
    the thing.
    
    Sadly, there's no real performance speedup with this change.
  2. updating documented parameter for build_constraint

    JackDanger committed Aug 2, 2014
    Updates documentation in line with changes made in
    743b675
Commits on Aug 1, 2014
Commits on Jul 31, 2014
  1. Clarify how the ConnectionHandler works

    JackDanger committed Jul 31, 2014
    This makes the implicit description of how connection pooling works a
    little more explicit. It converts the examples of a model hierarchy into
    actual Ruby code and demonstrates how the key structure of the
    database.yml relates to the `establish_connection` method.
  2. Add ActiveRecord::Tasks::DatabaseTasks.migrate

    JackDanger committed Jul 30, 2014
    This extracts the logic that was embedded in a Rake task into a static
    method.
    Bonus: the first test for `rake db:migrate`
Commits on Jul 30, 2014
  1. Remove redundant `self.` in class method calls

    JackDanger committed Jul 30, 2014
    These are the only instances of this in the whole code base.
Commits on May 7, 2008
  1. doc: ActiveRecord::Reflection::AssociationReflection#through_reflection

    JackDanger committed May 7, 2008
    Added documentation demonstrating the use of #through_reflection for
    finding intervening reflection objects for HasManyThrough
    and HasOneThrough.
You can’t perform that action at this time.