hot_date_rails 1.3.3 → 1.4.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9107cd10d6d18706a796b938facceeb7c672ddbb
4
- data.tar.gz: 1bd1af526a3afa11d1050835087ddbb4ae51b4d0
3
+ metadata.gz: 0d6dc9fb10e0f0e4eb053626cb255e772f379695
4
+ data.tar.gz: b8b8deba0606204258c8af224383f8b05afbee4a
5
5
  SHA512:
6
- metadata.gz: 471760c5e6f9785f06af48d74922cb80a8a65181f993d5dc6e187d97962b7d2d8f054ab31c6e56c2b0778703c14e435a7cce7e0418588d899a97474273484532
7
- data.tar.gz: 9dbc0762f0c4e788a2855fdf96ca58573a1942d0d2a1d3bb93402410ce7ff03d30edd7a855b6583519c21dc3a173b34091385b2ceb7df9743d7b5dff427a926d
6
+ metadata.gz: da049b633ed5053fc57085019d149559e80860e0cb82c04f0cc1e50b37a54fcd8b1772c8c10244ed27fcb075954df41ef83b9fae191bbb5d133bdc08eba16194
7
+ data.tar.gz: fd68b77d2238997a65bc0b954962fd90e8e118b96099d996d25683224669398271bf028b282aa9e20423c002e522d235dc4a08df55d1ad8bebcd5ebc8709e83e
@@ -1,51 +1,53 @@
1
1
  module FormHelper
2
2
  class ActionView::Helpers::FormBuilder
3
3
  include ActionView::Helpers::FormTagHelper
4
+ extend HotDateRails::Utils
4
5
 
5
- def date_picker(attr, opts={}, locale_format=nil)
6
- draw_ext_input(attr, "datepicker", locale_format, opts)
7
- end
8
-
9
- def time_picker(attr, opts={}, locale_format=nil)
10
- draw_ext_input(attr, "timepicker", locale_format, opts)
11
- end
12
-
13
- def datetime_picker(attr, opts={}, locale_format=:datetime)
14
- draw_ext_input(attr, "datetimepicker", locale_format, opts)
15
- end
6
+ deprecate_consolidated(%i(date_picker time_picker datetime_picker), :hd_picker)
16
7
 
17
-
8
+ def hd_picker(attr, opts={}, locale_format=nil, cls=nil)
9
+ col_type = object.class.columns_hash[attr.to_s].type
10
+ #Picker css class...if not explicitly specified get it from the type
11
+ cls ||= col_type.to_s + "picker"
12
+ #need to specify datetime in locale file because rails thinks datetime is time
13
+ locale_format ||= :datetime if col_type == :datetime
14
+ draw_ext_input(attr, cls, locale_format, opts)
15
+ end
16
+
18
17
  def hd_label(name = nil, content_or_options = nil, options = nil, &block)
19
18
  label_tag name, content_or_options, options, &block
20
19
  end
21
20
 
22
21
  private
23
22
  def draw_ext_input(attr, cls, locale_format=nil, opts={})
24
- opts.reverse_merge!(html: {})
25
23
  value = object.send(attr) if object.respond_to? attr
26
24
  value = I18n.localize(value, format: locale_format) if value.present?
27
-
28
- #Set html attribute hash here so :class and :id always get overridden in next lines
29
- input_attrs = opts[:html]
30
- input_attrs[:class] = (input_attrs.fetch(:class, "").split(" ") << cls).join(" ")
31
- input_attrs[:id] = attr
32
-
33
- opts[:hd_opts] ||= {}
34
- opts[:data] ||= {}
35
- input_attrs[:data] = opts[:hd_opts].merge(opts[:data])
36
-
37
- #date_format & time_format are the only options that can be passed in at the top level of opts
38
- input_attrs[:data][:date_format] = (opts[:date_format] || HotDateRails.config.date_format)
39
- input_attrs[:data][:time_format] = (opts[:time_format] || HotDateRails.config.time_format)
40
-
41
- #Time grids have default values set in config/initializers/hot_date_rails.rb
42
- input_attrs[:data][:hour_grid] ||= HotDateRails.config.hour_grid
43
- input_attrs[:data][:minute_grid] ||= HotDateRails.config.minute_grid
44
- input_attrs[:data][:second_grid] ||= HotDateRails.config.second_grid
45
-
25
+ input_attrs = InputAttrs.new(attr, cls, opts)
46
26
  text_field_tag("#{attr}", (value || ""), input_attrs) + \
47
27
  self.hidden_field(attr, { :class => attr.to_s + "-alt", :id => "#{attr}_hdn" })
48
28
  end
49
29
 
50
30
  end
31
+
32
+ class InputAttrs < Hash
33
+ def initialize(attr, hd_cls, opts={})
34
+ opts.reverse_merge!(html: {})
35
+ #Set html attribute hash here so :class and :id always get overridden in next lines
36
+ self.merge! opts[:html]
37
+ self[:class] = (self.fetch(:class, "").split(" ") << hd_cls).join(" ")
38
+ self[:id] = attr
39
+ opts[:hd_opts] ||= {}
40
+ opts[:data] ||= {}
41
+ data = opts[:hd_opts].merge(opts[:data])
42
+ hd_config = HotDateRails.config
43
+ #date_format & time_format are the only options that can be passed in at the top level of opts
44
+ data[:date_format] = (opts[:date_format] || hd_config.date_format)
45
+ data[:time_format] = (opts[:time_format] || hd_config.time_format)
46
+ #Time grids have default values set in config/initializers/hot_date_rails.rb
47
+ data[:hour_grid] ||= hd_config.hour_grid
48
+ data[:minute_grid] ||= hd_config.minute_grid
49
+ data[:second_grid] ||= hd_config.second_grid
50
+ self[:data] = data
51
+ end
52
+ end
51
53
  end
@@ -0,0 +1,5 @@
1
+ class AddTimeOfDateToSchedules < ActiveRecord::Migration
2
+ def change
3
+ add_column :schedules, :time_of_date, :datetime
4
+ end
5
+ end
@@ -0,0 +1,11 @@
1
+ module HotDateRails::Utils
2
+ def deprecate(dep_mtd, new_mtd)
3
+ define_method(dep_mtd) do |*args, &block|
4
+ warn "Warning: #{dep_mtd}() is deprecated. In the future please use #{new_mtd}()."
5
+ send(new_mtd, *args, &block)
6
+ end
7
+ end
8
+ def deprecate_consolidated(dep_mtds, new_mtd)
9
+ dep_mtds.each { |mtd| deprecate(mtd, new_mtd) }
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module HotDateRails
2
- VERSION = "1.3.3"
2
+ VERSION = "1.4.0"
3
3
  end
