Commits on Sep 7, 2010
  1. @jferris

    Add the attributes for the parent factory before those for the child,

    so that the child can reference parent attributes; fixes gh-15
    Ben Taitelbaum committed with jferris Sep 3, 2010
Commits on Aug 25, 2010
  1. @davidw @jferris

    Perform a sort on files loaded from the factories/ directory.

    We do this so that it's possible to know the order in which the files
    will be loaded.  This is important if there are interdependencies.
    davidw committed with jferris Aug 10, 2010
  2. @jferris
Commits on Aug 13, 2010
  1. @comron
Commits on Aug 5, 2010
  1. @jferris
Commits on Jul 26, 2010
  1. @karmi @jferris
Commits on Jul 7, 2010
  1. @jferris

    Check for undefined constants/methods on Factory on FactoryGirl to pr…

    …eserve backwards compatibility
    jferris committed Jul 6, 2010
  2. @jferris

    Moved definition loading syntax out of the factory class; moved every…

    …thing into a FactoryGirl module
    jferris committed Jun 24, 2010
  3. @jferris
  4. @jferris

    Extracted yielded object for dsl into a proxy; moved default public a…

    …pi into its own file
    jferris committed Jun 10, 2010
Commits on Jun 23, 2010
  1. @jferris

    Fixed definition autoloading support for rails 2.x when config.gem is…

    … in config/environments/test.rb
    jferris committed Jun 23, 2010
  2. @jferris
Commits on Jun 22, 2010
  1. @tsigo @jferris

    Fix a few spelling errors in docs

    tsigo committed with jferris Jun 23, 2010
Commits on Jun 11, 2010
  1. update README for rails 3

    Chad Pytel committed Jun 11, 2010
Commits on Jun 10, 2010
  1. @jferris
Commits on Jun 9, 2010
  1. @jferris
Commits on Jun 8, 2010
  1. @jtrupiano @tristandunn
Commits on Jun 7, 2010
  1. @tristandunn

    Clean up whitespace.

    tristandunn committed Jun 7, 2010
  2. @tristandunn

    Fix issue with Ruby 1.9.

    tristandunn committed Jun 7, 2010
  3. @tristandunn
  4. @tristandunn

    Correct grammar mistakes.

    Tekhne committed with tristandunn Apr 28, 2010
  5. @mlomnicki @tristandunn
  6. @flori @tristandunn

    Support id method in Factory.

    flori committed with tristandunn Jun 30, 2009
  7. @flori @tristandunn

    Support type attribute in Factory.

    The type attribute is necessary in order to use rails' single table inheritance
    feature. Unfortunately this collides with Ruby's deprecated Kernel#type method
    and the Factory object's method missing isn't triggered. This change undefines
    the type instance method in Factory and fixes the problem.
    
    Factory.define :foo do |b|
    end
    
    Factory.define :bar, :parent => :foo do |b|
      b.type 'Bar'
    end
    
    Factory.define :baz, :parent => :foo do |b|
      b.type 'Baz'
    end
    flori committed with tristandunn Jun 26, 2009
  8. @tristandunn
Commits on May 20, 2010
  1. @jyurek
  2. @jyurek
  3. @jyurek
  4. @jyurek

    Removed Jeweler dependency.

    jyurek committed May 19, 2010
  5. @tristandunn @jyurek
  6. @jyurek
Commits on May 8, 2010
  1. Fix minor "bug" on readme example

    Harold Gim��nez committed May 8, 2010
Commits on Apr 23, 2010
  1. Fix typo in README

    Steven Derocher committed Apr 23, 2010
Commits on Apr 12, 2010
  1. @romanvbabenko @jferris
Commits on Mar 30, 2010
  1. @joshuaclayton