Permalink
Commits on Oct 9, 2011
  1. 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 Oct 7, 2011
  1. Goodbye children

    joshuaclayton committed Oct 7, 2011
  2. Clean up scoping

    joshuaclayton committed Oct 7, 2011
Commits on Sep 23, 2011
  1. Remove @options from Factory

    joshuaclayton committed Sep 23, 2011
  2. Changelog 2.1.1 to 2.1.2

    joshuaclayton committed Sep 23, 2011
  3. 2.1.0 -> 2.1.1 changelog

    janxious committed with joshuaclayton Sep 23, 2011
  4. Bump version to 2.1.2

    joshuaclayton committed Sep 23, 2011
  5. Bump version to 2.1.1

    joshuaclayton committed Sep 23, 2011
  6. 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 22, 2011
Commits on Sep 16, 2011
  1. Use objects, not structs

    jferris committed Sep 16, 2011
  2. Callbacks aren't attributes

    jferris committed Sep 16, 2011
  3. Whitespace, textwidth, and escaping underscores.

    Gabe Berke-Williams committed Sep 16, 2011
  4. Merge pull request #201 from ovargas27/master

    Gabe Berke-Williams committed Sep 16, 2011
    More specific instructions for cucumber integration
Commits on Sep 15, 2011
Commits on Sep 12, 2011
  1. Only build master in travis

    jferris committed Sep 12, 2011
Commits on Sep 6, 2011
  1. typo

    Gabe Berke-Williams committed Sep 6, 2011