@@ -2,6 +2,7 @@ require "hot_date_rails/engine"
2
2
  require 'coffee-rails'
3
3
  #require 'pry-rails' unless Rails.env == "production"
4
4
  require 'jquery-rails'
5
+ require 'hot_date_rails/utils'
5
6
 
6
7
  module HotDateRails
7
8
  end
@@ -42,6 +42,6 @@ class SchedulesController < ApplicationController
42
42
  def schedule_params
43
43
  params.require(:schedule).permit(:name, :lunchtime, :apocalypse,
44
44
  :birthday, :alarm_setting, :epoch, :christmas, :suppertime, :beer_oclock,
45
- :sleepytime, :party_time, :easter)
45
+ :sleepytime, :party_time, :easter, :date_in_time)
46
46
  end
47
47
  end
@@ -6,23 +6,23 @@
6
6
  </tr>
7
7
  <tr>
8
8
  <td><%= f.hd_label :birthday %></td>
9
- <td><%= f.date_picker :birthday %></td>
9
+ <td><%= f.hd_picker :birthday %></td>
10
10
  </tr>
11
11
  <tr>
12
12
  <td><%= f.hd_label :lunchtime %></td>
13
- <td><%= f.time_picker :lunchtime %></td>
13
+ <td><%= f.hd_picker :lunchtime %></td>
14
14
  </tr>
15
15
  <tr>
16
16
  <td><%= f.hd_label :apocalypse %></td>
17
- <td><%= f.datetime_picker :apocalypse %></td>
17
+ <td><%= f.hd_picker :apocalypse %></td>
18
18
  </tr>
19
19
  <tr>
20
20
  <td><%= f.hd_label :alarm_setting %></td>
21
- <td><%= f.time_picker :alarm_setting, { :time_format => "HH:mm:ss", hd_opts: {:hour_grid => "12"} }, :w_seconds %></td>
21
+ <td><%= f.hd_picker :alarm_setting, { :time_format => "HH:mm:ss", hd_opts: {:hour_grid => "12"} }, :w_seconds %></td>
22
22
  </tr>
23
23
  <tr>
24
24
  <td><%= f.hd_label :suppertime %></td>
25
- <td><%= f.time_picker :suppertime, { :time_format => "h:mm tt" }, :lc_merid %></td>
25
+ <td><%= f.hd_picker :suppertime, { :time_format => "h:mm tt" }, :lc_merid %></td>
26
26
  </tr>
27
27
  <tr>
28
28
  <td><%= f.hd_label :beer_oclock, "Time for beer yet?" %></td>
@@ -30,7 +30,7 @@
30
30
  </tr>
31
31
  <tr>
32
32
  <td><%= f.hd_label :christmas %></td>
33
- <td><%= f.date_picker :christmas, { :date_format => "MM d, yy" }, :full_month %></td>
33
+ <td><%= f.hd_picker :christmas, { :date_format => "MM d, yy" }, :full_month %></td>
34
34
  </tr>
35
35
  <tr>
36
36
  <td><%= f.hd_label :easter %></td>
@@ -6,37 +6,45 @@
6
6
  </tr> -->
7
7
  <tr>
8
8
  <td><%= f.hd_label :lunchtime %></td>
9
- <td><%= f.time_picker :lunchtime, { hd_opts: {current_text: "Current", close_text: "Set", time_suffix: " o'clock"}, data: { my_data: "true" } } %></td>
9
+ <td><%= f.hd_picker :lunchtime, { hd_opts: {current_text: "Current", close_text: "Set", time_suffix: " o'clock"}, data: { my_data: "true" } } %></td>
10
10
  </tr>
11
11
  <tr>
12
12
  <td><%= f.hd_label :suppertime %></td>
13
- <td><%= f.time_picker :suppertime, { data: { my_data: "true" }, html: { class: "css_class my_class" }, hd_opts: { minute_grid: "20" } } %></td>
13
+ <td><%= f.hd_picker :suppertime, { data: { my_data: "true" }, html: { class: "css_class my_class" }, hd_opts: { minute_grid: "20" } } %></td>
14
14
  </tr>
15
15
  <tr>
16
16
  <td><%= f.hd_label :alarm_setting %></td>
17
- <td><%= f.time_picker :alarm_setting, { :time_format => "HH:mm:ss", hd_opts: {:hour_grid => "4", :minute_grid => "10", :second_grid => ""} }, :w_seconds %></td>
17
+ <td><%= f.hd_picker :alarm_setting, { :time_format => "HH:mm:ss", hd_opts: {:hour_grid => "4", :minute_grid => "10", :second_grid => ""} }, :w_seconds %></td>
18
18
  </tr>
19
19
  <tr>
20
20
  <td><%= f.hd_label :birthday %></td>
21
- <td><%= f.date_picker :birthday, { hd_opts: {show_button_panel: true} } %></td>
21
+ <td><%= f.hd_picker :birthday, { hd_opts: {show_button_panel: true} } %></td>
22
22
  </tr>
23
23
  <tr>
24
24
  <td><%= f.hd_label :apocalypse %></td>
25
- <td><%= f.datetime_picker :apocalypse, { hd_opts: {separator: " @ "} } %></td>
25
+ <td><%= f.hd_picker :apocalypse, { hd_opts: {separator: " @ "} } %></td>
26
26
  </tr>
27
27
  <!-- Not passing in locale formats for these because we don't care about format displayed by the system
28
28
  for the tests -->
29
29
  <tr>
30
30
  <td><%= f.hd_label :christmas %></td>
31
- <td><%= f.date_picker :christmas %></td>
31
+ <td><%= f.hd_picker :christmas %></td>
32
32
  </tr>
33
33
  <tr>
34
34
  <td><%= f.hd_label :beer_oclock %></td>
35
- <td><%= f.time_picker :beer_oclock %></td>
35
+ <td><%= f.hd_picker :beer_oclock %></td>
36
36
  </tr>
