Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update README for rails 3

  • Loading branch information...
commit 20319bc47738d26898ca31c953ba759ee9591ddd 1 parent f3366b6
Chad Pytel authored
Showing with 4 additions and 5 deletions.
  1. +4 −5 README.rdoc
View
9 README.rdoc
@@ -2,6 +2,10 @@
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
@@ -9,11 +13,6 @@ 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:
Please sign in to comment.
Something went wrong with that request. Please try again.