help_popups 0.1.0 → 0.1.1

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.
@@ -2,18 +2,22 @@ module HelpPopups
2
2
  module ApplicationHelper
3
3
  def help_popup(topic_code)
4
4
  @topic = Topic.where(:code => topic_code).first
5
- return_html = "<div id='help_popup_" + topic_code + "' class='help_popup' style='display:none'>"
6
- return_html = return_html + " <div style='border-bottom:1px solid #333333'>"
7
- return_html = return_html + " <div style='float:left' class='help_popup_title'>" + @topic.title + "</div>"
8
- return_html = return_html + " <div style='float:right'>"
9
- return_html = return_html + " <a href='#' style='color:#FF0000;font-weight:bold;text-decoration:none' onclick='document.getElementById(\"help_popup_" + topic_code + "\").style.display=\"none\";'>X</a>"
10
- return_html = return_html + " </div>"
11
- return_html = return_html + " <div style='clear:both'></div>"
12
- return_html = return_html + " </div>"
13
- return_html = return_html + " <div class='help_popup_body'>" + @topic.body.html_safe + "</div>"
14
- return_html = return_html + "</div>"
15
- return_html = return_html + image_tag("help_popup.gif", :title => @topic.title, :style => "cursor:pointer", :onclick => "document.getElementById(\"help_popup_" + topic_code + "\").style.display=\"inline\";")
16
- return_html.html_safe
5
+ if (@topic.nil?)
6
+ return_html = image_tag("help_popup.gif", :title => "Topic Missing", :style => "cursor:pointer", :onclick => "alert('Unrecognized Help Code. Please contact Administrator');")
7
+ else
8
+ return_html = "<div id='help_popup_" + topic_code + "' class='help_popup' style='display:none'>"
9
+ return_html = return_html + " <div style='border-bottom:1px solid #333333'>"
10
+ return_html = return_html + " <div style='float:left' class='help_popup_title'>" + @topic.title + "</div>"
11
+ return_html = return_html + " <div style='float:right'>"
12
+ return_html = return_html + " <a href='#' style='color:#FF0000;font-weight:bold;text-decoration:none' onclick='document.getElementById(\"help_popup_" + topic_code + "\").style.display=\"none\";'>X</a>"
13
+ return_html = return_html + " </div>"
14
+ return_html = return_html + " <div style='clear:both'></div>"
15
+ return_html = return_html + " </div>"
16
+ return_html = return_html + " <div class='help_popup_body'>" + @topic.body.html_safe + "</div>"
17
+ return_html = return_html + "</div>"
18
+ return_html = return_html + image_tag("help_popup.gif", :title => @topic.title, :style => "cursor:pointer", :onclick => "document.getElementById(\"help_popup_" + topic_code + "\").style.display=\"inline\";")
19
+ return_html.html_safe
20
+ end
17
21
  end
18
22
  end
19
23
  end
@@ -20204,3 +20204,524 @@ Served asset /pages.js - 304 Not Modified (0ms)
20204
20204
 
20205
20205
  Started GET "/assets/help_popup.gif" for 192.168.1.138 at Tue Jul 24 00:29:45 -0600 2012
20206
20206
  Served asset /help_popup.gif - 304 Not Modified (0ms)
