wbzyl-rails3-tutorial 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. data/README.markdown +14 -0
  2. data/Rakefile +34 -0
  3. data/TODO +6 -0
  4. data/VERSION.yml +4 -0
  5. data/config.ru +15 -0
  6. data/lib/config.ru +12 -0
  7. data/lib/public/images/bradypus.jpg +0 -0
  8. data/lib/public/images/leniwce_controller.png +0 -0
  9. data/lib/public/images/leniwce_controller.svg +284 -0
  10. data/lib/public/images/leniwiec.png +0 -0
  11. data/lib/public/images/leniwiec.svg +284 -0
  12. data/lib/public/images/mvc.png +0 -0
  13. data/lib/public/images/mvc.svg +243 -0
  14. data/lib/public/images/pablo_picasso.jpg +0 -0
  15. data/lib/public/images/pastie.png +0 -0
  16. data/lib/public/images/rails3.png +0 -0
  17. data/lib/public/images/rails3.svg +125 -0
  18. data/lib/public/images/the_thinker.jpg +0 -0
  19. data/lib/public/javascripts/ruby3.js +1 -0
  20. data/lib/public/stylesheets/icons/doc.png +0 -0
  21. data/lib/public/stylesheets/icons/email.png +0 -0
  22. data/lib/public/stylesheets/icons/external.png +0 -0
  23. data/lib/public/stylesheets/icons/feed.png +0 -0
  24. data/lib/public/stylesheets/icons/im.png +0 -0
  25. data/lib/public/stylesheets/icons/pdf.png +0 -0
  26. data/lib/public/stylesheets/icons/visited.png +0 -0
  27. data/lib/public/stylesheets/icons/xls.png +0 -0
  28. data/lib/public/stylesheets/ie.css +27 -0
  29. data/lib/public/stylesheets/print.css +30 -0
  30. data/lib/public/stylesheets/rails3.css +139 -0
  31. data/lib/public/stylesheets/screen.css +249 -0
  32. data/lib/public/stylesheets/src/grid.png +0 -0
  33. data/lib/public/stylesheets/uv.css +121 -0
  34. data/lib/rails3-tutorial.rb +72 -0
  35. data/lib/views/answers.rdiscount +0 -0
  36. data/lib/views/authentication.rdiscount +10 -0
  37. data/lib/views/blog.rdiscount +365 -0
  38. data/lib/views/caching.rdiscount +4 -0
  39. data/lib/views/exercises.rdiscount +67 -0
  40. data/lib/views/fortune.rdiscount +592 -0
  41. data/lib/views/intro.rdiscount +68 -0
  42. data/lib/views/layout.rdiscount +38 -0
  43. data/lib/views/main.rdiscount +32 -0
  44. data/lib/views/pastie.rdiscount +371 -0
  45. data/lib/views/store.rdiscount +99 -0
  46. data/lib/views/todo.rdiscount +245 -0
  47. data/rails3-tutorial.gemspec +101 -0
  48. metadata +168 -0
