Displaying 1 result from an estimated 1 matches for "facotori".
Did you mean:
facotor
2011 Jul 22
1
rails3 tutorial: testing with factories
I''m having trouble understanding what the assigns() method does, as
described at the following link:
http://ruby.railstutorial.org/chapters/modeling-and-viewing-users-two#sec:better_user_views
The User model has been ''rake db:test:prepare''ed, but I checked and no
records were
copied to the test db after doing that. Yet the description of
assigns() says that the
code: