Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails fixture without timestamping

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