1 # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2 <% SCALE = 10000000 unless defined?(SCALE) %>
6 latitude: <%= 1*SCALE %>
7 longitude: <%= 1*SCALE %>
9 tile: <%= QuadTile.tile_for_point(1,1) %>
10 created_at: 2007-01-01 00:00:00
11 updated_at: 2007-01-01 00:00:00
13 open_note_with_comment:
15 latitude: <%= 1.1*SCALE %>
16 longitude: <%= 1.1*SCALE %>
18 tile: <%= QuadTile.tile_for_point(1.1,1.1) %>
19 created_at: 2007-01-01 00:00:00
20 updated_at: 2007-02-01 00:00:00
22 closed_note_with_comment:
24 latitude: <%= 1.2*SCALE %>
25 longitude: <%= 1.2*SCALE %>
27 tile: <%= QuadTile.tile_for_point(1.2,1.2) %>
28 created_at: 2007-01-01 00:00:00
29 updated_at: 2007-03-01 00:00:00
30 closed_at: 2007-03-01 00:00:00
32 hidden_note_with_comment:
34 latitude: <%= 1.3*SCALE %>
35 longitude: <%= 1.3*SCALE %>
37 tile: <%= QuadTile.tile_for_point(1.3,1.3) %>
38 created_at: 2007-01-01 00:00:00
39 updated_at: 2007-03-01 00:00:00
41 note_with_hidden_comment:
43 latitude: <%= 1.4*SCALE %>
44 longitude: <%= 1.4*SCALE %>
46 tile: <%= QuadTile.tile_for_point(1.4,1.4) %>
47 created_at: 2007-01-01 00:00:00
48 updated_at: 2007-03-01 00:00:00
50 note_with_comments_by_users:
52 latitude: <%= 1.5*SCALE %>
53 longitude: <%= 1.5*SCALE %>
55 tile: <%= QuadTile.tile_for_point(1.5,1.5) %>
56 created_at: 2007-01-01 00:00:00
57 updated_at: 2007-03-01 00:00:00
61 latitude: <%= 1.6*SCALE %>
62 longitude: <%= 1.6*SCALE %>
64 tile: <%= QuadTile.tile_for_point(1.6,1.6) %>
65 created_at: 2007-01-01 00:00:00
66 updated_at: 2007-03-01 00:00:00
67 closed_at: 2007-03-01 00:00:00