Skip to content

Commit

Permalink
minor doco updates to make it clear we are calling factory_girl methods
Browse files Browse the repository at this point in the history
  • Loading branch information
leriksen authored and joshuaclayton committed Feb 26, 2014
1 parent 7f31ba9 commit 4f8a9a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GETTING_STARTED.md
Expand Up @@ -406,7 +406,7 @@ Sequences
---------

Unique values in a specific format (for example, e-mail addresses) can be
generated using sequences. Sequences are defined by calling sequence in a
generated using sequences. Sequences are defined by calling `sequence` in a
definition block, and values in a sequence are generated by calling
`generate`:

Expand Down Expand Up @@ -889,7 +889,7 @@ reassigned after your object has been instantiated, you'll want to `ignore` them

Although factory_girl is written to work with ActiveRecord out of the box, it
can also work with any Ruby class. For maximum compatibiltiy with ActiveRecord,
the default initializer builds all instances by calling new on your build class
the default initializer builds all instances by calling `new` on your build class
without any arguments. It then calls attribute writer methods to assign all the
attribute values. While that works fine for ActiveRecord, it actually doesn't
work for almost any other Ruby class.
Expand Down

0 comments on commit 4f8a9a0

Please sign in to comment.