stepford 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +2 -2
- data/lib/stepford/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -69,12 +69,12 @@ Uses the Ruby 1.9 hash syntax in generated factories. If you don't have 1.9, it
|
|
69
69
|
|
70
70
|
If you are using STI, you'll need to manually fix the value that goes into the `type` attribute, or remove it.
|
71
71
|
|
72
|
-
If you specify `--associations`, you might
|
72
|
+
If you specify `--associations`, you might get circular associations and could easily end up with:
|
73
73
|
|
74
74
|
SystemStackError:
|
75
75
|
stack level too deep
|
76
76
|
|
77
|
-
|
77
|
+
ThoughtBot's Josh Clayton provided some suggestions for this, including using methods to generate more complex object structures:
|
78
78
|
|
79
79
|
def post_containing_comment_by_author
|
80
80
|
author = FactoryGirl.create(:user)
|
data/lib/stepford/version.rb
CHANGED