37
37
  <tr>
38
38
  <td><%= f.hd_label :epoch %></td>
39
- <td><%= f.datetime_picker :epoch %></td>
39
+ <td><%= f.hd_picker :epoch %></td>
40
+ </tr>
41
+ <tr>
42
+ <td><%= f.hd_label :date_in_time %></td>
43
+ <td><%= f.hd_picker :date_in_time, {}, :date_only, "datepicker" %></td>
44
+ </tr>
45
+ <tr>
46
+ <td><%= f.hd_label :time_of_date %></td>
47
+ <td><%= f.hd_picker :time_of_date, {}, :time_only, "timepicker" %></td>
40
48
  </tr>
41
49
  <tr>
42
50
  <td><%= f.submit %></td>
@@ -0,0 +1,3 @@
1
+ <h4>Edit Schedule</h4>
2
+
3
+ <%= render "form_custom" %>
@@ -21,3 +21,12 @@
21
21
 
22
22
  en:
23
23
  hello: "Hello world"
24
+ date:
25
+ formats:
26
+ default: "%m/%d/%Y"
27
+ time:
28
+ formats:
29
+ default: "%H:%M"
30
+ date_only: "%m/%d/%Y"
31
+ time_only: "%H:%M"
32
+
Binary file
@@ -0,0 +1,5 @@
1
+ class AddDateInTimeToSchedules < ActiveRecord::Migration
2
+ def change
3
+ add_column :schedules, :date_in_time, :datetime
4
+ end
5
+ end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20140909013705) do
14
+ ActiveRecord::Schema.define(version: 20141101193750) do
15
15
 
16
16
  create_table "schedules", force: true do |t|
17
17
  t.string "name"
@@ -28,6 +28,8 @@ ActiveRecord::Schema.define(version: 20140909013705) do
28
28
  t.time "sleepytime"
29
29
  t.time "party_time"
30
30
  t.date "easter"
31
+ t.datetime "date_in_time"
32
+ t.datetime "time_of_date"
31
33
  end
32
34
 
33
35
  end
Binary file
@@ -29422,3 +29422,543 @@ Started GET "/assets/ui-icons_ffffff_256x240.png" for 127.0.0.1 at 2014-09-25 16
29422
29422
 
29423
29423
 
29424
29424
  Started GET "/assets/ui-bg_glass_65_ffffff_1x400.png" for 127.0.0.1 at 2014-09-25 16:47:45 -0400
