Skip to content

Commit

Permalink
update README for rails 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Chad Pytel committed Jun 11, 2010
1 parent f3366b6 commit 20319bc
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.rdoc
Expand Up @@ -2,18 +2,17 @@

factory_girl is a fixtures replacement with a straightforward definition syntax, support for multiple build strategies (saved instances, unsaved instances, attribute hashes, and stubbed objects), and support for multiple factories for the same class (user, admin_user, and so on), including factory inheritance.

If you want to use factory_girl with Rails 3, use the factory_girl_rails gem, not this one.

If you want to use factory_girl with Rails versions prior to Rails 3, use version 1.2.4.

== Download

Github: http://github.com/thoughtbot/factory_girl/tree/master

Gem:
gem install factory_girl

If you want to use Rails 2.1+'s dependency manager you'll need this in your
environment.rb file:

config.gem "factory_girl"

== Defining factories

Each factory has a name and a set of attributes. The name is used to guess the class of the object by default, but it's possible to explicitly specify it:
Expand Down

0 comments on commit 20319bc

Please sign in to comment.