@@ -0,0 +1,14 @@
1
+ # My notes about Rails 3
2
+
3
+ This is a modular Sinatra application implemented as Gem.
4
+
5
+ Install it with:
6
+
7
+ gem install wbzyl-rails3-tutorial
8
+
9
+ *rails3-tutorial* depends on several gems, so expect
10
+ a few exceptions to be thrown.
11
+
12
+ To run app, copy *config.ru* file to any folder and run it:
13
+
14
+ thin --rackup config.ru -p 3000 start
@@ -0,0 +1,34 @@
1
+ require 'rake'
2
+
3
+ $LOAD_PATH.unshift('lib')
4
+
5
+ begin
6
+ require 'jeweler'
7
+ Jeweler::Tasks.new do |gemspec|
8
+ gemspec.name = "rails3-tutorial"
9
+ gemspec.summary = "Prosta aplikacja Sinatry do notatek."
10
+ gemspec.email = "matwb@univ.gda.pl"
11
+ gemspec.authors = ["Wlodek Bzyl"]
12
+ gemspec.homepage = "http://github.com/wbzyl/rails3-tutorial"
13
+
14
+ gemspec.description = <<-EOF
15
+ Notatki do frameworka Rails3
16
+ EOF
17
+
18
+ gemspec.files = FileList['lib/**/*', "TODO", "Rakefile", "config.ru", "VERSION.yml", "rails3-tutorial.gemspec"]
19
+
20
+ gemspec.add_runtime_dependency 'rack'
21
+ gemspec.add_runtime_dependency 'sinatra'
22
+ gemspec.add_runtime_dependency 'rdiscount'
23
+ gemspec.add_runtime_dependency 'ultraviolet'
24
+ gemspec.add_runtime_dependency 'coderay'
25
+ gemspec.add_runtime_dependency 'wbzyl-sinatra-rdiscount'
26
+ gemspec.add_runtime_dependency 'wbzyl-rack-codehighlighter'
27
+
28
+ gemspec.rubyforge_project = 'rails3-tutorial'
29
+ end
30
+ rescue LoadError
31
+ puts "Jeweler not available."
32
+ puts "Install it with:"
33
+ puts " sudo gem install technicalpickles-jeweler -s http://gems.github.com"
34
+ end
data/TODO ADDED
@@ -0,0 +1,6 @@
1
+
2
+ Tagging:
3
+
4
+ git tag -a -m "tagging version 0.1.0" 0.1.0
5
+ git push --tags
6
+
@@ -0,0 +1,4 @@
1
+ ---
2
+ :patch: 2
3
+ :major: 0
4
+ :minor: 0
@@ -0,0 +1,15 @@
1
+ $:.unshift('lib') unless $:.include?('lib')
2
+
3
+ gem 'wbzyl-rails3-tutorial'
4
+ require 'rails3-tutorial'
5
+
6
+ gem 'wbzyl-rack-codehighlighter'
7
+ require 'rack/codehighlighter'
8
+
9
+ gem 'ultraviolet'
10
+ require 'uv'
11
+
12
+ use Rack::ShowExceptions
13
+ use Rack::Lint
14
+ use Rack::Codehighlighter, :ultraviolet, :element => '//pre/code', :markdown => true
15
+ run WB::Rails3Tutorial.new
@@ -0,0 +1,12 @@
1
+ require 'rails3-tutorial'
2
+
3
+ gem 'wbzyl-rack-codehighlighter'
4
+ require 'rack/codehighlighter'
5
+
6
+ gem 'ultraviolet'
7
+ require 'uv'
8
+
9
+ use Rack::ShowExceptions
10
+ use Rack::Lint
11
+ use Rack::Codehighlighter, :ultraviolet, :element => '//pre/code', :markdown => true
12
+ run WB::Rails3Tutorial.new
@@ -0,0 +1,284 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
6
+ xmlns:cc="http://creativecommons.org/ns#"
7
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
+ xmlns:svg="http://www.w3.org/2000/svg"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+ width="640px"
13
+ height="480px"
14
+ id="svg12"
15
+ sodipodi:version="0.32"
16
+ inkscape:version="0.46+devel"
17
+ sodipodi:docname="leniwce_controller.svg"
18
+ inkscape:output_extension="org.inkscape.output.svg.inkscape">
19
+ <defs
20
+ id="defs14">
21
+ <marker
22
+ inkscape:stockid="Arrow2Mend"
23
+ orient="auto"
24
+ refY="0.0"
25
+ refX="0.0"
26
+ id="Arrow2Mend"
27
+ style="overflow:visible;">
28
+ <path
29
+ id="path889"
30
+ style="font-size:12.0;fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round;"
31
+ d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
32
+ transform="scale(0.6) rotate(180) translate(0,0)" />
33
+ </marker>
34
+ <marker
35
+ inkscape:stockid="Arrow1Send"
36
+ orient="auto"
37
+ refY="0.0"
38
+ refX="0.0"
39
+ id="Arrow1Send"
40
+ style="overflow:visible;">
41
+ <path
42
+ id="path877"
43
+ d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
44
+ style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none;"
45
+ transform="scale(0.2) rotate(180) translate(6,0)" />
46
+ </marker>
47
+ <marker
48
+ inkscape:stockid="Arrow1Mend"
49
+ orient="auto"
50
+ refY="0.0"
51
+ refX="0.0"
52
+ id="Arrow1Mend"
53
+ style="overflow:visible;">
54
+ <path
55
+ id="path871"
56
+ d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
57
+ style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none;"
58
+ transform="scale(0.4) rotate(180) translate(10,0)" />
59
+ </marker>
60
+ <marker
61
+ inkscape:stockid="TriangleOutL"
62
+ orient="auto"
63
+ refY="0.0"
64
+ refX="0.0"
65
+ id="TriangleOutL"
66
+ style="overflow:visible">
67
+ <path
68
+ id="path1005"
69
+ d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z "
70
+ style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none"
71
+ transform="scale(0.8)" />
72
+ </marker>
73
+ <marker
74
+ inkscape:stockid="Arrow2Lend"
75
+ orient="auto"
76
+ refY="0.0"
77
+ refX="0.0"
78
+ id="Arrow2Lend"
79
+ style="overflow:visible;">
80
+ <path
81
+ id="path883"
82
+ style="font-size:12.0;fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round;"
83
+ d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
84
+ transform="scale(1.1) rotate(180) translate(1,0)" />
85
+ </marker>
86
+ <inkscape:perspective
87
+ sodipodi:type="inkscape:persp3d"
88
+ inkscape:vp_x="0 : 240 : 1"
89
+ inkscape:vp_y="0 : 1000 : 0"
90
+ inkscape:vp_z="640 : 240 : 1"
91
+ inkscape:persp3d-origin="320 : 160 : 1"
92
+ id="perspective20" />
93
+ <filter
94
+ inkscape:collect="always"
95
+ id="filter2075">
96
+ <feGaussianBlur
97
+ inkscape:collect="always"
98
+ stdDeviation="0.025"
99
+ id="feGaussianBlur2077" />
100
+ </filter>
101
+ <filter
102
+ inkscape:collect="always"
103
+ id="filter3619">
104
+ <feGaussianBlur
105
+ inkscape:collect="always"
106
+ stdDeviation="0.03"
107
+ id="feGaussianBlur3621" />
108
+ </filter>
109
+ </defs>
110
+ <sodipodi:namedview
111
+ id="base"
112
+ pagecolor="#ffffff"
113
+ bordercolor="#666666"
114
+ borderopacity="1.0"
115
+ inkscape:pageopacity="0.0"
116
+ inkscape:pageshadow="2"
117
+ inkscape:zoom="1.3085299"
118
+ inkscape:cx="325"
119
+ inkscape:cy="325"
120
+ inkscape:current-layer="layer1"
121
+ inkscape:document-units="px"
122
+ showgrid="true"
123
+ borderlayer="true"
124
+ inkscape:window-width="1249"
125
+ inkscape:window-height="946"
126
+ inkscape:window-x="12"
127
+ inkscape:window-y="34">
128
+ <inkscape:grid
129
+ type="xygrid"
130
+ id="grid22"
131
+ empspacing="5"
132
+ visible="true"
133
+ enabled="true"
134
+ snapvisiblegridlinesonly="true"
135
+ spacingx="10px"
136
+ spacingy="10px"
137
+ dotted="false" />
138
+ </sodipodi:namedview>
139
+ <metadata
140
+ id="metadata17">
141
+ <rdf:RDF>
142
+ <cc:Work
143
+ rdf:about="">
144
+ <dc:format>image/svg+xml</dc:format>
145
+ <dc:type
146
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
147
+ <dc:title></dc:title>
148
+ </cc:Work>
149
+ </rdf:RDF>
150
+ </metadata>
151
+ <g
152
+ id="layer1"
153
+ inkscape:label="Layer 1"
154
+ inkscape:groupmode="layer">
155
+ <rect
156
+ style="opacity:0.85093168;fill:#aa0000;fill-opacity:1;stroke:#280b0b;stroke-width:1;stroke-miterlimit:2;stroke-opacity:1;stroke-dasharray:none"
157
+ id="rect24"
158
+ width="40"
159
+ height="60"
160
+ x="560"
161
+ y="220"
162
+ rx="4"
163
+ ry="4" />
164
+ <rect
165
+ ry="4"
166
+ rx="4"
167
+ y="130"
168
+ x="560"
169
+ height="60"
170
+ width="40"
171
+ id="rect802"
172
+ style="opacity:0.85093168;fill:#aa0000;fill-opacity:1;stroke:#280b0b;stroke-width:1;stroke-miterlimit:2;stroke-opacity:1;stroke-dasharray:none" />
173
+ <rect
174
+ style="opacity:0.6;fill:#aa0000;fill-opacity:1;stroke:#280b0b;stroke-width:1;stroke-miterlimit:2;stroke-opacity:1;stroke-dasharray:none"
175
+ id="rect804"
176
+ width="40"
177
+ height="60"
178
+ x="190"
179
+ y="140"
180
+ rx="4"
181
+ ry="4"
182
+ inkscape:export-filename="/home/wbzyl/public_git/tutorials/rails3-tutorial/lib/public/images/leniwce_controller.png"
183
+ inkscape:export-xdpi="90.078049"
184
+ inkscape:export-ydpi="90.078049" />
185
+ <rect
186
+ ry="4"
187
+ rx="4"
188
+ y="30"
189
+ x="560"
190
+ height="60"
191
+ width="40"
192
+ id="rect806"
193
+ style="opacity:0.85093168;fill:#aa0000;fill-opacity:1;stroke:#280b0b;stroke-width:1;stroke-miterlimit:2;stroke-opacity:1;stroke-dasharray:none" />
194
+ <path
195
+ style="opacity:0.6;fill:#800000;fill-opacity:1;stroke:#2b0000;stroke-width:1;stroke-miterlimit:2;stroke-opacity:1;stroke-dasharray:none"
196
+ d="m 51,35.0625 c -0.554,0 -1,0.446 -1,1 L 50,44 50,44.0625 50,76 c 0,2.216 1.784,4 4,4 l 52,0 c 2.216,0 4,-1.784 4,-4 l 0,-32 c 0,-2.216 -1.784,-4 -4,-4 l -36,0 0,-3.9375 c 0,-0.554 -0.446,-1 -1,-1 l -18,0 z"
197
+ id="rect828"
198
+ inkscape:export-filename="/home/wbzyl/public_git/tutorials/rails3-tutorial/lib/public/images/leniwce_controller.png"
199
+ inkscape:export-xdpi="90.078049"
200
+ inkscape:export-ydpi="90.078049" />
201
+ <path
202
+ id="path833"
203
+ d="m 451,135.0625 c -0.554,0 -1,0.446 -1,1 l 0,7.9375 0,0.0625 0,31.9375 c 0,2.216 1.784,4 4,4 l 52,0 c 2.216,0 4,-1.784 4,-4 l 0,-32 c 0,-2.216 -1.784,-4 -4,-4 l -36,0 0,-3.9375 c 0,-0.554 -0.446,-1 -1,-1 l -18,0 z"
204
+ style="opacity:0.78571424;fill:#800000;fill-opacity:1;stroke:#2b0000;stroke-width:1;stroke-miterlimit:2;stroke-opacity:1;stroke-dasharray:none" />
205
+ <path
206
+ style="opacity:0.78571424;fill:#800000;fill-opacity:1;stroke:#2b0000;stroke-width:1;stroke-miterlimit:2;stroke-opacity:1;stroke-dasharray:none"
207
+ d="m 451,35.0625 c -0.554,0 -1,0.446 -1,1 L 450,44 450,44.0625 450,76 c 0,2.216 1.784,4 4,4 l 52,0 c 2.216,0 4,-1.784 4,-4 l 0,-32 c 0,-2.216 -1.784,-4 -4,-4 l -36,0 0,-3.9375 c 0,-0.554 -0.446,-1 -1,-1 l -18,0 z"
208
+ id="path835" />
209
+ <path
210
+ id="path837"
211
+ d="m 121,85.0625 c -0.554,0 -1,0.446 -1,1 L 120,94 120,94.0625 120,126 c 0,2.216 1.784,4 4,4 l 52,0 c 2.216,0 4,-1.784 4,-4 l 0,-32 c 0,-2.216 -1.784,-4 -4,-4 l -36,0 0,-3.9375 c 0,-0.554 -0.446,-1 -1,-1 l -18,0 z"
212
+ style="opacity:0.6;fill:#800000;fill-opacity:1;stroke:#2b0000;stroke-width:1;stroke-miterlimit:2;stroke-opacity:1;stroke-dasharray:none"
213
+ inkscape:export-filename="/home/wbzyl/public_git/tutorials/rails3-tutorial/lib/public/images/leniwce_controller.png"
214
+ inkscape:export-xdpi="90.078049"
215
+ inkscape:export-ydpi="90.078049" />
216
+ <path
217
+ style="fill:none;stroke:#000000;stroke-width:2;stroke-opacity:1;marker-end:url(#Arrow2Mend);opacity:0.59999999999999998;filter:url(#filter2075);stroke-miterlimit:4;stroke-dasharray:none;stroke-linecap:round"
218
+ d="m 80,90 0,20 30,0"
219
+ id="path839"
220
+ inkscape:export-filename="/home/wbzyl/public_git/tutorials/rails3-tutorial/lib/public/images/leniwce_controller.png"
221
+ inkscape:export-xdpi="90.078049"
222
+ inkscape:export-ydpi="90.078049" />
223
+ <path
224
+ style="stroke-width:2;fill:none;stroke:#000000;stroke-opacity:1;font-size:12;stroke-miterlimit:4;stroke-dasharray:none;marker-end:url(#Arrow2Mend);opacity:0.59999999999999998;filter:url(#filter3619)"
225
+ d="m 150,140 0,30 30,0"
226
+ id="path841"
227
+ inkscape:export-filename="/home/wbzyl/public_git/tutorials/rails3-tutorial/lib/public/images/leniwce_controller.png"
228
+ inkscape:export-xdpi="90.078049"
229
+ inkscape:export-ydpi="90.078049" />
230
+ <text
231
+ xml:space="preserve"
232
+ style="font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;font-family:MaszynaAEG;-inkscape-font-specification:MaszynaAEG"
233
+ x="120"
234
+ y="60"
235
+ id="text843"
236
+ sodipodi:linespacing="125%"
237
+ inkscape:export-filename="/home/wbzyl/public_git/tutorials/rails3-tutorial/lib/public/images/leniwce_controller.png"
238
+ inkscape:export-xdpi="90.078049"
239
+ inkscape:export-ydpi="90.078049"><tspan
240
+ sodipodi:role="line"
241
+ id="tspan845"
242
+ x="120"
243
+ y="60">app</tspan></text>
244
+ <text
245
+ xml:space="preserve"
246
+ style="font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;font-family:MaszynaAEG;-inkscape-font-specification:MaszynaAEG"
247
+ x="190"
248
+ y="110"
249
+ id="text847"
250
+ sodipodi:linespacing="125%"
251
+ inkscape:export-filename="/home/wbzyl/public_git/tutorials/rails3-tutorial/lib/public/images/leniwce_controller.png"
252
+ inkscape:export-xdpi="90.078049"
253
+ inkscape:export-ydpi="90.078049"><tspan
254
+ sodipodi:role="line"
255
+ id="tspan849"
256
+ x="190"
257
+ y="110">controllers</tspan></text>
258
+ <text
259
+ xml:space="preserve"
260
+ style="font-size:14px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:100%;writing-mode:lr;text-anchor:start;font-family:MaszynaAEG;-inkscape-font-specification:MaszynaAEG Bold"
261
+ x="203.27322"
262
+ y="177.3093"
263
+ id="text851"
264
+ sodipodi:linespacing="100%"><tspan
265
+ sodipodi:role="line"
266
+ id="tspan853"
267
+ x="203.27322"
268
+ y="177.3093" /></text>
269
+ <text
270
+ xml:space="preserve"
271
+ style="font-size:14px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:100%;writing-mode:lr-tb;text-anchor:start;font-family:MaszynaAEG;-inkscape-font-specification:MaszynaAEG Bold"
272
+ x="110"
273
+ y="220"
274
+ id="text855"
275
+ sodipodi:linespacing="100%"
276
+ inkscape:export-filename="/home/wbzyl/public_git/tutorials/rails3-tutorial/lib/public/images/leniwce_controller.png"
277
+ inkscape:export-xdpi="90.078049"
278
+ inkscape:export-ydpi="90.078049"><tspan
279
+ sodipodi:role="line"
280
+ id="tspan857"
281
+ x="110"
282
+ y="220">leniwce_controller.rb</tspan></text>
283
+ </g>
284
+ </svg>
@@ -0,0 +1,284 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
6
+ xmlns:cc="http://creativecommons.org/ns#"
7
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
+ xmlns:svg="http://www.w3.org/2000/svg"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+ width="640px"
13
+ height="480px"
14
+ id="svg12"
15
+ sodipodi:version="0.32"
16
+ inkscape:version="0.46+devel"
17
+ sodipodi:docname="leniwiec.svg"
18
+ inkscape:output_extension="org.inkscape.output.svg.inkscape">
19
+ <defs
20
+ id="defs14">
21
+ <marker
22
+ inkscape:stockid="Arrow2Mend"
23
+ orient="auto"
24
+ refY="0.0"
25
+ refX="0.0"
26
+ id="Arrow2Mend"
27
+ style="overflow:visible;">
28
+ <path
29
+ id="path889"
30
+ style="font-size:12.0;fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round;"
31
+ d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
32
+ transform="scale(0.6) rotate(180) translate(0,0)" />
33
+ </marker>
34
+ <marker
35
+ inkscape:stockid="Arrow1Send"
36
+ orient="auto"
37
+ refY="0.0"
38
+ refX="0.0"
39
+ id="Arrow1Send"
40
+ style="overflow:visible;">
41
+ <path
42
+ id="path877"
43
+ d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
44
+ style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none;"
45
+ transform="scale(0.2) rotate(180) translate(6,0)" />
46
+ </marker>
47
+ <marker
48
+ inkscape:stockid="Arrow1Mend"
49
+ orient="auto"
50
+ refY="0.0"
51
+ refX="0.0"
52
+ id="Arrow1Mend"
53
+ style="overflow:visible;">
54
+ <path
55
+ id="path871"
56
+ d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
57
+ style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none;"
58
+ transform="scale(0.4) rotate(180) translate(10,0)" />
59
+ </marker>
60
+ <marker
61
+ inkscape:stockid="TriangleOutL"
62
+ orient="auto"
63
+ refY="0.0"
64
+ refX="0.0"
65
+ id="TriangleOutL"
66
+ style="overflow:visible">
67
+ <path
68
+ id="path1005"
69
+ d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z "
70
+ style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none"
71
+ transform="scale(0.8)" />
72
+ </marker>
73
+ <marker
74
+ inkscape:stockid="Arrow2Lend"
75
+ orient="auto"
76
+ refY="0.0"
77
+ refX="0.0"
78
+ id="Arrow2Lend"
79
+ style="overflow:visible;">
80
+ <path
81
+ id="path883"
82
+ style="font-size:12.0;fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round;"
83
+ d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
84
+ transform="scale(1.1) rotate(180) translate(1,0)" />
85
+ </marker>
86
+ <inkscape:perspective
87
+ sodipodi:type="inkscape:persp3d"
88
+ inkscape:vp_x="0 : 240 : 1"
89
+ inkscape:vp_y="0 : 1000 : 0"
90
+ inkscape:vp_z="640 : 240 : 1"
91
+ inkscape:persp3d-origin="320 : 160 : 1"
92
+ id="perspective20" />
93
+ <filter
94
+ inkscape:collect="always"
95
+ id="filter2075">
96
+ <feGaussianBlur
97
+ inkscape:collect="always"
98
+ stdDeviation="0.025"
99
+ id="feGaussianBlur2077" />
100
+ </filter>
101
+ <filter
102
+ inkscape:collect="always"
103
+ id="filter3619">
104
+ <feGaussianBlur
105
+ inkscape:collect="always"
106
+ stdDeviation="0.03"
107
+ id="feGaussianBlur3621" />
108
+ </filter>
109
+ </defs>
110
+ <sodipodi:namedview
111
+ id="base"
112
+ pagecolor="#ffffff"
113
+ bordercolor="#666666"
114
+ borderopacity="1.0"
115
+ inkscape:pageopacity="0.0"
116
+ inkscape:pageshadow="2"
117
+ inkscape:zoom="1.1265625"
118
+ inkscape:cx="320"
119
+ inkscape:cy="240"
120
+ inkscape:current-layer="layer1"
121
+ inkscape:document-units="px"
122
+ showgrid="true"
123
+ borderlayer="true"
124
+ inkscape:window-width="1249"
125
+ inkscape:window-height="946"
126
+ inkscape:window-x="0"
127
+ inkscape:window-y="25">
128
+ <inkscape:grid
129
+ type="xygrid"
130
+ id="grid22"
131
+ empspacing="5"
132
+ visible="true"
133
+ enabled="true"
134
+ snapvisiblegridlinesonly="true"
135
+ spacingx="10px"
136
+ spacingy="10px"
137
+ dotted="false" />
138
+ </sodipodi:namedview>
139
+ <metadata
140
+ id="metadata17">
141
+ <rdf:RDF>
142
+ <cc:Work
143
+ rdf:about="">
144
+ <dc:format>image/svg+xml</dc:format>
145
+ <dc:type
146
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
147
+ <dc:title></dc:title>
148
+ </cc:Work>
149
+ </rdf:RDF>
150
+ </metadata>
151
+ <g
152
+ id="layer1"
153
+ inkscape:label="Layer 1"
154
+ inkscape:groupmode="layer">
155
+ <rect
156
+ style="opacity:0.85093168;fill:#aa0000;fill-opacity:1;stroke:#280b0b;stroke-width:1;stroke-miterlimit:2;stroke-opacity:1;stroke-dasharray:none"
157
+ id="rect24"
158
+ width="40"
159
+ height="60"
160
+ x="560"
161
+ y="220"
162
+ rx="4"
163
+ ry="4" />
164
+ <rect
165
+ ry="4"
166
+ rx="4"
167
+ y="130"
168
+ x="560"
169
+ height="60"
170
+ width="40"
171
+ id="rect802"
172
+ style="opacity:0.85093168;fill:#aa0000;fill-opacity:1;stroke:#280b0b;stroke-width:1;stroke-miterlimit:2;stroke-opacity:1;stroke-dasharray:none" />
173
+ <rect
174
+ style="opacity:0.85093168;fill:#aa0000;fill-opacity:1;stroke:#280b0b;stroke-width:1;stroke-miterlimit:2;stroke-opacity:1;stroke-dasharray:none"
175
+ id="rect804"
176
+ width="40"
177
+ height="60"
178
+ x="190"
179
+ y="140"
180
+ rx="4"
181
+ ry="4"
182
+ inkscape:export-filename="/home/wbzyl/public_git/tutorials/rails3-tutorial/lib/public/images/leniwiec.png"
183
+ inkscape:export-xdpi="90"
184
+ inkscape:export-ydpi="90" />
185
+ <rect
186
+ ry="4"
187
+ rx="4"
188
+ y="30"
189
+ x="560"
190
+ height="60"
191
+ width="40"
192
+ id="rect806"
193
+ style="opacity:0.85093168;fill:#aa0000;fill-opacity:1;stroke:#280b0b;stroke-width:1;stroke-miterlimit:2;stroke-opacity:1;stroke-dasharray:none" />
194
+ <path
195
+ style="opacity:0.78571424;fill:#800000;fill-opacity:1;stroke:#2b0000;stroke-width:1;stroke-miterlimit:2;stroke-opacity:1;stroke-dasharray:none"
196
+ d="m 51,35.0625 c -0.554,0 -1,0.446 -1,1 L 50,44 50,44.0625 50,76 c 0,2.216 1.784,4 4,4 l 52,0 c 2.216,0 4,-1.784 4,-4 l 0,-32 c 0,-2.216 -1.784,-4 -4,-4 l -36,0 0,-3.9375 c 0,-0.554 -0.446,-1 -1,-1 l -18,0 z"
197
+ id="rect828"
198
+ inkscape:export-filename="/home/wbzyl/public_git/tutorials/rails3-tutorial/lib/public/images/leniwiec.png"
199
+ inkscape:export-xdpi="90"
200
+ inkscape:export-ydpi="90" />
201
+ <path
202
+ id="path833"
203
+ d="m 451,135.0625 c -0.554,0 -1,0.446 -1,1 l 0,7.9375 0,0.0625 0,31.9375 c 0,2.216 1.784,4 4,4 l 52,0 c 2.216,0 4,-1.784 4,-4 l 0,-32 c 0,-2.216 -1.784,-4 -4,-4 l -36,0 0,-3.9375 c 0,-0.554 -0.446,-1 -1,-1 l -18,0 z"
204
+ style="opacity:0.78571424;fill:#800000;fill-opacity:1;stroke:#2b0000;stroke-width:1;stroke-miterlimit:2;stroke-opacity:1;stroke-dasharray:none" />
205
+ <path
206
+ style="opacity:0.78571424;fill:#800000;fill-opacity:1;stroke:#2b0000;stroke-width:1;stroke-miterlimit:2;stroke-opacity:1;stroke-dasharray:none"
207
+ d="m 451,35.0625 c -0.554,0 -1,0.446 -1,1 L 450,44 450,44.0625 450,76 c 0,2.216 1.784,4 4,4 l 52,0 c 2.216,0 4,-1.784 4,-4 l 0,-32 c 0,-2.216 -1.784,-4 -4,-4 l -36,0 0,-3.9375 c 0,-0.554 -0.446,-1 -1,-1 l -18,0 z"
208
+ id="path835" />
209
+ <path
210
+ id="path837"
211
+ d="m 121,85.0625 c -0.554,0 -1,0.446 -1,1 L 120,94 120,94.0625 120,126 c 0,2.216 1.784,4 4,4 l 52,0 c 2.216,0 4,-1.784 4,-4 l 0,-32 c 0,-2.216 -1.784,-4 -4,-4 l -36,0 0,-3.9375 c 0,-0.554 -0.446,-1 -1,-1 l -18,0 z"
212
+ style="opacity:0.78571424;fill:#800000;fill-opacity:1;stroke:#2b0000;stroke-width:1;stroke-miterlimit:2;stroke-opacity:1;stroke-dasharray:none"
213
+ inkscape:export-filename="/home/wbzyl/public_git/tutorials/rails3-tutorial/lib/public/images/leniwiec.png"
214
+ inkscape:export-xdpi="90"
215
+ inkscape:export-ydpi="90" />
216
+ <path
217
+ style="fill:none;stroke:#000000;stroke-width:2;stroke-opacity:1;marker-end:url(#Arrow2Mend);opacity:0.66000000000000003;filter:url(#filter2075);stroke-miterlimit:4;stroke-dasharray:none;stroke-linecap:round"
218
+ d="m 80,90 0,20 30,0"
219
+ id="path839"
220
+ inkscape:export-filename="/home/wbzyl/public_git/tutorials/rails3-tutorial/lib/public/images/leniwiec.png"
221
+ inkscape:export-xdpi="90"
222
+ inkscape:export-ydpi="90" />
223
+ <path
224
+ style="stroke-width:2;fill:none;stroke:#000000;stroke-opacity:1;font-size:12;stroke-miterlimit:4;stroke-dasharray:none;marker-end:url(#Arrow2Mend);opacity:0.59999999999999998;filter:url(#filter3619)"
225
+ d="m 150,140 0,30 30,0"
226
+ id="path841"
227
+ inkscape:export-filename="/home/wbzyl/public_git/tutorials/rails3-tutorial/lib/public/images/leniwiec.png"
228
+ inkscape:export-xdpi="90"
229
+ inkscape:export-ydpi="90" />
230
+ <text
231
+ xml:space="preserve"
232
+ style="font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;font-family:MaszynaAEG;-inkscape-font-specification:MaszynaAEG"
233
+ x="120"
234
+ y="60"
235
+ id="text843"
236
+ sodipodi:linespacing="125%"
237
+ inkscape:export-filename="/home/wbzyl/public_git/tutorials/rails3-tutorial/lib/public/images/leniwiec.png"
238
+ inkscape:export-xdpi="90"
239
+ inkscape:export-ydpi="90"><tspan
240
+ sodipodi:role="line"
241
+ id="tspan845"
242
+ x="120"
243
+ y="60">app</tspan></text>
244
+ <text
245
+ xml:space="preserve"
246
+ style="font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;font-family:MaszynaAEG;-inkscape-font-specification:MaszynaAEG"
247
+ x="190"
248
+ y="110"
249
+ id="text847"
250
+ sodipodi:linespacing="125%"
251
+ inkscape:export-filename="/home/wbzyl/public_git/tutorials/rails3-tutorial/lib/public/images/leniwiec.png"
252
+ inkscape:export-xdpi="90"
253
+ inkscape:export-ydpi="90"><tspan
254
+ sodipodi:role="line"
255
+ id="tspan849"
256
+ x="190"
257
+ y="110">models</tspan></text>
258
+ <text
259
+ xml:space="preserve"
260
+ style="font-size:14px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:100%;writing-mode:lr;text-anchor:start;font-family:MaszynaAEG;-inkscape-font-specification:MaszynaAEG Bold"
261
+ x="203.27322"
262
+ y="177.3093"
263
+ id="text851"
264
+ sodipodi:linespacing="100%"><tspan
265
+ sodipodi:role="line"
266
+ id="tspan853"
267
+ x="203.27322"
268
+ y="177.3093" /></text>
269
+ <text
270
+ xml:space="preserve"
271
+ style="font-size:14px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:100%;writing-mode:lr-tb;text-anchor:start;font-family:MaszynaAEG;-inkscape-font-specification:MaszynaAEG Bold"
272
+ x="160"
273
+ y="220"
274
+ id="text855"
275
+ sodipodi:linespacing="100%"
276
+ inkscape:export-filename="/home/wbzyl/public_git/tutorials/rails3-tutorial/lib/public/images/leniwiec.png"
277
+ inkscape:export-xdpi="90"
278
+ inkscape:export-ydpi="90"><tspan
279
+ sodipodi:role="line"
280
+ id="tspan857"
281
+ x="160"
282
+ y="220">leniwiec.rb</tspan></text>
283
+ </g>
284
+ </svg>