comfy_imprint 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,9 +7,6 @@ module ComfyImprint
7
7
  def index
8
8
  redirect_to root_path
9
9
  end
10
- # GET /contacts/1
11
- def show
12
- end
13
10
 
14
11
  # GET /contacts/new
15
12
  def new
@@ -23,7 +20,7 @@ module ComfyImprint
23
20
  # Contact Attempt passed validation so it's safe to mail it.
24
21
  # In the future I may want to impleme nt some kind of delayed_job or redis hook here
25
22
  ContactMailer.contact_email(@contact).deliver
26
- redirect_to @contact#, notice: 'Contact was successfully created.'
23
+ redirect_to :thank_you #, notice: 'Contact was successfully created.'
27
24
  else
28
25
  render action: :new
29
26
  end
@@ -35,6 +32,9 @@ module ComfyImprint
35
32
  redirect_to contacts_url#, notice: 'Contact was successfully destroyed.'
36
33
  end
37
34
 
35
+ def thank_you
36
+ end
37
+
38
38
  private
39
39
  # Use callbacks to share common setup or constraints between actions.
40
40
  def set_contact
@@ -0,0 +1,4 @@
1
+ %h2
2
+ = t('comfy_imprint.contact_us')
3
+ %h4
4
+ = t('.notices.success')
@@ -7,7 +7,7 @@ en:
7
7
  sent_by_name: "Sent by %{name} from %{email}"
8
8
  subject: "Contact Us message from %{email}"
9
9
  contacts:
10
- show:
10
+ thank_you:
11
11
  notices:
12
12
  error: 'You must enter both fields.'
13
13
  success: 'Contact email was successfully sent. Thank you for your inquiry, we will try to get back to you ASAP.'
data/config/routes.rb CHANGED
@@ -1,4 +1,6 @@
1
1
  ComfyImprint::Engine.routes.draw do
2
- resources :contacts , only: [:index, :create, :new, :show]
2
+ resources :contacts , only: [:index, :create, :new]
3
+ match 'thank-you', to: 'contacts#thank_you'
4
+ match 'thank_you', to: 'contacts#thank_you'
3
5
  root to: "contacts#new"
4
6
  end
@@ -1,3 +1,3 @@
1
1
  module ComfyImprint
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
Binary file
@@ -0,0 +1,581 @@
1
+
2
+
3
+ Started GET "/comfy_imprint" for 192.168.1.55 at 2013-07-18 15:18:25 -0500
4
+ Processing by ComfyImprint::ContactsController#new as HTML
5
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/_form.html.haml (124.3ms)
6
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/new.html.haml within layouts/application (153.1ms)
7
+ Completed 200 OK in 272ms (Views: 271.3ms | ActiveRecord: 0.0ms)
8
+
9
+
10
+ Started GET "/comfy_imprint" for 192.168.1.55 at 2013-07-18 15:18:26 -0500
11
+ Processing by ComfyImprint::ContactsController#new as */*
12
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/_form.html.haml (88.5ms)
13
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/new.html.haml within layouts/application (114.8ms)
14
+ Completed 200 OK in 460ms (Views: 460.2ms | ActiveRecord: 0.0ms)
15
+
16
+
17
+ Started GET "/assets/application.css?body=1" for 192.168.1.55 at 2013-07-18 15:18:26 -0500
18
+ Served asset /application.css - 304 Not Modified (10ms)
19
+
20
+
21
+ Started GET "/assets/application.js?body=1" for 192.168.1.55 at 2013-07-18 15:18:26 -0500
22
+ Served asset /application.js - 304 Not Modified (10ms)
23
+
24
+
25
+ Started GET "/assets/jquery_ujs.js?body=1" for 192.168.1.55 at 2013-07-18 15:18:26 -0500
26
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
27
+
28
+
29
+ Started GET "/assets/jquery.js?body=1" for 192.168.1.55 at 2013-07-18 15:18:27 -0500
30
+ Served asset /jquery.js - 304 Not Modified (0ms)
31
+
32
+
33
+ Started GET "/comfy_imprint/" for 192.168.1.55 at 2013-07-18 15:35:08 -0500
34
+ Processing by ComfyImprint::ContactsController#new as HTML
35
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/_form.html.haml (87.2ms)
36
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/new.html.haml within layouts/application (113.8ms)
37
+ Completed 200 OK in 225ms (Views: 224.9ms | ActiveRecord: 0.0ms)
38
+
39
+
40
+ Started GET "/assets/jquery.js?body=1" for 192.168.1.55 at 2013-07-18 15:35:08 -0500
41
+ Served asset /jquery.js - 304 Not Modified (0ms)
42
+
43
+
44
+ Started GET "/comfy_imprint/" for 192.168.1.55 at 2013-07-18 15:35:08 -0500
45
+ Processing by ComfyImprint::ContactsController#new as */*
46
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/_form.html.haml (87.3ms)
47
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/new.html.haml within layouts/application (114.2ms)
48
+ Completed 200 OK in 472ms (Views: 471.9ms | ActiveRecord: 0.0ms)
49
+
50
+
51
+ Started GET "/assets/application.css?body=1" for 192.168.1.55 at 2013-07-18 15:35:09 -0500
52
+ Served asset /application.css - 304 Not Modified (11ms)
53
+
54
+
55
+ Started GET "/assets/jquery_ujs.js?body=1" for 192.168.1.55 at 2013-07-18 15:35:09 -0500
56
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
57
+
58
+
59
+ Started GET "/assets/application.js?body=1" for 192.168.1.55 at 2013-07-18 15:35:09 -0500
60
+ Served asset /application.js - 304 Not Modified (12ms)
61
+ Connecting to database specified by database.yml
62
+
63
+
64
+ Started POST "/comfy_imprint/contacts" for 192.168.1.55 at 2013-07-18 15:50:19 -0500
65
+ Processing by ComfyImprint::ContactsController#create as HTML
66
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"wXAHg1/QubzNKq5AJirZ7oA24rJ5RHJbJibdYdyTFNU=", "contact"=>{"name"=>"", "email"=>"", "phone"=>"", "url"=>"", "company"=>"", "is_subscribed"=>"0", "message"=>""}, "commit"=>"Send Email"}
67
+  (0.1ms) begin transaction
68
+  (0.1ms) rollback transaction
69
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/_form.html.haml (386.6ms)
70
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/new.html.haml within layouts/application (431.9ms)
71
+ Compiled application.css (3ms) (pid 13581)
72
+ Compiled jquery.js (3ms) (pid 13581)
73
+ Compiled jquery_ujs.js (0ms) (pid 13581)
74
+ Compiled application.js (141ms) (pid 13581)
75
+ Completed 200 OK in 1076ms (Views: 959.5ms | ActiveRecord: 11.4ms)
76
+
77
+
78
+ Started GET "/comfy_imprint/contacts" for 192.168.1.55 at 2013-07-18 15:50:21 -0500
79
+ Processing by ComfyImprint::ContactsController#index as */*
80
+ Redirected to http://gorbikoff.dev:3000/comfy_imprint/
81
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
82
+
83
+
84
+ Started GET "/assets/jquery_ujs.js?body=1" for 192.168.1.55 at 2013-07-18 15:50:21 -0500
85
+ Served asset /jquery_ujs.js - 304 Not Modified (10ms)
86
+
87
+
88
+ Started GET "/assets/application.css?body=1" for 192.168.1.55 at 2013-07-18 15:50:21 -0500
89
+ Served asset /application.css - 304 Not Modified (15ms)
90
+
91
+
92
+ Started GET "/assets/jquery.js?body=1" for 192.168.1.55 at 2013-07-18 15:50:21 -0500
93
+ Served asset /jquery.js - 304 Not Modified (13ms)
94
+
95
+
96
+ Started GET "/assets/application.js?body=1" for 192.168.1.55 at 2013-07-18 15:50:22 -0500
97
+ Served asset /application.js - 304 Not Modified (49ms)
98
+
99
+
100
+ Started GET "/comfy_imprint/" for 192.168.1.55 at 2013-07-18 15:50:22 -0500
101
+ Processing by ComfyImprint::ContactsController#new as */*
102
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/_form.html.haml (86.7ms)
103
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/new.html.haml within layouts/application (113.9ms)
104
+ Completed 200 OK in 442ms (Views: 441.2ms | ActiveRecord: 0.0ms)
105
+
106
+
107
+ Started POST "/comfy_imprint/contacts" for 192.168.1.55 at 2013-07-18 15:50:32 -0500
108
+ Processing by ComfyImprint::ContactsController#create as HTML
109
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"wXAHg1/QubzNKq5AJirZ7oA24rJ5RHJbJibdYdyTFNU=", "contact"=>{"name"=>"", "email"=>"nick@gorbikoff.com", "phone"=>"", "url"=>"", "company"=>"", "is_subscribed"=>"0", "message"=>"sdfasd klasd fk; k;sladfksfsad"}, "commit"=>"Send Email"}
110
+  (0.1ms) begin transaction
111
+  (0.0ms) rollback transaction
112
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/_form.html.haml (88.4ms)
113
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/new.html.haml within layouts/application (114.1ms)
114
+ Completed 200 OK in 216ms (Views: 214.0ms | ActiveRecord: 0.1ms)
115
+
116
+
117
+ Started GET "/assets/application.css?body=1" for 192.168.1.55 at 2013-07-18 15:50:32 -0500
118
+ Served asset /application.css - 304 Not Modified (17ms)
119
+
120
+
121
+ Started GET "/comfy_imprint/contacts" for 192.168.1.55 at 2013-07-18 15:50:32 -0500
122
+ Processing by ComfyImprint::ContactsController#index as */*
123
+ Redirected to http://gorbikoff.dev:3000/comfy_imprint/
124
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
125
+
126
+
127
+ Started GET "/assets/jquery.js?body=1" for 192.168.1.55 at 2013-07-18 15:50:32 -0500
128
+ Served asset /jquery.js - 304 Not Modified (0ms)
129
+
130
+
131
+ Started GET "/assets/jquery_ujs.js?body=1" for 192.168.1.55 at 2013-07-18 15:50:32 -0500
132
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
133
+
134
+
135
+ Started GET "/assets/application.js?body=1" for 192.168.1.55 at 2013-07-18 15:50:32 -0500
136
+ Served asset /application.js - 304 Not Modified (11ms)
137
+
138
+
139
+ Started GET "/comfy_imprint/" for 192.168.1.55 at 2013-07-18 15:50:32 -0500
140
+ Processing by ComfyImprint::ContactsController#new as */*
141
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/_form.html.haml (87.2ms)
142
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/new.html.haml within layouts/application (114.6ms)
143
+ Completed 200 OK in 437ms (Views: 436.8ms | ActiveRecord: 0.0ms)
144
+
145
+
146
+ Started POST "/comfy_imprint/contacts" for 192.168.1.55 at 2013-07-18 15:50:39 -0500
147
+ Processing by ComfyImprint::ContactsController#create as HTML
148
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"wXAHg1/QubzNKq5AJirZ7oA24rJ5RHJbJibdYdyTFNU=", "contact"=>{"name"=>"", "email"=>"nick@gorbikoff.com", "phone"=>"", "url"=>"", "company"=>"", "is_subscribed"=>"0", "message"=>"sdfasd klasd fk"}, "commit"=>"Send Email"}
149
+  (0.1ms) begin transaction
150
+ SQL (24.4ms) INSERT INTO "comfy_imprint_contacts" ("company", "created_at", "email", "is_subscribed", "message", "name", "phone", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["company", ""], ["created_at", Thu, 18 Jul 2013 20:50:39 UTC +00:00], ["email", "nick@gorbikoff.com"], ["is_subscribed", false], ["message", "sdfasd klasd fk"], ["name", ""], ["phone", ""], ["updated_at", Thu, 18 Jul 2013 20:50:39 UTC +00:00], ["url", ""]]
151
+  (2.8ms) commit transaction
152
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contact_mailer/contact_email.html.haml (1.8ms)
153
+
154
+ Sent mail to r2.d2@galactic-republic.space (99ms)
155
+ Date: Thu, 18 Jul 2013 15:50:41 -0500
156
+ From: system@death-star.space
157
+ To: r2.d2@galactic-republic.space
158
+ Message-ID: <51e85521484c1_350d3f813ce4bd38486b7@dev.mail>
159
+ Subject: Contact us form submission from Dummy
160
+ Mime-Version: 1.0
161
+ Content-Type: text/html;
162
+ charset=UTF-8
163
+ Content-Transfer-Encoding: 7bit
164
+
165
+ <div class='row'>
166
+ <span class='label'>
167
+ <strong>
168
+ Id :
169
+ </strong>
170
+ </span>
171
+ <span class='value'>
172
+ 2
173
+ </span>
174
+ </div>
175
+ <div class='row'>
176
+ <span class='label'>
177
+ <strong>
178
+ Name :
179
+ </strong>
180
+ </span>
181
+ <span class='value'>
182
+
183
+ </span>
184
+ </div>
185
+ <div class='row'>
186
+ <span class='label'>
187
+ <strong>
188
+ Email :
189
+ </strong>
190
+ </span>
191
+ <span class='value'>
192
+ nick@gorbikoff.com
193
+ </span>
194
+ </div>
195
+ <div class='row'>
196
+ <span class='label'>
197
+ <strong>
198
+ Phone :
199
+ </strong>
200
+ </span>
201
+ <span class='value'>
202
+
203
+ </span>
204
+ </div>
205
+ <div class='row'>
206
+ <span class='label'>
207
+ <strong>
208
+ Url :
209
+ </strong>
210
+ </span>
211
+ <span class='value'>
212
+
213
+ </span>
214
+ </div>
215
+ <div class='row'>
216
+ <span class='label'>
217
+ <strong>
218
+ Company :
219
+ </strong>
220
+ </span>
221
+ <span class='value'>
222
+
223
+ </span>
224
+ </div>
225
+ <div class='row'>
226
+ <span class='label'>
227
+ <strong>
228
+ Is Subscribed :
229
+ </strong>
230
+ </span>
231
+ <span class='value'>
232
+ false
233
+ </span>
234
+ </div>
235
+ <div class='row'>
236
+ <span class='label'>
237
+ <strong>
238
+ Message :
239
+ </strong>
240
+ </span>
241
+ <span class='value'>
242
+ sdfasd klasd fk
243
+ </span>
244
+ </div>
245
+ <div class='row'>
246
+ <span class='label'>
247
+ <strong>
248
+ Created At :
249
+ </strong>
250
+ </span>
251
+ <span class='value'>
252
+ 2013-07-18 20:50:39 UTC
253
+ </span>
254
+ </div>
255
+ <div class='row'>
256
+ <span class='label'>
257
+ <strong>
258
+ Updated At :
259
+ </strong>
260
+ </span>
261
+ <span class='value'>
262
+ 2013-07-18 20:50:39 UTC
263
+ </span>
264
+ </div>
265
+
266
+ Redirected to
267
+ Completed 500 Internal Server Error in 1662ms
268
+
269
+ NoMethodError (undefined method `thank_you_url' for #<ComfyImprint::ContactsController:0x007f027b0b5570>):
270
+ actionpack (3.2.13) lib/action_dispatch/routing/polymorphic_routes.rb:129:in `polymorphic_url'
271
+ actionpack (3.2.13) lib/action_dispatch/routing/url_for.rb:150:in `url_for'
272
+ actionpack (3.2.13) lib/action_controller/metal/redirecting.rb:105:in `_compute_redirect_to_location'
273
+ actionpack (3.2.13) lib/action_controller/metal/redirecting.rb:74:in `redirect_to'
274
+ actionpack (3.2.13) lib/action_controller/metal/flash.rb:25:in `redirect_to'
275
+ actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:60:in `block in redirect_to'
276
+ activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
277
+ activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
278
+ activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
279
+ actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:59:in `redirect_to'
280
+ /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/controllers/comfy_imprint/contacts_controller.rb:23:in `create'
281
+ actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
282
+ actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
283
+ actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
284
+ actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
285
+ activesupport (3.2.13) lib/active_support/callbacks.rb:414:in `_run__4190000959222272136__process_action__1700461989404624514__callbacks'
286
+ activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
287
+ activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
288
+ activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
289
+ actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
290
+ actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
291
+ actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
292
+ activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
293
+ activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
294
+ activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
295
+ actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
296
+ actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
297
+ activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
298
+ actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
299
+ actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
300
+ actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
301
+ actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
302
+ actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
303
+ actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
304
+ actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
305
+ actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
306
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
307
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
308
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
309
+ actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
310
+ railties (3.2.13) lib/rails/engine.rb:479:in `call'
311
+ railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
312
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
313
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
314
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
315
+ actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
316
+ actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
317
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
318
+ rack (1.4.5) lib/rack/conditionalget.rb:35:in `call'
319
+ actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
320
+ actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
321
+ actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
322
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
323
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
324
+ actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
325
+ activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
326
+ activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
327
+ actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
328
+ activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__171196482068275739__call__1515396068815055996__callbacks'
329
+ activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
330
+ activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
331
+ activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
332
+ actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
333
+ actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
334
+ actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
335
+ actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
336
+ actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
337
+ railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
338
+ railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
339
+ activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
340
+ railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
341
+ actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
342
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
343
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
344
+ activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
345
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
346
+ actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
347
+ railties (3.2.13) lib/rails/engine.rb:479:in `call'
348
+ railties (3.2.13) lib/rails/application.rb:223:in `call'
349
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
350
+ railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
351
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
352
+ /usr/local/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
353
+ /usr/local/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
354
+ /usr/local/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
355
+
356
+
357
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
358
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
359
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.3ms)
360
+
361
+
362
+ Started GET "/comfy_imprint/contacts" for 192.168.1.55 at 2013-07-18 15:50:41 -0500
363
+ Processing by ComfyImprint::ContactsController#index as */*
364
+ Redirected to http://gorbikoff.dev:3000/comfy_imprint/
365
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
366
+
367
+
368
+ Started GET "/comfy_imprint/" for 192.168.1.55 at 2013-07-18 15:50:41 -0500
369
+ Processing by ComfyImprint::ContactsController#new as */*
370
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/_form.html.haml (123.0ms)
371
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/new.html.haml within layouts/application (149.5ms)
372
+ Completed 200 OK in 466ms (Views: 465.3ms | ActiveRecord: 0.0ms)
373
+ Connecting to database specified by database.yml
374
+
375
+
376
+ Started POST "/comfy_imprint/contacts" for 192.168.1.55 at 2013-07-18 15:53:09 -0500
377
+ Processing by ComfyImprint::ContactsController#create as HTML
378
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"wXAHg1/QubzNKq5AJirZ7oA24rJ5RHJbJibdYdyTFNU=", "contact"=>{"name"=>"", "email"=>"nick@gorbikoff.com", "phone"=>"", "url"=>"", "company"=>"", "is_subscribed"=>"0", "message"=>"sdfasd klasd fk"}, "commit"=>"Send Email"}
379
+  (0.1ms) begin transaction
380
+ SQL (22.9ms) INSERT INTO "comfy_imprint_contacts" ("company", "created_at", "email", "is_subscribed", "message", "name", "phone", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["company", ""], ["created_at", Thu, 18 Jul 2013 20:53:10 UTC +00:00], ["email", "nick@gorbikoff.com"], ["is_subscribed", false], ["message", "sdfasd klasd fk"], ["name", ""], ["phone", ""], ["updated_at", Thu, 18 Jul 2013 20:53:10 UTC +00:00], ["url", ""]]
381
+  (2.5ms) commit transaction
382
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contact_mailer/contact_email.html.haml (9.9ms)
383
+
384
+ Sent mail to r2.d2@galactic-republic.space (93ms)
385
+ Date: Thu, 18 Jul 2013 15:53:11 -0500
386
+ From: system@death-star.space
387
+ To: r2.d2@galactic-republic.space
388
+ Message-ID: <51e855b7b917f_356c3fd8d09fdd80750a4@dev.mail>
389
+ Subject: Contact us form submission from Dummy
390
+ Mime-Version: 1.0
391
+ Content-Type: text/html;
392
+ charset=UTF-8
393
+ Content-Transfer-Encoding: 7bit
394
+
395
+ <div class='row'>
396
+ <span class='label'>
397
+ <strong>
398
+ Id :
399
+ </strong>
400
+ </span>
401
+ <span class='value'>
402
+ 3
403
+ </span>
404
+ </div>
405
+ <div class='row'>
406
+ <span class='label'>
407
+ <strong>
408
+ Name :
409
+ </strong>
410
+ </span>
411
+ <span class='value'>
412
+
413
+ </span>
414
+ </div>
415
+ <div class='row'>
416
+ <span class='label'>
417
+ <strong>
418
+ Email :
419
+ </strong>
420
+ </span>
421
+ <span class='value'>
422
+ nick@gorbikoff.com
423
+ </span>
424
+ </div>
425
+ <div class='row'>
426
+ <span class='label'>
427
+ <strong>
428
+ Phone :
429
+ </strong>
430
+ </span>
431
+ <span class='value'>
432
+
433
+ </span>
434
+ </div>
435
+ <div class='row'>
436
+ <span class='label'>
437
+ <strong>
438
+ Url :
439
+ </strong>
440
+ </span>
441
+ <span class='value'>
442
+
443
+ </span>
444
+ </div>
445
+ <div class='row'>
446
+ <span class='label'>
447
+ <strong>
448
+ Company :
449
+ </strong>
450
+ </span>
451
+ <span class='value'>
452
+
453
+ </span>
454
+ </div>
455
+ <div class='row'>
456
+ <span class='label'>
457
+ <strong>
458
+ Is Subscribed :
459
+ </strong>
460
+ </span>
461
+ <span class='value'>
462
+ false
463
+ </span>
464
+ </div>
465
+ <div class='row'>
466
+ <span class='label'>
467
+ <strong>
468
+ Message :
469
+ </strong>
470
+ </span>
471
+ <span class='value'>
472
+ sdfasd klasd fk
473
+ </span>
474
+ </div>
475
+ <div class='row'>
476
+ <span class='label'>
477
+ <strong>
478
+ Created At :
479
+ </strong>
480
+ </span>
481
+ <span class='value'>
482
+ 2013-07-18 20:53:10 UTC
483
+ </span>
484
+ </div>
485
+ <div class='row'>
486
+ <span class='label'>
487
+ <strong>
488
+ Updated At :
489
+ </strong>
490
+ </span>
491
+ <span class='value'>
492
+ 2013-07-18 20:53:10 UTC
493
+ </span>
494
+ </div>
495
+
496
+ Redirected to http://gorbikoff.dev:3000/comfy_imprint/thank_you
497
+ Completed 302 Found in 1757ms (ActiveRecord: 36.8ms)
498
+
499
+
500
+ Started GET "/comfy_imprint/thank_you" for 192.168.1.55 at 2013-07-18 15:53:11 -0500
501
+ Processing by ComfyImprint::ContactsController#thank_you as HTML
502
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/thank_you.html.haml within layouts/application (40.2ms)
503
+ Completed 200 OK in 179ms (Views: 178.8ms | ActiveRecord: 0.0ms)
504
+
505
+
506
+ Started GET "/assets/application.css?body=1" for 192.168.1.55 at 2013-07-18 15:53:12 -0500
507
+ Served asset /application.css - 304 Not Modified (23ms)
508
+
509
+
510
+ Started GET "/assets/application.js?body=1" for 192.168.1.55 at 2013-07-18 15:53:12 -0500
511
+ Served asset /application.js - 304 Not Modified (21ms)
512
+
513
+
514
+ Started GET "/assets/jquery.js?body=1" for 192.168.1.55 at 2013-07-18 15:53:12 -0500
515
+ Served asset /jquery.js - 304 Not Modified (12ms)
516
+
517
+
518
+ Started GET "/comfy_imprint/thank_you" for 192.168.1.55 at 2013-07-18 15:53:12 -0500
519
+ Processing by ComfyImprint::ContactsController#thank_you as */*
520
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/thank_you.html.haml within layouts/application (1.1ms)
521
+ Completed 200 OK in 335ms (Views: 334.9ms | ActiveRecord: 0.0ms)
522
+
523
+
524
+ Started GET "/assets/jquery_ujs.js?body=1" for 192.168.1.55 at 2013-07-18 15:53:12 -0500
525
+ Served asset /jquery_ujs.js - 304 Not Modified (10ms)
526
+
527
+
528
+ Started GET "/comfy_imprint/thank_you" for 192.168.1.55 at 2013-07-18 15:54:17 -0500
529
+ Processing by ComfyImprint::ContactsController#thank_you as HTML
530
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/thank_you.html.haml within layouts/application (8.9ms)
531
+ Completed 200 OK in 121ms (Views: 120.6ms | ActiveRecord: 0.0ms)
532
+
533
+
534
+ Started GET "/assets/application.css?body=1" for 192.168.1.55 at 2013-07-18 15:54:17 -0500
535
+ Served asset /application.css - 304 Not Modified (18ms)
536
+
537
+
538
+ Started GET "/assets/application.js?body=1" for 192.168.1.55 at 2013-07-18 15:54:18 -0500
539
+ Served asset /application.js - 304 Not Modified (9ms)
540
+
541
+
542
+ Started GET "/assets/jquery.js?body=1" for 192.168.1.55 at 2013-07-18 15:54:18 -0500
543
+ Served asset /jquery.js - 304 Not Modified (0ms)
544
+
545
+
546
+ Started GET "/comfy_imprint/thank_you" for 192.168.1.55 at 2013-07-18 15:54:18 -0500
547
+ Processing by ComfyImprint::ContactsController#thank_you as */*
548
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/thank_you.html.haml within layouts/application (1.1ms)
549
+ Completed 200 OK in 329ms (Views: 329.1ms | ActiveRecord: 0.0ms)
550
+
551
+
552
+ Started GET "/assets/jquery_ujs.js?body=1" for 192.168.1.55 at 2013-07-18 15:54:18 -0500
553
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
554
+
555
+
556
+ Started GET "/comfy_imprint/thank_you" for 192.168.1.55 at 2013-07-18 15:54:31 -0500
557
+ Processing by ComfyImprint::ContactsController#thank_you as HTML
558
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/thank_you.html.haml within layouts/application (41.3ms)
559
+ Completed 200 OK in 158ms (Views: 157.9ms | ActiveRecord: 0.0ms)
560
+
561
+
562
+ Started GET "/assets/jquery.js?body=1" for 192.168.1.55 at 2013-07-18 15:54:31 -0500
563
+ Served asset /jquery.js - 304 Not Modified (1ms)
564
+
565
+
566
+ Started GET "/assets/application.css?body=1" for 192.168.1.55 at 2013-07-18 15:54:32 -0500
567
+ Served asset /application.css - 304 Not Modified (9ms)
568
+
569
+
570
+ Started GET "/comfy_imprint/thank_you" for 192.168.1.55 at 2013-07-18 15:54:32 -0500
571
+ Processing by ComfyImprint::ContactsController#thank_you as */*
572
+ Rendered /mnt/cdrive/Projects/Code/ruby/comfy_imprint/app/views/comfy_imprint/contacts/thank_you.html.haml within layouts/application (1.1ms)
573
+ Completed 200 OK in 332ms (Views: 331.6ms | ActiveRecord: 0.0ms)
574
+
575
+
576
+ Started GET "/assets/jquery_ujs.js?body=1" for 192.168.1.55 at 2013-07-18 15:54:32 -0500
577
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
578
+
579
+
580
+ Started GET "/assets/application.js?body=1" for 192.168.1.55 at 2013-07-18 15:54:32 -0500
581
+ Served asset /application.js - 304 Not Modified (13ms)
@@ -1 +1 @@
1
- 8313
1
+ 13676
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comfy_imprint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -157,7 +157,7 @@ files:
157
157
  - app/views/admin/comfy_imprint/contacts/new.html.haml
158
158
  - app/views/admin/comfy_imprint/contacts/show.html.haml
159
159
  - app/views/comfy_imprint/contacts/new.html.haml
160
- - app/views/comfy_imprint/contacts/show.html.haml
160
+ - app/views/comfy_imprint/contacts/thank_you.html.haml
161
161
  - app/views/comfy_imprint/contacts/_form.html.haml
162
162
  - app/views/comfy_imprint/contacts/_submission.html.haml
163
163
  - app/views/comfy_imprint/contact_mailer/contact_email.html.haml
@@ -209,6 +209,16 @@ files:
209
209
  - test/dummy/Rakefile
210
210
  - test/dummy/README.rdoc
211
211
  - test/dummy/script/rails
212
+ - test/dummy/tmp/cache/assets/CA5/320/sprockets%2F14c81d130f565f9dad70d1b861339321
213
+ - test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
214
+ - test/dummy/tmp/cache/assets/D1C/AB0/sprockets%2Feff8385ae06988716d71bc33ba55546a
215
+ - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
216
+ - test/dummy/tmp/cache/assets/D49/8E0/sprockets%2Ff1460ae88a741d099a1375a9ffd77e1d
217
+ - test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
218
+ - test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
219
+ - test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
220
+ - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
221
+ - test/dummy/tmp/cache/assets/E2E/850/sprockets%2F8b0b4e3c36518fbfa0e35a6eecff85dc
212
222
  - test/dummy/tmp/pids/server.pid