20207
+
20208
+
20209
+ Started GET "/help_popups/" for 192.168.1.138 at Tue Jul 24 02:02:44 -0600 2012
20210
+ Connecting to database specified by database.yml
20211
+
20212
+ ActionController::RoutingError (No route matches [GET] "/help_popups"):
20213
+ actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
20214
+ actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
20215
+ railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
20216
+ railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
20217
+ actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
20218
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
20219
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
20220
+ activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
20221
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
20222
+ actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
20223
+ railties (3.2.6) lib/rails/engine.rb:479:in `call'
20224
+ railties (3.2.6) lib/rails/application.rb:220:in `call'
20225
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
20226
+ railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
20227
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
20228
+ /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
20229
+ /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
20230
+ /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
20231
+ /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start'
20232
+ /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
20233
+ /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
20234
+ /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each'
20235
+ /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
20236
+ /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
20237
+ /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
20238
+ rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
20239
+ rack (1.4.1) lib/rack/server.rb:265:in `start'
20240
+ railties (3.2.6) lib/rails/commands/server.rb:70:in `start'
20241
+ railties (3.2.6) lib/rails/commands.rb:55
20242
+ railties (3.2.6) lib/rails/commands.rb:50:in `tap'
20243
+ railties (3.2.6) lib/rails/commands.rb:50
20244
+ script/rails:6:in `require'
20245
+ script/rails:6
20246
+
20247
+
20248
+ Rendered /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (9.5ms)
20249
+
20250
+
20251
+ Started GET "/help_popups" for 192.168.1.138 at Tue Jul 24 02:02:48 -0600 2012
20252
+
20253
+ ActionController::RoutingError (No route matches [GET] "/help_popups"):
20254
+ actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
20255
+ actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
20256
+ railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
20257
+ railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
20258
+ actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
20259
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
20260
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
20261
+ activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
20262
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
20263
+ actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
20264
+ railties (3.2.6) lib/rails/engine.rb:479:in `call'
20265
+ railties (3.2.6) lib/rails/application.rb:220:in `call'
20266
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
20267
+ railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
20268
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
20269
+ /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
20270
+ /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
20271
+ /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
20272
+ /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start'
20273
+ /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
20274
+ /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
20275
+ /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each'
20276
+ /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
20277
+ /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
20278
+ /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
20279
+ rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
20280
+ rack (1.4.1) lib/rack/server.rb:265:in `start'
20281
+ railties (3.2.6) lib/rails/commands/server.rb:70:in `start'
20282
+ railties (3.2.6) lib/rails/commands.rb:55
20283
+ railties (3.2.6) lib/rails/commands.rb:50:in `tap'
20284
+ railties (3.2.6) lib/rails/commands.rb:50
20285
+ script/rails:6:in `require'
20286
+ script/rails:6
20287
+
20288
+
20289
+ Rendered /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.9ms)
20290
+
20291
+
20292
+ Started GET "/help_popups" for 192.168.1.138 at Tue Jul 24 02:03:53 -0600 2012
20293
+ Connecting to database specified by database.yml
20294
+
20295
+ ActionController::RoutingError (No route matches [GET] "/help_popups"):
20296
+ actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
20297
+ actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
20298
+ railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
20299
+ railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
20300
+ actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
20301
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
20302
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
20303
+ activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
20304
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
20305
+ actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
20306
+ railties (3.2.6) lib/rails/engine.rb:479:in `call'
20307
+ railties (3.2.6) lib/rails/application.rb:220:in `call'
20308
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
20309
+ railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
20310
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
20311
+ /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
20312
+ /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
20313
+ /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
20314
+ /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start'
20315
+ /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
20316
+ /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
20317
+ /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each'
20318
+ /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
20319
+ /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
20320
+ /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
20321
+ rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
20322
+ rack (1.4.1) lib/rack/server.rb:265:in `start'
20323
+ railties (3.2.6) lib/rails/commands/server.rb:70:in `start'
20324
+ railties (3.2.6) lib/rails/commands.rb:55
20325
+ railties (3.2.6) lib/rails/commands.rb:50:in `tap'
20326
+ railties (3.2.6) lib/rails/commands.rb:50
20327
+ script/rails:6:in `require'
20328
+ script/rails:6
20329
+
20330
+
20331
+ Rendered /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (4.8ms)
20332
+
20333
+
20334
+ Started GET "/help_popups" for 192.168.1.138 at Tue Jul 24 02:05:02 -0600 2012
20335
+ Connecting to database specified by database.yml
20336
+
20337
+ ActionController::RoutingError (No route matches [GET] "/help_popups"):
20338
+ actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
20339
+ actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
20340
+ railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
20341
+ railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
20342
+ actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
20343
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
20344
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
20345
+ activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
20346
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
20347
+ actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
20348
+ railties (3.2.6) lib/rails/engine.rb:479:in `call'
20349
+ railties (3.2.6) lib/rails/application.rb:220:in `call'
20350
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
20351
+ railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
20352
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
20353
+ /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
20354
+ /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
20355
+ /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
20356
+ /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start'
20357
+ /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
20358
+ /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
20359
+ /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each'
20360
+ /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
20361
+ /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
20362
+ /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
20363
+ rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
20364
+ rack (1.4.1) lib/rack/server.rb:265:in `start'
20365
+ railties (3.2.6) lib/rails/commands/server.rb:70:in `start'
20366
+ railties (3.2.6) lib/rails/commands.rb:55
20367
+ railties (3.2.6) lib/rails/commands.rb:50:in `tap'
20368
+ railties (3.2.6) lib/rails/commands.rb:50
20369
+ script/rails:6:in `require'
20370
+ script/rails:6
20371
+
20372
+
20373
+ Rendered /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (5.0ms)
20374
+
20375
+
20376
+ Started GET "/help_popups" for 192.168.1.138 at Tue Jul 24 02:06:48 -0600 2012
20377
+ Connecting to database specified by database.yml
20378
+
20379
+ ActionController::RoutingError (No route matches [GET] "/help_popups"):
20380
+ actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
20381
+ actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
20382
+ railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
20383
+ railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
20384
+ actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
20385
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
20386
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
20387
+ activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
20388
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
20389
+ actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
20390
+ railties (3.2.6) lib/rails/engine.rb:479:in `call'
20391
+ railties (3.2.6) lib/rails/application.rb:220:in `call'
20392
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
20393
+ railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
20394
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
20395
+ /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
20396
+ /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
20397
+ /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
20398
+ /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start'
20399
+ /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
20400
+ /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
20401
+ /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each'
20402
+ /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
20403
+ /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
20404
+ /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
20405
+ rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
20406
+ rack (1.4.1) lib/rack/server.rb:265:in `start'
20407
+ railties (3.2.6) lib/rails/commands/server.rb:70:in `start'
20408
+ railties (3.2.6) lib/rails/commands.rb:55
20409
+ railties (3.2.6) lib/rails/commands.rb:50:in `tap'
20410
+ railties (3.2.6) lib/rails/commands.rb:50
20411
+ script/rails:6:in `require'
20412
+ script/rails:6
20413
+
20414
+
20415
+ Rendered /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (5.0ms)
20416
+
20417
+
20418
+ Started GET "/help_popups/topics/" for 192.168.1.138 at Tue Jul 24 02:07:09 -0600 2012
20419
+ Processing by HelpPopups::TopicsController#index as HTML
20420
+  (14.9ms) SELECT COUNT(*) FROM "help_popups_topics" 
20421
+ HelpPopups::Topic Load (0.6ms) SELECT "help_popups_topics".* FROM "help_popups_topics" ORDER BY title
20422
+ Rendered /Users/dereksweet/work/myGems/help_popups/app/views/help_popups/topics/index.html.erb within layouts/help_popups/application (70.1ms)
20423
+ Completed 200 OK in 244ms (Views: 175.7ms | ActiveRecord: 18.9ms)
20424
+
20425
+
20426
+ Started GET "/assets/help_popups/application.css?body=1" for 192.168.1.138 at Tue Jul 24 02:07:10 -0600 2012
20427
+ Served asset /help_popups/application.css - 304 Not Modified (15ms)
20428
+
20429
+
20430
+ Started GET "/assets/jquery_ujs.js?body=1" for 192.168.1.138 at Tue Jul 24 02:07:10 -0600 2012
20431
+ Served asset /jquery_ujs.js - 200 OK (12ms)
20432
+
20433
+
20434
+ Started GET "/assets/help_popups/topics.js?body=1" for 192.168.1.138 at Tue Jul 24 02:07:10 -0600 2012
20435
+ Served asset /help_popups/topics.js - 304 Not Modified (13ms)
20436
+
20437
+
20438
+ Started GET "/assets/jquery.js?body=1" for 192.168.1.138 at Tue Jul 24 02:07:10 -0600 2012
20439
+ Served asset /jquery.js - 200 OK (14ms)
20440
+
20441
+
20442
+ Started GET "/assets/help_popups/application.js?body=1" for 192.168.1.138 at Tue Jul 24 02:07:10 -0600 2012
20443
+ Served asset /help_popups/application.js - 304 Not Modified (71ms)
20444
+
20445
+
20446
+ Started GET "/help_popups/" for 192.168.1.138 at Tue Jul 24 02:07:53 -0600 2012
20447
+ Connecting to database specified by database.yml
20448
+
20449
+ ActionController::RoutingError (uninitialized constant TopicsController):
20450
+ activesupport (3.2.6) lib/active_support/inflector/methods.rb:218:in `constantize'
20451
+ activesupport (3.2.6) lib/active_support/inflector/methods.rb:217:in `each'
20452
+ activesupport (3.2.6) lib/active_support/inflector/methods.rb:217:in `constantize'
20453
+ actionpack (3.2.6) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
20454
+ actionpack (3.2.6) lib/action_dispatch/routing/route_set.rb:54:in `controller'
20455
+ actionpack (3.2.6) lib/action_dispatch/routing/route_set.rb:32:in `call'
20456
+ journey (1.0.4) lib/journey/router.rb:68:in `call'
20457
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
20458
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
20459
+ actionpack (3.2.6) lib/action_dispatch/routing/route_set.rb:600:in `call'
20460
+ actionpack (3.2.6) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
20461
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
20462
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
20463
+ actionpack (3.2.6) lib/action_dispatch/middleware/head.rb:14:in `call'
20464
+ actionpack (3.2.6) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
20465
+ actionpack (3.2.6) lib/action_dispatch/middleware/flash.rb:242:in `call'
20466
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
20467
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
20468
+ actionpack (3.2.6) lib/action_dispatch/middleware/cookies.rb:338:in `call'
20469
+ activerecord (3.2.6) lib/active_record/query_cache.rb:64:in `call'
20470
+ activerecord (3.2.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
20471
+ actionpack (3.2.6) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
20472
+ activesupport (3.2.6) lib/active_support/callbacks.rb:405:in `_run__397314981__call__4__callbacks'
20473
+ activesupport (3.2.6) lib/active_support/callbacks.rb:405:in `send'
20474
+ activesupport (3.2.6) lib/active_support/callbacks.rb:405:in `__run_callback'
20475
+ activesupport (3.2.6) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
20476
+ activesupport (3.2.6) lib/active_support/callbacks.rb:81:in `send'
20477
+ activesupport (3.2.6) lib/active_support/callbacks.rb:81:in `run_callbacks'
20478
+ actionpack (3.2.6) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
20479
+ actionpack (3.2.6) lib/action_dispatch/middleware/reloader.rb:65:in `call'
20480
+ actionpack (3.2.6) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
20481
+ actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
20482
+ actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
20483
+ railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
20484
+ railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
20485
+ actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
20486
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
20487
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
20488
+ activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
20489
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
20490
+ actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
20491
+ railties (3.2.6) lib/rails/engine.rb:479:in `call'
20492
+ railties (3.2.6) lib/rails/application.rb:220:in `call'
20493
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
20494
+ railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
20495
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
20496
+ /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
20497
+ /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
20498
+ /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
20499
+ /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start'
20500
+ /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
20501
+ /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
20502
+ /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each'
20503
+ /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
20504
+ /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
20505
+ /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
20506
+ rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
20507
+ rack (1.4.1) lib/rack/server.rb:265:in `start'
20508
+ railties (3.2.6) lib/rails/commands/server.rb:70:in `start'
20509
+ railties (3.2.6) lib/rails/commands.rb:55
20510
+ railties (3.2.6) lib/rails/commands.rb:50:in `tap'
20511
+ railties (3.2.6) lib/rails/commands.rb:50
20512
+ script/rails:6:in `require'
20513
+ script/rails:6
20514
+
20515
+
20516
+ Rendered /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (4.9ms)
20517
+
20518
+
20519
+ Started GET "/help_popups/" for 192.168.1.138 at Tue Jul 24 02:08:10 -0600 2012
20520
+
20521
+ ArgumentError (controller name should not start with a slash):
20522
+ config/routes.rb:7
20523
+ config/routes.rb:1
20524
+
20525
+
20526
+ Rendered /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.2ms)
20527
+ Rendered /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.8ms)
20528
+ Rendered /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (38.8ms)
20529
+
20530
+
20531
+ Started GET "/help_popups/" for 192.168.1.138 at Tue Jul 24 02:08:20 -0600 2012
20532
+
20533
+ ArgumentError (controller name should not start with a slash):
20534
+ config/routes.rb:7
20535
+ config/routes.rb:1
20536
+
20537
+
20538
+ Rendered /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.2ms)
20539
+ Rendered /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (4.4ms)
20540
+ Rendered /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (32.4ms)
20541
+
20542
+
20543
+ Started GET "/help_popups/" for 192.168.1.138 at Tue Jul 24 02:08:22 -0600 2012
20544
+
20545
+ ActionController::RoutingError (No route matches [GET] "/help_popups"):
20546
+ actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
20547
+ actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
20548
+ railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
20549
+ railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
20550
+ actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
20551
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
20552
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
20553
+ activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
20554
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
20555
+ actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
20556
+ railties (3.2.6) lib/rails/engine.rb:479:in `call'
20557
+ railties (3.2.6) lib/rails/application.rb:220:in `call'
20558
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
20559
+ railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
20560
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
20561
+ /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
20562
+ /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
20563
+ /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
20564
+ /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start'
20565
+ /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
20566
+ /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
20567
+ /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each'
20568
+ /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
20569
+ /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
20570
+ /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
20571
+ rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
20572
+ rack (1.4.1) lib/rack/server.rb:265:in `start'
20573
+ railties (3.2.6) lib/rails/commands/server.rb:70:in `start'
20574
+ railties (3.2.6) lib/rails/commands.rb:55
20575
+ railties (3.2.6) lib/rails/commands.rb:50:in `tap'
20576
+ railties (3.2.6) lib/rails/commands.rb:50
20577
+ script/rails:6:in `require'
20578
+ script/rails:6
20579
+
20580
+
20581
+ Rendered /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.9ms)
20582
+
20583
+
20584
+ Started GET "/" for 192.168.1.138 at Tue Jul 24 08:25:42 -0600 2012
20585
+
20586
+ ActionController::RoutingError (No route matches [GET] "/"):
20587
+ actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
20588
+ actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
20589
+ railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
20590
+ railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
20591
+ actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
20592
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
20593
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
20594
+ activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
20595
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
20596
+ actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:in `call'
20597
+ railties (3.2.6) lib/rails/engine.rb:479:in `call'
20598
+ railties (3.2.6) lib/rails/application.rb:220:in `call'
20599
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
20600
+ railties (3.2.6) lib/rails/rack/log_tailer.rb:17:in `call'
20601
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
20602
+ /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
20603
+ /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
20604
+ /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
20605
+ /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start'
20606
+ /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
20607
+ /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
20608
+ /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each'
20609
+ /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
20610
+ /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
20611
+ /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
20612
+ rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
20613
+ rack (1.4.1) lib/rack/server.rb:265:in `start'
20614
+ railties (3.2.6) lib/rails/commands/server.rb:70:in `start'
20615
+ railties (3.2.6) lib/rails/commands.rb:55
20616
+ railties (3.2.6) lib/rails/commands.rb:50:in `tap'
20617
+ railties (3.2.6) lib/rails/commands.rb:50
20618
+ script/rails:6:in `require'
20619
+ script/rails:6
20620
+
20621
+
20622
+ Rendered /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.2.6/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.9ms)
20623
+
20624
+
20625
+ Started GET "/test_popup" for 192.168.1.138 at Tue Jul 24 08:25:48 -0600 2012
20626
+ Processing by PagesController#test_popup as HTML
20627
+ HelpPopups::Topic Load (0.5ms) SELECT "help_popups_topics".* FROM "help_popups_topics" WHERE "help_popups_topics"."code" = 'BACON' LIMIT 1
20628
+ Rendered pages/test_popup.html.erb within layouts/application (213.3ms)
20629
+ Completed 200 OK in 302ms (Views: 296.5ms | ActiveRecord: 4.0ms)
20630
+
20631
+
20632
+ Started GET "/assets/application.css?body=1" for 192.168.1.138 at Tue Jul 24 08:25:49 -0600 2012
20633
+ Served asset /application.css - 304 Not Modified (32ms)
20634
+
20635
+
20636
+ Started GET "/assets/pages.css?body=1" for 192.168.1.138 at Tue Jul 24 08:25:49 -0600 2012
20637
+ Served asset /pages.css - 304 Not Modified (10ms)
20638
+
20639
+
20640
+ Started GET "/assets/jquery.js?body=1" for 192.168.1.138 at Tue Jul 24 08:25:49 -0600 2012
20641
+ Served asset /jquery.js - 304 Not Modified (14ms)
20642
+
20643
+
20644
+ Started GET "/assets/jquery_ujs.js?body=1" for 192.168.1.138 at Tue Jul 24 08:25:49 -0600 2012
20645
+ Served asset /jquery_ujs.js - 304 Not Modified (12ms)
20646
+
20647
+
20648
+ Started GET "/assets/pages.js?body=1" for 192.168.1.138 at Tue Jul 24 08:25:49 -0600 2012
20649
+ Served asset /pages.js - 304 Not Modified (9ms)
20650
+
20651
+
20652
+ Started GET "/assets/application.js?body=1" for 192.168.1.138 at Tue Jul 24 08:25:49 -0600 2012
20653
+ Served asset /application.js - 200 OK (49ms)
20654
+
20655
+
20656
+ Started GET "/assets/help_popup.gif" for 192.168.1.138 at Tue Jul 24 08:25:50 -0600 2012
20657
+ Served asset /help_popup.gif - 304 Not Modified (6ms)
20658
+
20659
+
20660
+ Started GET "/test_popup" for 192.168.1.138 at Tue Jul 24 08:26:08 -0600 2012
20661
+ Processing by PagesController#test_popup as HTML
20662
+ HelpPopups::Topic Load (0.5ms) SELECT "help_popups_topics".* FROM "help_popups_topics" WHERE "help_popups_topics"."code" = 'B2ACON' LIMIT 1
20663
+ Rendered pages/test_popup.html.erb within layouts/application (6.0ms)
20664
+ Completed 200 OK in 32ms (Views: 30.7ms | ActiveRecord: 0.5ms)
20665
+
20666
+
20667
+ Started GET "/assets/pages.css?body=1" for 192.168.1.138 at Tue Jul 24 08:26:09 -0600 2012
20668
+ Served asset /pages.css - 304 Not Modified (0ms)
20669
+
20670
+
20671
+ Started GET "/assets/jquery.js?body=1" for 192.168.1.138 at Tue Jul 24 08:26:09 -0600 2012
20672
+ Served asset /jquery.js - 304 Not Modified (0ms)
20673
+
20674
+
20675
+ Started GET "/assets/jquery_ujs.js?body=1" for 192.168.1.138 at Tue Jul 24 08:26:09 -0600 2012
20676
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
20677
+
20678
+
20679
+ Started GET "/assets/pages.js?body=1" for 192.168.1.138 at Tue Jul 24 08:26:09 -0600 2012
20680
+ Served asset /pages.js - 304 Not Modified (0ms)
20681
+
20682
+
20683
+ Started GET "/assets/application.css?body=1" for 192.168.1.138 at Tue Jul 24 08:26:09 -0600 2012
20684
+ Served asset /application.css - 304 Not Modified (1ms)
20685
+
20686
+
20687
+ Started GET "/assets/application.js?body=1" for 192.168.1.138 at Tue Jul 24 08:26:09 -0600 2012
20688
+ Served asset /application.js - 304 Not Modified (2ms)
20689
+
20690
+
20691
+ Started GET "/assets/help_popup.gif" for 192.168.1.138 at Tue Jul 24 08:26:09 -0600 2012
20692
+ Served asset /help_popup.gif - 304 Not Modified (0ms)
20693
+
20694
+
20695
+ Started GET "/test_popup" for 192.168.1.138 at Tue Jul 24 08:26:16 -0600 2012
20696
+ Processing by PagesController#test_popup as HTML
20697
+ HelpPopups::Topic Load (0.5ms) SELECT "help_popups_topics".* FROM "help_popups_topics" WHERE "help_popups_topics"."code" = 'BACON' LIMIT 1
20698
+ Rendered pages/test_popup.html.erb within layouts/application (6.6ms)
20699
+ Completed 200 OK in 33ms (Views: 31.4ms | ActiveRecord: 0.5ms)
20700
+
20701
+
20702
+ Started GET "/assets/application.css?body=1" for 192.168.1.138 at Tue Jul 24 08:26:16 -0600 2012
20703
+ Served asset /application.css - 304 Not Modified (1ms)
20704
+
20705
+
20706
+ Started GET "/assets/jquery.js?body=1" for 192.168.1.138 at Tue Jul 24 08:26:17 -0600 2012
20707
+ Served asset /jquery.js - 304 Not Modified (0ms)
20708
+
20709
+
20710
+ Started GET "/assets/application.js?body=1" for 192.168.1.138 at Tue Jul 24 08:26:17 -0600 2012
20711
+ Served asset /application.js - 304 Not Modified (14ms)
20712
+
20713
+
20714
+ Started GET "/assets/pages.css?body=1" for 192.168.1.138 at Tue Jul 24 08:26:17 -0600 2012
20715
+ Served asset /pages.css - 304 Not Modified (0ms)
20716
+
20717
+
20718
+ Started GET "/assets/pages.js?body=1" for 192.168.1.138 at Tue Jul 24 08:26:17 -0600 2012
20719
+ Served asset /pages.js - 304 Not Modified (15ms)
20720
+
20721
+
20722
+ Started GET "/assets/jquery_ujs.js?body=1" for 192.168.1.138 at Tue Jul 24 08:26:17 -0600 2012
20723
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
20724
+
20725
+
20726
+ Started GET "/assets/help_popup.gif" for 192.168.1.138 at Tue Jul 24 08:26:17 -0600 2012
20727
+ Served asset /help_popup.gif - 304 Not Modified (0ms)
@@ -1 +1 @@
1
- 50766
1
+ 51513
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: help_popups
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Derek Sweet