29425
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
29426
+ Migrating to AddDateInTimeToSchedules (20141031221232)
29427
+  (0.1ms) begin transaction
29428
+  (0.7ms) ALTER TABLE "schedules" ADD "date_in_time" datetime
29429
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141031221232"]]
29430
+  (1.1ms) commit transaction
29431
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
29432
+  (1.6ms) CREATE TABLE "schedules" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "birthday" date, "lunchtime" time, "apocalypse" datetime, "epoch" datetime, "christmas" date, "alarm_setting" time, "created_at" datetime, "updated_at" datetime, "suppertime" time, "beer_oclock" time, "sleepytime" time, "party_time" time, "easter" date, "date_in_time" datetime) 
29433
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
29434
+  (0.1ms) select sqlite_version(*)
29435
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
29436
+  (0.1ms) SELECT version FROM "schema_migrations"
29437
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141031221232')
29438
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140827212211')
29439
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140904013919')
29440
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140909013705')
29441
+
29442
+
29443
+ Started GET "/people" for 127.0.0.1 at 2014-11-01 14:31:42 -0400
29444
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
29445
+
29446
+ ActionController::RoutingError (No route matches [GET] "/people"):
29447
+ actionpack (4.1.5) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
29448
+ actionpack (4.1.5) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
29449
+ railties (4.1.5) lib/rails/rack/logger.rb:38:in `call_app'
29450
+ railties (4.1.5) lib/rails/rack/logger.rb:20:in `block in call'
29451
+ activesupport (4.1.5) lib/active_support/tagged_logging.rb:68:in `block in tagged'
29452
+ activesupport (4.1.5) lib/active_support/tagged_logging.rb:26:in `tagged'
29453
+ activesupport (4.1.5) lib/active_support/tagged_logging.rb:68:in `tagged'
29454
+ railties (4.1.5) lib/rails/rack/logger.rb:20:in `call'
29455
+ actionpack (4.1.5) lib/action_dispatch/middleware/request_id.rb:21:in `call'
29456
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
29457
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
29458
+ activesupport (4.1.5) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
29459
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
29460
+ actionpack (4.1.5) lib/action_dispatch/middleware/static.rb:64:in `call'
29461
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
29462
+ railties (4.1.5) lib/rails/engine.rb:514:in `call'
29463
+ railties (4.1.5) lib/rails/application.rb:144:in `call'
29464
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
29465
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
29466
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
29467
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
29468
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
29469
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
29470
+
29471
+
29472
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
29473
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.5ms)
29474
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/routes/_table.html.erb (62.2ms)
29475
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (112.4ms)
29476
+
29477
+
29478
+ Started GET "/schedules" for 127.0.0.1 at 2014-11-01 14:31:46 -0400
29479
+
29480
+ AbstractController::ActionNotFound (The action 'index' could not be found for SchedulesController):
29481
+ actionpack (4.1.5) lib/abstract_controller/base.rb:131:in `process'
29482
+ actionview (4.1.5) lib/action_view/rendering.rb:30:in `process'
29483
+ actionpack (4.1.5) lib/action_controller/metal.rb:196:in `dispatch'
29484
+ actionpack (4.1.5) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
29485
+ actionpack (4.1.5) lib/action_controller/metal.rb:232:in `block in action'
29486
+ actionpack (4.1.5) lib/action_dispatch/routing/route_set.rb:82:in `call'
29487
+ actionpack (4.1.5) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
29488
+ actionpack (4.1.5) lib/action_dispatch/routing/route_set.rb:50:in `call'
29489
+ actionpack (4.1.5) lib/action_dispatch/journey/router.rb:71:in `block in call'
29490
+ actionpack (4.1.5) lib/action_dispatch/journey/router.rb:59:in `each'
29491
+ actionpack (4.1.5) lib/action_dispatch/journey/router.rb:59:in `call'
29492
+ actionpack (4.1.5) lib/action_dispatch/routing/route_set.rb:678:in `call'
29493
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
29494
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
29495
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
29496
+ actionpack (4.1.5) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
29497
+ actionpack (4.1.5) lib/action_dispatch/middleware/flash.rb:254:in `call'
29498
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
29499
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
29500
+ actionpack (4.1.5) lib/action_dispatch/middleware/cookies.rb:560:in `call'
29501
+ activerecord (4.1.5) lib/active_record/query_cache.rb:36:in `call'
29502
+ activerecord (4.1.5) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
29503
+ activerecord (4.1.5) lib/active_record/migration.rb:380:in `call'
29504
+ actionpack (4.1.5) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
29505
+ activesupport (4.1.5) lib/active_support/callbacks.rb:82:in `run_callbacks'
29506
+ actionpack (4.1.5) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
29507
+ actionpack (4.1.5) lib/action_dispatch/middleware/reloader.rb:73:in `call'
29508
+ actionpack (4.1.5) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
29509
+ actionpack (4.1.5) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
29510
+ actionpack (4.1.5) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
29511
+ railties (4.1.5) lib/rails/rack/logger.rb:38:in `call_app'
29512
+ railties (4.1.5) lib/rails/rack/logger.rb:20:in `block in call'
29513
+ activesupport (4.1.5) lib/active_support/tagged_logging.rb:68:in `block in tagged'
29514
+ activesupport (4.1.5) lib/active_support/tagged_logging.rb:26:in `tagged'
29515
+ activesupport (4.1.5) lib/active_support/tagged_logging.rb:68:in `tagged'
29516
+ railties (4.1.5) lib/rails/rack/logger.rb:20:in `call'
29517
+ actionpack (4.1.5) lib/action_dispatch/middleware/request_id.rb:21:in `call'
29518
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
29519
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
29520
+ activesupport (4.1.5) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
29521
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
29522
+ actionpack (4.1.5) lib/action_dispatch/middleware/static.rb:64:in `call'
29523
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
29524
+ railties (4.1.5) lib/rails/engine.rb:514:in `call'
29525
+ railties (4.1.5) lib/rails/application.rb:144:in `call'
29526
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
29527
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
29528
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
29529
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
29530
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
29531
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
29532
+
29533
+
29534
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (0.5ms)
29535
+
29536
+
29537
+ Started GET "/schedules/new" for 127.0.0.1 at 2014-11-01 14:31:55 -0400
29538
+ Processing by SchedulesController#new as HTML
29539
+ Rendered schedules/_form.html.erb (468.7ms)
29540
+ Rendered schedules/new.html.erb within layouts/application (493.3ms)
29541
+ Completed 200 OK in 818ms (Views: 766.4ms | ActiveRecord: 0.5ms)
29542
+
29543
+
29544
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-11-01 14:31:56 -0400
29545
+
29546
+
29547
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-11-01 14:31:56 -0400
29548
+
29549
+
29550
+ Started GET "/assets/ui-bg_highlight-soft_100_eeeeee_1x100.png" for 127.0.0.1 at 2014-11-01 14:31:56 -0400
29551
+
29552
+
29553
+ Started GET "/schedules/new_custom" for 127.0.0.1 at 2014-11-01 14:32:33 -0400
29554
+
29555
+ AbstractController::ActionNotFound (The action 'show' could not be found for SchedulesController):
29556
+ actionpack (4.1.5) lib/abstract_controller/base.rb:131:in `process'
29557
+ actionview (4.1.5) lib/action_view/rendering.rb:30:in `process'
29558
+ actionpack (4.1.5) lib/action_controller/metal.rb:196:in `dispatch'
29559
+ actionpack (4.1.5) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
29560
+ actionpack (4.1.5) lib/action_controller/metal.rb:232:in `block in action'
29561
+ actionpack (4.1.5) lib/action_dispatch/routing/route_set.rb:82:in `call'
29562
+ actionpack (4.1.5) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
29563
+ actionpack (4.1.5) lib/action_dispatch/routing/route_set.rb:50:in `call'
29564
+ actionpack (4.1.5) lib/action_dispatch/journey/router.rb:71:in `block in call'
29565
+ actionpack (4.1.5) lib/action_dispatch/journey/router.rb:59:in `each'
29566
+ actionpack (4.1.5) lib/action_dispatch/journey/router.rb:59:in `call'
29567
+ actionpack (4.1.5) lib/action_dispatch/routing/route_set.rb:678:in `call'
29568
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
29569
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
29570
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
29571
+ actionpack (4.1.5) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
29572
+ actionpack (4.1.5) lib/action_dispatch/middleware/flash.rb:254:in `call'
29573
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
29574
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
29575
+ actionpack (4.1.5) lib/action_dispatch/middleware/cookies.rb:560:in `call'
29576
+ activerecord (4.1.5) lib/active_record/query_cache.rb:36:in `call'
29577
+ activerecord (4.1.5) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
29578
+ activerecord (4.1.5) lib/active_record/migration.rb:380:in `call'
29579
+ actionpack (4.1.5) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
29580
+ activesupport (4.1.5) lib/active_support/callbacks.rb:82:in `run_callbacks'
29581
+ actionpack (4.1.5) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
29582
+ actionpack (4.1.5) lib/action_dispatch/middleware/reloader.rb:73:in `call'
29583
+ actionpack (4.1.5) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
29584
+ actionpack (4.1.5) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
29585
+ actionpack (4.1.5) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
29586
+ railties (4.1.5) lib/rails/rack/logger.rb:38:in `call_app'
29587
+ railties (4.1.5) lib/rails/rack/logger.rb:20:in `block in call'
29588
+ activesupport (4.1.5) lib/active_support/tagged_logging.rb:68:in `block in tagged'
29589
+ activesupport (4.1.5) lib/active_support/tagged_logging.rb:26:in `tagged'
29590
+ activesupport (4.1.5) lib/active_support/tagged_logging.rb:68:in `tagged'
29591
+ railties (4.1.5) lib/rails/rack/logger.rb:20:in `call'
29592
+ actionpack (4.1.5) lib/action_dispatch/middleware/request_id.rb:21:in `call'
29593
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
29594
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
29595
+ activesupport (4.1.5) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
29596
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
29597
+ actionpack (4.1.5) lib/action_dispatch/middleware/static.rb:64:in `call'
29598
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
29599
+ railties (4.1.5) lib/rails/engine.rb:514:in `call'
29600
+ railties (4.1.5) lib/rails/application.rb:144:in `call'
29601
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
29602
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
29603
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
29604
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
29605
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
29606
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
29607
+
29608
+
29609
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (0.7ms)
29610
+
29611
+
29612
+ Started GET "/custom_schedules/new" for 127.0.0.1 at 2014-11-01 14:32:57 -0400
29613
+ Processing by SchedulesController#new_custom as HTML
29614
+ Rendered schedules/_form_custom.html.erb (7.4ms)
29615
+ Rendered schedules/new_custom.html.erb within layouts/application (25.1ms)
29616
+ Completed 200 OK in 70ms (Views: 69.2ms | ActiveRecord: 0.0ms)
29617
+
29618
+
29619
+ Started GET "/assets/ui-bg_gloss-wave_35_f6a828_500x100.png" for 127.0.0.1 at 2014-11-01 14:33:16 -0400
29620
+
29621
+
29622
+ Started GET "/assets/ui-icons_ffffff_256x240.png" for 127.0.0.1 at 2014-11-01 14:33:16 -0400
29623
+
29624
+
29625
+ Started GET "/assets/ui-bg_glass_100_f6f6f6_1x400.png" for 127.0.0.1 at 2014-11-01 14:33:16 -0400
29626
+
29627
+
29628
+ Started GET "/assets/ui-bg_highlight-soft_75_ffe45c_1x100.png" for 127.0.0.1 at 2014-11-01 14:33:16 -0400
29629
+
29630
+
29631
+ Started GET "/assets/ui-bg_glass_100_fdf5ce_1x400.png" for 127.0.0.1 at 2014-11-01 14:39:44 -0400
29632
+
29633
+
29634
+ Started GET "/assets/ui-icons_ef8c08_256x240.png" for 127.0.0.1 at 2014-11-01 14:44:19 -0400
29635
+
29636
+
29637
+ Started GET "/custom_schedules/new" for 127.0.0.1 at 2014-11-01 14:45:32 -0400
29638
+ Processing by SchedulesController#new_custom as HTML
29639
+ Rendered schedules/_form_custom.html.erb (5.7ms)
29640
+ Rendered schedules/new_custom.html.erb within layouts/application (7.0ms)
29641
+ Completed 200 OK in 11ms (Views: 10.9ms | ActiveRecord: 0.0ms)
29642
+
29643
+
29644
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-11-01 14:45:32 -0400
29645
+
29646
+
29647
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-11-01 14:45:32 -0400
29648
+
29649
+
29650
+ Started POST "/schedules" for 127.0.0.1 at 2014-11-01 14:45:44 -0400
29651
+ Processing by SchedulesController#create as HTML
29652
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"9oCwPCXT0NNvSxhtFkk032382KHUzf2Nm1bi9vVL2Tk=", "lunchtime"=>"", "schedule"=>{"lunchtime"=>"", "suppertime"=>"", "alarm_setting"=>"", "birthday"=>"", "apocalypse"=>"", "christmas"=>"", "beer_oclock"=>"", "epoch"=>"", "date_in_time"=>"2014-11-20"}, "suppertime"=>"", "alarm_setting"=>"", "birthday"=>"", "apocalypse"=>"", "christmas"=>"", "beer_oclock"=>"", "epoch"=>"", "date_in_time"=>"11/20/2014", "commit"=>"Create Schedule"}
29653
+  (0.1ms) begin transaction
29654
+ SQL (8.0ms) INSERT INTO "schedules" ("created_at", "date_in_time", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-11-01 18:45:44.039680"], ["date_in_time", "2014-11-20 05:00:00.000000"], ["updated_at", "2014-11-01 18:45:44.039680"]]
29655
+  (1.0ms) commit transaction
29656
+ Redirected to http://localhost:3000/schedules/11/edit
29657
+ Completed 302 Found in 29ms (ActiveRecord: 9.0ms)
29658
+
29659
+
29660
+ Started GET "/schedules/11/edit" for 127.0.0.1 at 2014-11-01 14:45:44 -0400
29661
+ Processing by SchedulesController#edit as HTML
29662
+ Parameters: {"id"=>"11"}
29663
+ Schedule Load (0.2ms) SELECT "schedules".* FROM "schedules" WHERE "schedules"."id" = ? LIMIT 1 [["id", 11]]
29664
+ Rendered schedules/_form.html.erb (6.1ms)
29665
+ Rendered schedules/edit.html.erb within layouts/application (7.6ms)
29666
+ Completed 200 OK in 53ms (Views: 51.1ms | ActiveRecord: 0.2ms)
29667
+
29668
+
29669
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-11-01 14:45:44 -0400
29670
+
29671
+
29672
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-11-01 14:45:44 -0400
29673
+
29674
+
29675
+ Started GET "/custom_schedules/11/edit" for 127.0.0.1 at 2014-11-01 14:46:20 -0400
29676
+ Processing by SchedulesController#edit_custom as HTML
29677
+ Parameters: {"id"=>"11"}
29678
+ Schedule Load (0.2ms) SELECT "schedules".* FROM "schedules" WHERE "schedules"."id" = ? LIMIT 1 [["id", 11]]
29679
+ Completed 500 Internal Server Error in 4ms
29680
+
29681
+ ActionView::MissingTemplate (Missing template schedules/edit_custom, application/edit_custom with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee]}. Searched in:
29682
+ * "/Users/johnomalley/Rails_Projects/Rails_4.1/hot_date_rails/spec/dummy/app/views"
29683
+ * "/Users/johnomalley/Rails_Projects/Rails_4.1/hot_date_rails/app/views"
29684
+ ):
29685
+ actionview (4.1.5) lib/action_view/path_set.rb:46:in `find'
29686
+ actionview (4.1.5) lib/action_view/lookup_context.rb:124:in `find'
29687
+ actionview (4.1.5) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
29688
+ actionview (4.1.5) lib/action_view/renderer/template_renderer.rb:41:in `determine_template'
29689
+ actionview (4.1.5) lib/action_view/renderer/template_renderer.rb:8:in `render'
29690
+ actionview (4.1.5) lib/action_view/renderer/renderer.rb:42:in `render_template'
29691
+ actionview (4.1.5) lib/action_view/renderer/renderer.rb:23:in `render'
29692
+ actionview (4.1.5) lib/action_view/rendering.rb:99:in `_render_template'
29693
+ actionpack (4.1.5) lib/action_controller/metal/streaming.rb:217:in `_render_template'
29694
+ actionview (4.1.5) lib/action_view/rendering.rb:82:in `render_to_body'
29695
+ actionpack (4.1.5) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
29696
+ actionpack (4.1.5) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
29697
+ actionpack (4.1.5) lib/abstract_controller/rendering.rb:25:in `render'
29698
+ actionpack (4.1.5) lib/action_controller/metal/rendering.rb:16:in `render'
29699
+ actionpack (4.1.5) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
29700
+ activesupport (4.1.5) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
29701
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
29702
+ activesupport (4.1.5) lib/active_support/core_ext/benchmark.rb:12:in `ms'
29703
+ actionpack (4.1.5) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
29704
+ actionpack (4.1.5) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
29705
+ activerecord (4.1.5) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
29706
+ actionpack (4.1.5) lib/action_controller/metal/instrumentation.rb:40:in `render'
29707
+ actionpack (4.1.5) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
29708
+ actionpack (4.1.5) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
29709
+ actionpack (4.1.5) lib/abstract_controller/base.rb:189:in `process_action'
29710
+ actionpack (4.1.5) lib/action_controller/metal/rendering.rb:10:in `process_action'
29711
+ actionpack (4.1.5) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
29712
+ activesupport (4.1.5) lib/active_support/callbacks.rb:113:in `call'
29713
+ activesupport (4.1.5) lib/active_support/callbacks.rb:113:in `call'
29714
+ activesupport (4.1.5) lib/active_support/callbacks.rb:229:in `block in halting'
29715
+ activesupport (4.1.5) lib/active_support/callbacks.rb:166:in `call'
29716
+ activesupport (4.1.5) lib/active_support/callbacks.rb:166:in `block in halting'
29717
+ activesupport (4.1.5) lib/active_support/callbacks.rb:86:in `call'
29718
+ activesupport (4.1.5) lib/active_support/callbacks.rb:86:in `run_callbacks'
29719
+ actionpack (4.1.5) lib/abstract_controller/callbacks.rb:19:in `process_action'
29720
+ actionpack (4.1.5) lib/action_controller/metal/rescue.rb:29:in `process_action'
29721
+ actionpack (4.1.5) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
29722
+ activesupport (4.1.5) lib/active_support/notifications.rb:159:in `block in instrument'
29723
+ activesupport (4.1.5) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
29724
+ activesupport (4.1.5) lib/active_support/notifications.rb:159:in `instrument'
29725
+ actionpack (4.1.5) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
29726
+ actionpack (4.1.5) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
29727
+ activerecord (4.1.5) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
29728
+ actionpack (4.1.5) lib/abstract_controller/base.rb:136:in `process'
29729
+ actionview (4.1.5) lib/action_view/rendering.rb:30:in `process'
29730
+ actionpack (4.1.5) lib/action_controller/metal.rb:196:in `dispatch'
29731
+ actionpack (4.1.5) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
29732
+ actionpack (4.1.5) lib/action_controller/metal.rb:232:in `block in action'
29733
+ actionpack (4.1.5) lib/action_dispatch/routing/route_set.rb:82:in `call'
29734
+ actionpack (4.1.5) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
29735
+ actionpack (4.1.5) lib/action_dispatch/routing/route_set.rb:50:in `call'
29736
+ actionpack (4.1.5) lib/action_dispatch/journey/router.rb:71:in `block in call'
29737
+ actionpack (4.1.5) lib/action_dispatch/journey/router.rb:59:in `each'
29738
+ actionpack (4.1.5) lib/action_dispatch/journey/router.rb:59:in `call'
29739
+ actionpack (4.1.5) lib/action_dispatch/routing/route_set.rb:678:in `call'
29740
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
29741
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
29742
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
29743
+ actionpack (4.1.5) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
29744
+ actionpack (4.1.5) lib/action_dispatch/middleware/flash.rb:254:in `call'
29745
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
29746
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
29747
+ actionpack (4.1.5) lib/action_dispatch/middleware/cookies.rb:560:in `call'
29748
+ activerecord (4.1.5) lib/active_record/query_cache.rb:36:in `call'
29749
+ activerecord (4.1.5) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
29750
+ activerecord (4.1.5) lib/active_record/migration.rb:380:in `call'
29751
+ actionpack (4.1.5) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
29752
+ activesupport (4.1.5) lib/active_support/callbacks.rb:82:in `run_callbacks'
29753
+ actionpack (4.1.5) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
29754
+ actionpack (4.1.5) lib/action_dispatch/middleware/reloader.rb:73:in `call'
29755
+ actionpack (4.1.5) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
29756
+ actionpack (4.1.5) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
29757
+ actionpack (4.1.5) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
29758
+ railties (4.1.5) lib/rails/rack/logger.rb:38:in `call_app'
29759
+ railties (4.1.5) lib/rails/rack/logger.rb:20:in `block in call'
29760
+ activesupport (4.1.5) lib/active_support/tagged_logging.rb:68:in `block in tagged'
29761
+ activesupport (4.1.5) lib/active_support/tagged_logging.rb:26:in `tagged'
29762
+ activesupport (4.1.5) lib/active_support/tagged_logging.rb:68:in `tagged'
29763
+ railties (4.1.5) lib/rails/rack/logger.rb:20:in `call'
29764
+ actionpack (4.1.5) lib/action_dispatch/middleware/request_id.rb:21:in `call'
29765
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
29766
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
29767
+ activesupport (4.1.5) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
29768
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
29769
+ actionpack (4.1.5) lib/action_dispatch/middleware/static.rb:64:in `call'
29770
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
29771
+ railties (4.1.5) lib/rails/engine.rb:514:in `call'
29772
+ railties (4.1.5) lib/rails/application.rb:144:in `call'
29773
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
29774
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
29775
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
29776
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
29777
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
29778
+ /Users/johnomalley/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
29779
+
29780
+
29781
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (0.5ms)
29782
+
29783
+
29784
+ Started GET "/custom_schedules/11/edit" for 127.0.0.1 at 2014-11-01 14:47:55 -0400
29785
+ Processing by SchedulesController#edit_custom as HTML
29786
+ Parameters: {"id"=>"11"}
29787
+ Schedule Load (0.1ms) SELECT "schedules".* FROM "schedules" WHERE "schedules"."id" = ? LIMIT 1 [["id", 11]]
29788
+ Rendered schedules/_form_custom.html.erb (4.2ms)
29789
+ Rendered schedules/edit_custom.html.erb within layouts/application (5.4ms)
29790
+ Completed 500 Internal Server Error in 9ms
29791
+
29792
+ ActionView::Template::Error (translation missing: en.time.formats.full_month):
29793
+ 40: </tr>
29794
+ 41: <tr>
29795
+ 42: <td><%= f.hd_label :date_in_time %></td>
29796
+ 43: <td><%= f.hd_picker :date_in_time, {}, :full_month, "datepicker" %></td>
29797
+ 44: </tr>
29798
+ 45: <tr>
29799
+ 46: <td><%= f.submit %></td>
29800
+ app/views/schedules/_form_custom.html.erb:43:in `block in _app_views_schedules__form_custom_html_erb___4446061251184487694_2157450680'
29801
+ app/views/schedules/_form_custom.html.erb:1:in `_app_views_schedules__form_custom_html_erb___4446061251184487694_2157450680'
29802
+ app/views/schedules/edit_custom.html.erb:3:in `_app_views_schedules_edit_custom_html_erb__2821703487515393531_2163387160'
29803
+
29804
+
29805
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
29806
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
29807
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (14.1ms)
29808
+
29809
+
29810
+ Started GET "/custom_schedules/11/edit" for 127.0.0.1 at 2014-11-01 14:57:38 -0400
29811
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
29812
+ Processing by SchedulesController#edit_custom as HTML
29813
+ Parameters: {"id"=>"11"}
29814
+ Schedule Load (0.2ms) SELECT "schedules".* FROM "schedules" WHERE "schedules"."id" = ? LIMIT 1 [["id", 11]]
29815
+ Rendered schedules/_form_custom.html.erb (32.2ms)
29816
+ Rendered schedules/edit_custom.html.erb within layouts/application (35.9ms)
29817
+ Completed 500 Internal Server Error in 53ms
29818
+
29819
+ ActionView::Template::Error (translation missing: en.time.formats.full_month):
29820
+ 40: </tr>
29821
+ 41: <tr>
29822
+ 42: <td><%= f.hd_label :date_in_time %></td>
29823
+ 43: <td><%= f.hd_picker :date_in_time, {}, :full_month, "datepicker" %></td>
29824
+ 44: </tr>
29825
+ 45: <tr>
29826
+ 46: <td><%= f.submit %></td>
29827
+ app/views/schedules/_form_custom.html.erb:43:in `block in _app_views_schedules__form_custom_html_erb___3124893075299254205_2195019760'
29828
+ app/views/schedules/_form_custom.html.erb:1:in `_app_views_schedules__form_custom_html_erb___3124893075299254205_2195019760'
29829
+ app/views/schedules/edit_custom.html.erb:3:in `_app_views_schedules_edit_custom_html_erb___4213236745534028531_2195199520'
29830
+
29831
+
29832
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
29833
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.1ms)
29834
+ Rendered /Users/johnomalley/.rvm/gems/ruby-2.1.1/gems/actionpack-4.1.5/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.2ms)
29835
+
29836
+
29837
+ Started GET "/custom_schedules/11/edit" for 127.0.0.1 at 2014-11-01 14:58:00 -0400
29838
+ Processing by SchedulesController#edit_custom as HTML
29839
+ Parameters: {"id"=>"11"}
29840
+ Schedule Load (0.1ms) SELECT "schedules".* FROM "schedules" WHERE "schedules"."id" = ? LIMIT 1 [["id", 11]]
29841
+ Rendered schedules/_form_custom.html.erb (6.0ms)
29842
+ Rendered schedules/edit_custom.html.erb within layouts/application (6.7ms)
29843
+ Completed 200 OK in 28ms (Views: 27.2ms | ActiveRecord: 0.1ms)
29844
+
29845
+
29846
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-11-01 14:58:00 -0400
29847
+
29848
+
29849
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-11-01 14:58:00 -0400
29850
+
29851
+
29852
+ Started GET "/assets/ui-bg_glass_65_ffffff_1x400.png" for 127.0.0.1 at 2014-11-01 14:58:04 -0400
29853
+
29854
+
29855
+ Started PATCH "/schedules/11" for 127.0.0.1 at 2014-11-01 14:58:08 -0400
29856
+ Processing by SchedulesController#update as HTML
29857
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"9oCwPCXT0NNvSxhtFkk032382KHUzf2Nm1bi9vVL2Tk=", "lunchtime"=>"", "schedule"=>{"lunchtime"=>"", "suppertime"=>"", "alarm_setting"=>"", "birthday"=>"", "apocalypse"=>"", "christmas"=>"", "beer_oclock"=>"", "epoch"=>"", "date_in_time"=>"2014-11-18"}, "suppertime"=>"", "alarm_setting"=>"", "birthday"=>"", "apocalypse"=>"", "christmas"=>"", "beer_oclock"=>"", "epoch"=>"", "date_in_time"=>"11/18/2014", "commit"=>"Update Schedule", "id"=>"11"}
29858
+ Schedule Load (0.1ms) SELECT "schedules".* FROM "schedules" WHERE "schedules"."id" = ? LIMIT 1 [["id", 11]]
29859
+  (0.1ms) begin transaction
29860
+ SQL (0.4ms) UPDATE "schedules" SET "date_in_time" = ?, "updated_at" = ? WHERE "schedules"."id" = 11 [["date_in_time", "2014-11-18 05:00:00.000000"], ["updated_at", "2014-11-01 18:58:08.082484"]]
29861
+  (1.0ms) commit transaction
29862
+ Redirected to http://localhost:3000/schedules/11/edit
29863
+ Completed 302 Found in 10ms (ActiveRecord: 1.6ms)
29864
+
29865
+
29866
+ Started GET "/schedules/11/edit" for 127.0.0.1 at 2014-11-01 14:58:08 -0400
29867
+ Processing by SchedulesController#edit as HTML
29868
+ Parameters: {"id"=>"11"}
29869
+ Schedule Load (0.1ms) SELECT "schedules".* FROM "schedules" WHERE "schedules"."id" = ? LIMIT 1 [["id", 11]]
29870
+ Rendered schedules/_form.html.erb (11.5ms)
29871
+ Rendered schedules/edit.html.erb within layouts/application (12.6ms)
29872
+ Completed 200 OK in 17ms (Views: 15.7ms | ActiveRecord: 0.1ms)
29873
+
29874
+
29875
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-11-01 14:58:08 -0400
29876
+
29877
+
29878
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-11-01 14:58:08 -0400
29879
+
29880
+
29881
+ Started GET "/custom_schedules/new" for 127.0.0.1 at 2014-11-01 15:01:27 -0400
29882
+ Processing by SchedulesController#new_custom as HTML
29883
+ Rendered schedules/_form_custom.html.erb (4.6ms)
29884
+ Rendered schedules/new_custom.html.erb within layouts/application (5.6ms)
29885
+ Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)
29886
+
29887
+
29888
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-11-01 15:01:27 -0400
29889
+
29890
+
29891
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-11-01 15:01:27 -0400
29892
+
29893
+
29894
+ Started GET "/custom_schedules/11/edit" for 127.0.0.1 at 2014-11-01 15:24:29 -0400
29895
+ Processing by SchedulesController#edit_custom as HTML
29896
+ Parameters: {"id"=>"11"}
29897
+ Schedule Load (0.2ms) SELECT "schedules".* FROM "schedules" WHERE "schedules"."id" = ? LIMIT 1 [["id", 11]]
29898
+ Rendered schedules/_form_custom.html.erb (6.2ms)
29899
+ Rendered schedules/edit_custom.html.erb within layouts/application (7.3ms)
29900
+ Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.2ms)
29901
+
29902
+
29903
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-11-01 15:24:29 -0400
29904
+
29905
+
29906
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-11-01 15:24:29 -0400
29907
+
29908
+
29909
+ Started PATCH "/schedules/11" for 127.0.0.1 at 2014-11-01 15:29:57 -0400
29910
+ Processing by SchedulesController#update as HTML
29911
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"9oCwPCXT0NNvSxhtFkk032382KHUzf2Nm1bi9vVL2Tk=", "lunchtime"=>"", "schedule"=>{"lunchtime"=>"", "suppertime"=>"", "alarm_setting"=>"", "birthday"=>"", "apocalypse"=>"", "christmas"=>"", "beer_oclock"=>"", "epoch"=>"", "date_in_time"=>"2014-11-11"}, "suppertime"=>"", "alarm_setting"=>"", "birthday"=>"", "apocalypse"=>"", "christmas"=>"", "beer_oclock"=>"", "epoch"=>"", "date_in_time"=>"11/11/2014", "commit"=>"Update Schedule", "id"=>"11"}
29912
+ Schedule Load (0.1ms) SELECT "schedules".* FROM "schedules" WHERE "schedules"."id" = ? LIMIT 1 [["id", 11]]
29913
+  (0.1ms) begin transaction
29914
+ SQL (0.3ms) UPDATE "schedules" SET "date_in_time" = ?, "updated_at" = ? WHERE "schedules"."id" = 11 [["date_in_time", "2014-11-11 05:00:00.000000"], ["updated_at", "2014-11-01 19:29:57.010725"]]
29915
+  (1.0ms) commit transaction
29916
+ Redirected to http://localhost:3000/schedules/11/edit
29917
+ Completed 302 Found in 5ms (ActiveRecord: 1.5ms)
29918
+
29919
+
29920
+ Started GET "/schedules/11/edit" for 127.0.0.1 at 2014-11-01 15:29:57 -0400
29921
+ Processing by SchedulesController#edit as HTML
29922
+ Parameters: {"id"=>"11"}
29923
+ Schedule Load (0.2ms) SELECT "schedules".* FROM "schedules" WHERE "schedules"."id" = ? LIMIT 1 [["id", 11]]
29924
+ Rendered schedules/_form.html.erb (4.5ms)
29925
+ Rendered schedules/edit.html.erb within layouts/application (5.3ms)
29926
+ Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.2ms)
29927
+
29928
+
29929
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-11-01 15:29:57 -0400
29930
+
29931
+
29932
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-11-01 15:29:57 -0400
29933
+
29934
+
29935
+ Started GET "/custom_schedules/11/edit" for 127.0.0.1 at 2014-11-01 15:30:04 -0400
29936
+ Processing by SchedulesController#edit_custom as HTML
29937
+ Parameters: {"id"=>"11"}
29938
+ Schedule Load (0.1ms) SELECT "schedules".* FROM "schedules" WHERE "schedules"."id" = ? LIMIT 1 [["id", 11]]
29939
+ Rendered schedules/_form_custom.html.erb (6.5ms)
29940
+ Rendered schedules/edit_custom.html.erb within layouts/application (7.5ms)
29941
+ Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.1ms)
29942
+
29943
+
29944
+ Started GET "/assets/application.css" for 127.0.0.1 at 2014-11-01 15:30:04 -0400
29945
+
29946
+
29947
+ Started GET "/assets/application.js" for 127.0.0.1 at 2014-11-01 15:30:04 -0400
29948
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
29949
+ Migrating to AddTimeOfDateToSchedules (20141101193750)
29950
+  (0.1ms) begin transaction
29951
+  (0.6ms) ALTER TABLE "schedules" ADD "time_of_date" datetime
29952
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141101193750"]]
29953
+  (1.1ms) commit transaction
29954
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
29955
+  (1.4ms) CREATE TABLE "schedules" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "birthday" date, "lunchtime" time, "apocalypse" datetime, "epoch" datetime, "christmas" date, "alarm_setting" time, "created_at" datetime, "updated_at" datetime, "suppertime" time, "beer_oclock" time, "sleepytime" time, "party_time" time, "easter" date, "date_in_time" datetime, "time_of_date" datetime) 
29956
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
29957
+  (0.1ms) select sqlite_version(*)
29958
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
29959
+  (0.1ms) SELECT version FROM "schema_migrations"
29960
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141101193750')
29961
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140827212211')
29962
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140904013919')
29963
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140909013705')
29964
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20141031221232')