213
223
  - test/fixtures/comfy_imprint/contacts.yml
214
224
  - test/helpers/comfy_imprint/contacts_helper_test.rb
@@ -231,7 +241,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
231
241
  version: '0'
232
242
  segments:
233
243
  - 0
234
- hash: 691116883
244
+ hash: -976080623
235
245
  required_rubygems_version: !ruby/object:Gem::Requirement
236
246
  none: false
237
247
  requirements:
@@ -240,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
250
  version: '0'
241
251
  segments:
242
252
  - 0
243
- hash: 691116883
253
+ hash: -976080623
244
254
  requirements: []
245
255
  rubyforge_project:
246
256
  rubygems_version: 1.8.24
@@ -282,6 +292,16 @@ test_files:
282
292
  - test/dummy/Rakefile
283
293
  - test/dummy/README.rdoc
284
294
  - test/dummy/script/rails
295
+ - test/dummy/tmp/cache/assets/CA5/320/sprockets%2F14c81d130f565f9dad70d1b861339321
296
+ - test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
297
+ - test/dummy/tmp/cache/assets/D1C/AB0/sprockets%2Feff8385ae06988716d71bc33ba55546a
298
+ - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
299
+ - test/dummy/tmp/cache/assets/D49/8E0/sprockets%2Ff1460ae88a741d099a1375a9ffd77e1d
300
+ - test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
301
+ - test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
302
+ - test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
303
+ - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
304
+ - test/dummy/tmp/cache/assets/E2E/850/sprockets%2F8b0b4e3c36518fbfa0e35a6eecff85dc
285
305
  - test/dummy/tmp/pids/server.pid
286
306
  - test/fixtures/comfy_imprint/contacts.yml
287
307
  - test/helpers/comfy_imprint/contacts_helper_test.rb
@@ -1,4 +0,0 @@
1
- %h2
2
- = t('comfy_imprint.contact_us')
3
- = render 'submission'
4
- = t('.notices.success')