Skip to content
Commits on Oct 14, 2011
  1. @justinko @joshuaclayton
Commits on Oct 9, 2011
  1. @joshuaclayton

    Change syntax for ignoring attributes to use block syntax instead of

    joshuaclayton committed Oct 7, 2011
    calling ignore on individual declarations.
    
    Old syntax:
    
        factory :user do
          rockstar(true).ignore
          four { 2 + 2 }.ignore
    
          name { "John Doe#{" - Rockstar" if rockstar}" }
        end
    
    New syntax:
    
        factory :user do
          ignore do
            rockstar true
            four     { 2 + 2 }
          end
    
          name { "John Doe#{" - Rockstar" if rockstar}" }
        end
Commits on Sep 23, 2011
  1. @joshuaclayton

    Introduce declarations

    Joe Ferris and Josh Clayton committed with joshuaclayton Sep 23, 2011
    Declarations are another layer of abstraction between defining the
    factories via the DSL and compiling the factories and their attributes.
    
    Declarations know how to return their attribute(s), and running a
    factory compiles the declarations before building all attributes on the
    factory. This moves all the attribute compilation logic into one
    centralized location on the Factory instance, which means traits (and
    potentially other features down the road) can have individual attributes
    overridden within child factories or through FactoryGirl.modify
    
    Closes #205
Commits on Sep 16, 2011
  1. @gabebw
Commits on Sep 15, 2011
  1. @ovargas27
  2. @ovargas27
Commits on Sep 6, 2011
  1. @joshuaclayton
  2. @gabebw

    typo

    gabebw committed Sep 6, 2011
  3. @gabebw
Commits on Sep 2, 2011
  1. @joshuaclayton
  2. @joshuaclayton

    Allow factories to be modified after they've been defined.

    Stephan Eckardt and Josh Clayton committed with joshuaclayton Sep 2, 2011
    This adds `FactoryGirl.modify`, which allows for reopening of factories
    that've been defined elsewhere. Modifying a factory won't remove or
    change callbacks, only attributes.
Commits on Sep 1, 2011
  1. @joshuaclayton
Commits on Aug 30, 2011
  1. @gabebw

    Fix formatting.

    gabebw committed Aug 29, 2011
Commits on Aug 26, 2011
  1. @mike-burns
Commits on Aug 25, 2011
  1. Now able to specify :method => :build in a factory's association.

    Jim Kingdon committed Aug 10, 2011
    See issue #64.
  2. @betelgeuse

    Typo fix possbile to possible

    betelgeuse committed Aug 25, 2011
Commits on Aug 20, 2011
  1. @joshuaclayton

    Add transient variables

    joshuaclayton committed Aug 20, 2011
    Closes #142
    Closes #103
Commits on Aug 17, 2011
  1. @tomstuart
Commits on Aug 12, 2011
  1. @joshuaclayton
  2. @joshuaclayton

    Document attribute groups

    joshuaclayton committed Aug 12, 2011
Commits on Jul 28, 2011
  1. @gabebw
Commits on Jul 25, 2011
  1. @huerlisi
Commits on Jul 4, 2011
  1. @joshuaclayton
Commits on Jul 1, 2011
  1. @joshuaclayton

    More docs

    joshuaclayton committed Jul 1, 2011
  2. @joshuaclayton

    Documentation fixes

    joshuaclayton committed Jul 1, 2011
Commits on Jun 29, 2011
  1. @joshuaclayton
  2. @r00k
  3. @joshuaclayton

    Whitespace

    joshuaclayton committed Jun 29, 2011
Commits on Jun 28, 2011
  1. @pythonandchips @joshuaclayton
Commits on Jun 27, 2011
  1. @joshuaclayton

    Update the sequence documentation

    joshuaclayton committed Jun 27, 2011
    Closes #135
Commits on Feb 7, 2011
  1. @jferris

    Extract examples out to a different file so that the readme people se…

    jferris committed Feb 7, 2011
    …e on Github won't contact examples from master
Something went wrong with that request. Please try again.