Fix formatting.

This commit is contained in:
Gabe Berke-Williams 2011-08-29 21:17:09 -03:00
parent 79a1d5e135
commit aadeb530ca
1 changed files with 2 additions and 2 deletions

View File

@ -166,8 +166,8 @@ There may be times where your code can be DRYed up by passing in transient attri
end
end
FactoryGirl.create(:user, :upcased => true).name
# => "JOHN DOE - ROCKSTAR"
FactoryGirl.create(:user, :upcased => true).name
#=> "JOHN DOE - ROCKSTAR"
Static and dynamic attributes can be ignored. Ignored attributes will be ignored within attributes_for and won't be set on the model, even if the attribute exists or you attempt to override it.