Permalink
Commits on Jan 17, 2012
  1. Bump version to 2.4.1

    joshuaclayton committed Jan 17, 2012
Commits on Jan 16, 2012
  1. Reset evaluator class when cloning a FactoryGirl::Factory

    Applying traits inline modifies the evaluator class, so it needs to be
    reset when cloning in order to ensure that the attributes are correct.
    
    Closes #268
    joshuaclayton committed Jan 16, 2012
Commits on Jan 13, 2012
  1. Bump version to 2.4.0

    joshuaclayton committed Jan 13, 2012
  2. Be more agnostic to ORMs when using columns. This will allow using FG…

    … with neo4j still preserving semantics for other ORMs.
    dnagir committed with joshuaclayton Dec 15, 2011
  3. Supplying a Class to a factory that overrides to_s no longer results …

    …in getting the wrong Class constructed
    Evan Larkin committed with joshuaclayton Dec 14, 2011
Commits on Jan 12, 2012
  1. Add `required_ruby_version` to the Gemspec.

    See http://docs.rubygems.org/read/chapter/20#required_ruby_version
    
    Some features, such as commit 4b6ada7, requires Ruby >= 1.8.7.
    Also, there's no trace of Ruby 1.8.6 support in the .travis.yml file.
    weppos committed Jan 12, 2012
  2. Update Giant Robots blog URL

    weppos committed Jan 12, 2012
  3. http => https

    weppos committed Jan 12, 2012
Commits on Jan 9, 2012
Commits on Jan 8, 2012
  1. Revert "Don't cache build class"

    This reverts commit 845a76a.
    joshuaclayton committed Jan 8, 2012
  2. Add NullObject

    joshuaclayton committed Jan 8, 2012
  3. Allow methods to be called from the instance in factory girl attributes

    This fixes a regression introduced with the introduction of the
    anonymous class.
    
    Closes #264
    joshuaclayton committed Jan 8, 2012
Commits on Dec 30, 2011
  1. Ensure the yielded value is returned when block is given.

    In the following example, `FactoryGirl.create(:order)` returns 0 because the last expression returns 0.
    `:order` is set to 0 causing an unexpected behavior.
    
        let(:order) {
          FactoryGirl.create(:order) do |order|
            order.save!
            order.total_cents = 0
          end
        }
    
        order
        # => 0
    weppos committed with joshuaclayton Dec 20, 2011
  2. Style tweaks

    joshuaclayton committed Dec 19, 2011
  3. Clean up method name

    joshuaclayton committed Dec 16, 2011
  4. Get everything else green

    joshuaclayton committed Dec 16, 2011
  5. Clean up proxy specs

    joshuaclayton committed Dec 16, 2011
  6. Always pass to_create

    joshuaclayton committed Dec 16, 2011