Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails fixture without timestamping

Factory(:article, :created_at => 1.week.ago, :updated_at => 1.week.ago)
Source by www.monterail.com #
 
PREVIOUS NEXT
Tagged: #rails #fixture #timestamping
ADD COMMENT
Topic
Name
2+4 =