2007-03-30 04:36:52 +00:00
|
|
|
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
2015-08-04 23:08:13 +02:00
|
|
|
|
|
|
|
# Please note that dates in yml are not converted to utc timezone like
|
|
|
|
# rails does automatically in models or controllers! Convert to utc manually!
|
2007-05-21 06:12:55 +00:00
|
|
|
<%
|
2015-08-04 23:08:13 +02:00
|
|
|
def today
|
2025-06-29 13:25:14 +03:00
|
|
|
Time.zone.now.utc.beginning_of_day.to_formatted_s(:db)
|
2007-03-30 04:36:52 +00:00
|
|
|
end
|
2016-01-21 22:30:48 +01:00
|
|
|
def yesterday
|
2025-06-29 13:25:14 +03:00
|
|
|
1.day.ago.utc.beginning_of_day.to_formatted_s(:db)
|
2016-01-21 22:30:48 +01:00
|
|
|
end
|
|
|
|
def last_week
|
2025-06-29 13:25:14 +03:00
|
|
|
1.week.ago.utc.beginning_of_day.to_formatted_s(:db)
|
2016-01-21 22:30:48 +01:00
|
|
|
end
|
2007-03-30 04:36:52 +00:00
|
|
|
%>
|
|
|
|
|
|
|
|
timemachine:
|
|
|
|
id: 1
|
|
|
|
name: Build a working time machine
|
|
|
|
description: ''
|
|
|
|
position: 1
|
|
|
|
state: 'active'
|
|
|
|
user_id: 1
|
|
|
|
created_at: <%= today %>
|
|
|
|
updated_at: <%= today %>
|
2007-05-28 05:33:05 +00:00
|
|
|
default_context_id: 5
|
2007-03-30 04:36:52 +00:00
|
|
|
|
|
|
|
moremoney:
|
|
|
|
id: 2
|
|
|
|
name: Make more money than Billy Gates
|
|
|
|
description: ''
|
|
|
|
position: 2
|
|
|
|
state: 'active'
|
|
|
|
user_id: 1
|
|
|
|
created_at: <%= today %>
|
|
|
|
updated_at: <%= today %>
|
2016-01-21 22:30:48 +01:00
|
|
|
last_reviewed: <%= yesterday %>
|
2007-03-30 04:36:52 +00:00
|
|
|
|
|
|
|
gardenclean:
|
|
|
|
id: 3
|
|
|
|
name: Evict dinosaurs from the garden
|
|
|
|
description: ''
|
|
|
|
position: 3
|
|
|
|
state: 'active'
|
|
|
|
user_id: 1
|
|
|
|
created_at: <%= today %>
|
|
|
|
updated_at: <%= today %>
|
2016-01-21 22:30:48 +01:00
|
|
|
last_reviewed: <%= last_week %>
|
2007-03-30 04:36:52 +00:00
|
|
|
|
|
|
|
attendrailsconf:
|
|
|
|
id: 4
|
|
|
|
name: Attend RailsConf
|
|
|
|
description: ''
|
|
|
|
position: 1
|
|
|
|
state: 'active'
|
|
|
|
user_id: 2
|
|
|
|
created_at: <%= today %>
|
|
|
|
updated_at: <%= today %>
|
2019-04-11 09:53:53 -05:00
|
|
|
|
|
|
|
attendgophercon:
|
|
|
|
id: 5
|
|
|
|
name: Attend Gophercon
|
|
|
|
description: 'Because those little gopher drawing are cute'
|
|
|
|
position: 2
|
|
|
|
state: 'active'
|
|
|
|
user_id: 2
|
|
|
|
created_at: <%= today %>
|
|
|
|
updated_at: <%= today %>
|