gov_uk_date_fields 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +34 -0
- data/lib/gov_uk_date_fields/acts_as_gov_uk_date.rb +122 -0
- data/lib/gov_uk_date_fields/form_builder.rb +12 -0
- data/lib/gov_uk_date_fields/form_date.rb +127 -0
- data/lib/gov_uk_date_fields/form_fields.rb +49 -0
- data/lib/gov_uk_date_fields/gov_uk_date_fields.rb +2 -0
- data/lib/gov_uk_date_fields/version.rb +3 -0
- data/lib/gov_uk_date_fields.rb +7 -0
- data/lib/tasks/gov_uk_date_fields_tasks.rake +4 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/javascripts/employees.js +2 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/assets/stylesheets/employees.css +4 -0
- data/test/dummy/app/assets/stylesheets/scaffold.css +56 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/employees_controller.rb +58 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/employees_helper.rb +2 -0
- data/test/dummy/app/models/employee.rb +6 -0
- data/test/dummy/app/views/employees/_form.html.erb +29 -0
- data/test/dummy/app/views/employees/edit.html.erb +6 -0
- data/test/dummy/app/views/employees/index.html.erb +31 -0
- data/test/dummy/app/views/employees/new.html.erb +5 -0
- data/test/dummy/app/views/employees/show.html.erb +19 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config/application.rb +25 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +85 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +57 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/migrate/20150901103114_create_employees.rb +11 -0
- data/test/dummy/db/schema.rb +27 -0
- data/test/dummy/log/development.log +995 -0
- data/test/dummy/log/test.log +15943 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/test/controllers/employees_controller_test.rb +72 -0
- data/test/dummy/test/fixtures/employees.yml +11 -0
- data/test/dummy/test/models/employee_test.rb +126 -0
- data/test/dummy/test/models/form_date_test.rb +91 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3Btcwr72V3UVSQF4sqr__CCT-XdxN0CTruFn7z9Y_XU.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/4OGvKM5VGFrmfgpNVn-OVfpy9d666yTUyc-FSiWvwYo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/54EGGKsdgfn0vxxv75SqN98eDhg-ilqjdIkfD08lvrI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/AAh5PqvwSFjiY74WrVS1iZDEIaV1Esq-U2wnk7iS4us.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/AUA1UWYic4L73QsfyqeOPHldlfFq_8j9hAToBfr-f1Q.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/AX3L2fGpRF9VevxsOcMT3K8MFiRGjRX81JBxvrH7IIc.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/DWiSprTdmJSiF4eYqRLDfLfWLyF-m0Mk3TOoLQXKKW0.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EQgy9RTV-4e0cBODgHM06wYW7K5ZQPT7QCEd9rw3WOM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GeZkOF3Y0RVsr_bLJpt8e98qLe6tl2fanP3g8Au3Ki4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MnCiEhJG594IyEZWxHbFmmj3VVVPj_s6mBDi22R6d4g.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QZXYupcseg74D7COWs8-uMvEFMzcF0D2kyZbe9TQ77s.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RLkYXASUya0cLJBhEdan7n0Pd7bxb0bB0Fisje2uDAo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SOd3-ZZMlfAqcde7u4GC6nyLGyBlZn5GOsNbUpmTKYw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SRehtTwxOp9802ZoUXpvNaoiTUAAop3BKwD0zbFqDtE.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/X9Q9imgKEWoA7sXby5p60U-hJ2dz87Ml_BLtvx3zhic.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZIi2WsAMg6MivpM37KPVAEt0WF2kOpptOZnB8I13ypQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/aCaKUaA2zFHYb85d3HsEaLzqqcySgu1RNprCoAsVud0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/aGW0bSYiiwQK9bzVhmWulwv3CPsg3QsaBf3OmDxJgow.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ihA_BDp1Rs5WPDQas3L0pgMqmZCcgqozdQxu48rJb68.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kTqBP8zzCc8f2JqGQTi3DXs7nGsbgDuRg0jrPG8ZNPk.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/oV4rrfh_yARJFyFf415eIZDk0XSRN6pCO9JMJFhb0RI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tYWKJ-uJLzUiu_GSiw8U9c-NoKsmluXyJoybViJqqSo.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/uHgfxDUpQd144IiQx-xG6kwowy8G1sR4iyD9DNL0tC0.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1AsHbcbPJPOX9onZq50MxoxSn1pMnQpGVvG_UYQ13wo.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/3Btcwr72V3UVSQF4sqr__CCT-XdxN0CTruFn7z9Y_XU.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/67JJWCc_sYvRYPdITY7j_FNQfhBfvZo5G1sv2dZxIto.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/AUA1UWYic4L73QsfyqeOPHldlfFq_8j9hAToBfr-f1Q.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/AX3L2fGpRF9VevxsOcMT3K8MFiRGjRX81JBxvrH7IIc.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/DNMjaCc-VmsemKVl4YidF-CXIU3genqy7Al84AF5ElQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/DWiSprTdmJSiF4eYqRLDfLfWLyF-m0Mk3TOoLQXKKW0.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/EkdXohJZf4lGY8JzYoG_7LRxdszy4Swv_1-52AbtQWA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FqGh56sHucOsjlGrWDO9yNwycTG0LgUKZ16k23kduns.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/GeZkOF3Y0RVsr_bLJpt8e98qLe6tl2fanP3g8Au3Ki4.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PlM8l5Qld5XuE05WoFYFeHkdTOQlgQDeWcqChn7HrHY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/SRehtTwxOp9802ZoUXpvNaoiTUAAop3BKwD0zbFqDtE.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/SrsOoZyuToCzWj-6-unzyuiaqTY_AaQ6OkmF1__p2pA.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Ve3Ff6BHeMiuu3shpU83x1W5kvA_9uYsJb4QTBpa_cg.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/gGf5sYnraHtF9zAKHfpmAFfXs91eHz803uWElSZo8hU.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/gQ3aDX081uviJlrMPWuDlBeI9mU60eQkKBT_tdRmfHA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ihA_BDp1Rs5WPDQas3L0pgMqmZCcgqozdQxu48rJb68.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qw9GAqewo2ndJbMp6cn6aiyI5zrb6Dc2AnBVBmpTAO8.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/sjCpIVBR5YqsLCchRCDqeG_WK3Jn7Q3nlWVKNIwerDw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tYWKJ-uJLzUiu_GSiw8U9c-NoKsmluXyJoybViJqqSo.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uHgfxDUpQd144IiQx-xG6kwowy8G1sR4iyD9DNL0tC0.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uk3t8-0_vMYlXEFPI-zH6U2ONI0NwBrJJrQM2yq_fjQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zwMKri38-QDk453A_5RE9PYaTcHIoT73wl79q5P0qfI.cache +1 -0
- data/test/gov_uk_date_fields_test.rb +7 -0
- data/test/test_helper.rb +31 -0
- metadata +306 -0
@@ -0,0 +1,41 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# In the development environment your application's code is reloaded on
|
5
|
+
# every request. This slows down response time but is perfect for development
|
6
|
+
# since you don't have to restart the web server when you make code changes.
|
7
|
+
config.cache_classes = false
|
8
|
+
|
9
|
+
# Do not eager load code on boot.
|
10
|
+
config.eager_load = false
|
11
|
+
|
12
|
+
# Show full error reports and disable caching.
|
13
|
+
config.consider_all_requests_local = true
|
14
|
+
config.action_controller.perform_caching = false
|
15
|
+
|
16
|
+
# Don't care if the mailer can't send.
|
17
|
+
config.action_mailer.raise_delivery_errors = false
|
18
|
+
|
19
|
+
# Print deprecation notices to the Rails logger.
|
20
|
+
config.active_support.deprecation = :log
|
21
|
+
|
22
|
+
# Raise an error on page load if there are pending migrations.
|
23
|
+
config.active_record.migration_error = :page_load
|
24
|
+
|
25
|
+
# Debug mode disables concatenation and preprocessing of assets.
|
26
|
+
# This option may cause significant delays in view rendering with a large
|
27
|
+
# number of complex assets.
|
28
|
+
config.assets.debug = true
|
29
|
+
|
30
|
+
# Asset digests allow you to set far-future HTTP expiration dates on all assets,
|
31
|
+
# yet still be able to expire them through the digest params.
|
32
|
+
config.assets.digest = true
|
33
|
+
|
34
|
+
# Adds additional error checking when serving assets at runtime.
|
35
|
+
# Checks for improperly declared sprockets dependencies.
|
36
|
+
# Raises helpful error messages.
|
37
|
+
config.assets.raise_runtime_errors = true
|
38
|
+
|
39
|
+
# Raises error for missing translations
|
40
|
+
# config.action_view.raise_on_missing_translations = true
|
41
|
+
end
|
@@ -0,0 +1,79 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# Code is not reloaded between requests.
|
5
|
+
config.cache_classes = true
|
6
|
+
|
7
|
+
# Eager load code on boot. This eager loads most of Rails and
|
8
|
+
# your application in memory, allowing both threaded web servers
|
9
|
+
# and those relying on copy on write to perform better.
|
10
|
+
# Rake tasks automatically ignore this option for performance.
|
11
|
+
config.eager_load = true
|
12
|
+
|
13
|
+
# Full error reports are disabled and caching is turned on.
|
14
|
+
config.consider_all_requests_local = false
|
15
|
+
config.action_controller.perform_caching = true
|
16
|
+
|
17
|
+
# Enable Rack::Cache to put a simple HTTP cache in front of your application
|
18
|
+
# Add `rack-cache` to your Gemfile before enabling this.
|
19
|
+
# For large-scale production use, consider using a caching reverse proxy like
|
20
|
+
# NGINX, varnish or squid.
|
21
|
+
# config.action_dispatch.rack_cache = true
|
22
|
+
|
23
|
+
# Disable serving static files from the `/public` folder by default since
|
24
|
+
# Apache or NGINX already handles this.
|
25
|
+
config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
|
26
|
+
|
27
|
+
# Compress JavaScripts and CSS.
|
28
|
+
config.assets.js_compressor = :uglifier
|
29
|
+
# config.assets.css_compressor = :sass
|
30
|
+
|
31
|
+
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
32
|
+
config.assets.compile = false
|
33
|
+
|
34
|
+
# Asset digests allow you to set far-future HTTP expiration dates on all assets,
|
35
|
+
# yet still be able to expire them through the digest params.
|
36
|
+
config.assets.digest = true
|
37
|
+
|
38
|
+
# `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
|
39
|
+
|
40
|
+
# Specifies the header that your server uses for sending files.
|
41
|
+
# config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
|
42
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
|
43
|
+
|
44
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
45
|
+
# config.force_ssl = true
|
46
|
+
|
47
|
+
# Use the lowest log level to ensure availability of diagnostic information
|
48
|
+
# when problems arise.
|
49
|
+
config.log_level = :debug
|
50
|
+
|
51
|
+
# Prepend all log lines with the following tags.
|
52
|
+
# config.log_tags = [ :subdomain, :uuid ]
|
53
|
+
|
54
|
+
# Use a different logger for distributed setups.
|
55
|
+
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
56
|
+
|
57
|
+
# Use a different cache store in production.
|
58
|
+
# config.cache_store = :mem_cache_store
|
59
|
+
|
60
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
61
|
+
# config.action_controller.asset_host = 'http://assets.example.com'
|
62
|
+
|
63
|
+
# Ignore bad email addresses and do not raise email delivery errors.
|
64
|
+
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
65
|
+
# config.action_mailer.raise_delivery_errors = false
|
66
|
+
|
67
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
68
|
+
# the I18n.default_locale when a translation cannot be found).
|
69
|
+
config.i18n.fallbacks = true
|
70
|
+
|
71
|
+
# Send deprecation notices to registered listeners.
|
72
|
+
config.active_support.deprecation = :notify
|
73
|
+
|
74
|
+
# Use default logging formatter so that PID and timestamp are not suppressed.
|
75
|
+
config.log_formatter = ::Logger::Formatter.new
|
76
|
+
|
77
|
+
# Do not dump schema after migrations.
|
78
|
+
config.active_record.dump_schema_after_migration = false
|
79
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# The test environment is used exclusively to run your application's
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
8
|
+
config.cache_classes = true
|
9
|
+
|
10
|
+
# Do not eager load code on boot. This avoids loading your whole application
|
11
|
+
# just for the purpose of running a single test. If you are using a tool that
|
12
|
+
# preloads Rails for running tests, you may have to set it to true.
|
13
|
+
config.eager_load = false
|
14
|
+
|
15
|
+
# Configure static file server for tests with Cache-Control for performance.
|
16
|
+
config.serve_static_files = true
|
17
|
+
config.static_cache_control = 'public, max-age=3600'
|
18
|
+
|
19
|
+
# Show full error reports and disable caching.
|
20
|
+
config.consider_all_requests_local = true
|
21
|
+
config.action_controller.perform_caching = false
|
22
|
+
|
23
|
+
# Raise exceptions instead of rendering exception templates.
|
24
|
+
config.action_dispatch.show_exceptions = false
|
25
|
+
|
26
|
+
# Disable request forgery protection in test environment.
|
27
|
+
config.action_controller.allow_forgery_protection = false
|
28
|
+
|
29
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
30
|
+
# The :test delivery method accumulates sent emails in the
|
31
|
+
# ActionMailer::Base.deliveries array.
|
32
|
+
config.action_mailer.delivery_method = :test
|
33
|
+
|
34
|
+
# Randomize the order test cases are executed.
|
35
|
+
config.active_support.test_order = :random
|
36
|
+
|
37
|
+
# Print deprecation notices to the stderr.
|
38
|
+
config.active_support.deprecation = :stderr
|
39
|
+
|
40
|
+
# Raises error for missing translations
|
41
|
+
# config.action_view.raise_on_missing_translations = true
|
42
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Version of your assets, change this if you want to expire all your assets.
|
4
|
+
Rails.application.config.assets.version = '1.0'
|
5
|
+
|
6
|
+
# Add additional assets to the asset load path
|
7
|
+
# Rails.application.config.assets.paths << Emoji.images_path
|
8
|
+
|
9
|
+
# Precompile additional assets.
|
10
|
+
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
11
|
+
# Rails.application.config.assets.precompile += %w( search.js )
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format. Inflections
|
4
|
+
# are locale specific, and you may define rules for as many different
|
5
|
+
# locales as you wish. All of these examples are active by default:
|
6
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
+
# inflect.singular /^(ox)en/i, '\1'
|
9
|
+
# inflect.irregular 'person', 'people'
|
10
|
+
# inflect.uncountable %w( fish sheep )
|
11
|
+
# end
|
12
|
+
|
13
|
+
# These inflection rules are supported but not enabled by default:
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
+
# inflect.acronym 'RESTful'
|
16
|
+
# end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
9
|
+
end
|
10
|
+
|
11
|
+
# To enable root element in JSON for ActiveRecord objects.
|
12
|
+
# ActiveSupport.on_load(:active_record) do
|
13
|
+
# self.include_root_in_json = true
|
14
|
+
# end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Files in the config/locales directory are used for internationalization
|
2
|
+
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
+
# than English, add the necessary files in this directory.
|
4
|
+
#
|
5
|
+
# To use the locales, use `I18n.t`:
|
6
|
+
#
|
7
|
+
# I18n.t 'hello'
|
8
|
+
#
|
9
|
+
# In views, this is aliased to just `t`:
|
10
|
+
#
|
11
|
+
# <%= t('hello') %>
|
12
|
+
#
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
14
|
+
#
|
15
|
+
# I18n.locale = :es
|
16
|
+
#
|
17
|
+
# This would use the information in config/locales/es.yml.
|
18
|
+
#
|
19
|
+
# To learn more, please read the Rails Internationalization guide
|
20
|
+
# available at http://guides.rubyonrails.org/i18n.html.
|
21
|
+
|
22
|
+
en:
|
23
|
+
hello: "Hello world"
|
@@ -0,0 +1,57 @@
|
|
1
|
+
Rails.application.routes.draw do
|
2
|
+
resources :employees
|
3
|
+
# The priority is based upon order of creation: first created -> highest priority.
|
4
|
+
# See how all your routes lay out with "rake routes".
|
5
|
+
|
6
|
+
# You can have the root of your site routed with "root"
|
7
|
+
# root 'welcome#index'
|
8
|
+
|
9
|
+
# Example of regular route:
|
10
|
+
# get 'products/:id' => 'catalog#view'
|
11
|
+
|
12
|
+
# Example of named route that can be invoked with purchase_url(id: product.id)
|
13
|
+
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
|
14
|
+
|
15
|
+
# Example resource route (maps HTTP verbs to controller actions automatically):
|
16
|
+
# resources :products
|
17
|
+
|
18
|
+
# Example resource route with options:
|
19
|
+
# resources :products do
|
20
|
+
# member do
|
21
|
+
# get 'short'
|
22
|
+
# post 'toggle'
|
23
|
+
# end
|
24
|
+
#
|
25
|
+
# collection do
|
26
|
+
# get 'sold'
|
27
|
+
# end
|
28
|
+
# end
|
29
|
+
|
30
|
+
# Example resource route with sub-resources:
|
31
|
+
# resources :products do
|
32
|
+
# resources :comments, :sales
|
33
|
+
# resource :seller
|
34
|
+
# end
|
35
|
+
|
36
|
+
# Example resource route with more complex sub-resources:
|
37
|
+
# resources :products do
|
38
|
+
# resources :comments
|
39
|
+
# resources :sales do
|
40
|
+
# get 'recent', on: :collection
|
41
|
+
# end
|
42
|
+
# end
|
43
|
+
|
44
|
+
# Example resource route with concerns:
|
45
|
+
# concern :toggleable do
|
46
|
+
# post 'toggle'
|
47
|
+
# end
|
48
|
+
# resources :posts, concerns: :toggleable
|
49
|
+
# resources :photos, concerns: :toggleable
|
50
|
+
|
51
|
+
# Example resource route within a namespace:
|
52
|
+
# namespace :admin do
|
53
|
+
# # Directs /admin/products/* to Admin::ProductsController
|
54
|
+
# # (app/controllers/admin/products_controller.rb)
|
55
|
+
# resources :products
|
56
|
+
# end
|
57
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
+
# You can use `rake secret` to generate a secure secret key.
|
9
|
+
|
10
|
+
# Make sure the secrets in this file are kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
|
13
|
+
development:
|
14
|
+
secret_key_base: abcecafb2ce8cc6c1a1bda8c1985954a366e6d30f3005bbea27904533eecc46e68bd85e90e46a3c8acd3129e8ca3674001667ad2551b674aeb43d4cf8261a241
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: a1f49a77f05ed74262cc980cdc4760ce81fd66b92cf595b26cb9cac481fe379a87625c39c5c35b48635a5047e630aa08d1b8142e5f4b83432a896189394c1e6c
|
18
|
+
|
19
|
+
# Do not keep production secrets in the repository,
|
20
|
+
# instead read values from the environment.
|
21
|
+
production:
|
22
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 20150901103114) do
|
15
|
+
|
16
|
+
# These are extensions that must be enabled in order to support this database
|
17
|
+
enable_extension "plpgsql"
|
18
|
+
|
19
|
+
create_table "employees", force: :cascade do |t|
|
20
|
+
t.string "name"
|
21
|
+
t.date "dob"
|
22
|
+
t.date "joined"
|
23
|
+
t.datetime "created_at", null: false
|
24
|
+
t.datetime "updated_at", null: false
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
@@ -0,0 +1,995 @@
|
|
1
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2
|
+
Migrating to CreateEmployees (20150901103114)
|
3
|
+
[1m[35m (0.1ms)[0m BEGIN
|
4
|
+
[1m[36m (5.0ms)[0m [1mCREATE TABLE "employees" ("id" serial primary key, "name" character varying, "dob" date, "joined" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
5
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150901103114"]]
|
6
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
7
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
8
|
+
[1m[36m (1.6ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
9
|
+
FROM pg_constraint c
|
10
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
11
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
12
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
13
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
14
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
15
|
+
WHERE c.contype = 'f'
|
16
|
+
AND t1.relname = 'employees'
|
17
|
+
AND t3.nspname = ANY (current_schemas(false))
|
18
|
+
ORDER BY c.conname
|
19
|
+
[0m
|
20
|
+
[1m[35m (1.2ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
21
|
+
FROM pg_constraint c
|
22
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
23
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
24
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
25
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
26
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
27
|
+
WHERE c.contype = 'f'
|
28
|
+
AND t1.relname = 'people'
|
29
|
+
AND t3.nspname = ANY (current_schemas(false))
|
30
|
+
ORDER BY c.conname
|
31
|
+
|
32
|
+
[1m[36m (3.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
33
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
34
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
35
|
+
Migrating to CreateEmployees (20150901103114)
|
36
|
+
[1m[35m (0.1ms)[0m BEGIN
|
37
|
+
[1m[36m (3.0ms)[0m [1mCREATE TABLE "employees" ("id" serial primary key, "name" character varying, "dob" date, "joined" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
38
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150901103114"]]
|
39
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
40
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
41
|
+
[1m[36m (1.6ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
42
|
+
FROM pg_constraint c
|
43
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
44
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
45
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
46
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
47
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
48
|
+
WHERE c.contype = 'f'
|
49
|
+
AND t1.relname = 'employees'
|
50
|
+
AND t3.nspname = ANY (current_schemas(false))
|
51
|
+
ORDER BY c.conname
|
52
|
+
[0m
|
53
|
+
[1m[36mEmployee Load (2.0ms)[0m [1mSELECT "employees".* FROM "employees" ORDER BY "employees"."id" ASC LIMIT 1[0m
|
54
|
+
|
55
|
+
|
56
|
+
Started GET "/employees" for ::1 at 2015-09-02 15:38:08 +0100
|
57
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
58
|
+
Processing by EmployeesController#index as HTML
|
59
|
+
[1m[35mEmployee Load (1.1ms)[0m SELECT "employees".* FROM "employees"
|
60
|
+
Rendered employees/index.html.erb within layouts/application (12.3ms)
|
61
|
+
Completed 200 OK in 149ms (Views: 144.6ms | ActiveRecord: 1.8ms)
|
62
|
+
|
63
|
+
|
64
|
+
Started GET "/assets/employees.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2015-09-02 15:38:08 +0100
|
65
|
+
|
66
|
+
|
67
|
+
Started GET "/assets/employees.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2015-09-02 15:38:08 +0100
|
68
|
+
|
69
|
+
|
70
|
+
Started GET "/employees/new" for ::1 at 2015-09-02 15:38:11 +0100
|
71
|
+
Processing by EmployeesController#new as HTML
|
72
|
+
Rendered employees/_form.html.erb (17.4ms)
|
73
|
+
Rendered employees/new.html.erb within layouts/application (21.5ms)
|
74
|
+
Completed 200 OK in 37ms (Views: 32.3ms | ActiveRecord: 1.5ms)
|
75
|
+
|
76
|
+
|
77
|
+
Started GET "/employees/new" for ::1 at 2015-09-02 15:38:23 +0100
|
78
|
+
Processing by EmployeesController#new as HTML
|
79
|
+
Rendered employees/_form.html.erb (2.6ms)
|
80
|
+
Rendered employees/new.html.erb within layouts/application (3.4ms)
|
81
|
+
Completed 200 OK in 13ms (Views: 13.2ms | ActiveRecord: 0.0ms)
|
82
|
+
|
83
|
+
|
84
|
+
Started GET "/assets/employees.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2015-09-02 15:38:23 +0100
|
85
|
+
|
86
|
+
|
87
|
+
Started GET "/assets/employees.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2015-09-02 15:38:23 +0100
|
88
|
+
|
89
|
+
|
90
|
+
Started GET "/assets/scaffold.self-83b741db49389dc7cfdf85bf7537a0219cce48e085c4116afc83d55c9af47c78.css?body=1" for ::1 at 2015-09-02 15:38:23 +0100
|
91
|
+
|
92
|
+
|
93
|
+
Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-09-02 15:38:23 +0100
|
94
|
+
|
95
|
+
|
96
|
+
Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2015-09-02 15:38:23 +0100
|
97
|
+
|
98
|
+
|
99
|
+
Started GET "/employees/new" for ::1 at 2015-09-02 15:38:30 +0100
|
100
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
101
|
+
Processing by EmployeesController#new as HTML
|
102
|
+
Rendered employees/_form.html.erb (22.7ms)
|
103
|
+
Rendered employees/new.html.erb within layouts/application (26.8ms)
|
104
|
+
Completed 200 OK in 162ms (Views: 151.9ms | ActiveRecord: 2.3ms)
|
105
|
+
|
106
|
+
|
107
|
+
Started GET "/assets/employees.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2015-09-02 15:38:30 +0100
|
108
|
+
|
109
|
+
|
110
|
+
Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-09-02 15:38:30 +0100
|
111
|
+
|
112
|
+
|
113
|
+
Started GET "/assets/employees.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2015-09-02 15:38:30 +0100
|
114
|
+
|
115
|
+
|
116
|
+
Started GET "/assets/scaffold.self-83b741db49389dc7cfdf85bf7537a0219cce48e085c4116afc83d55c9af47c78.css?body=1" for ::1 at 2015-09-02 15:38:30 +0100
|
117
|
+
|
118
|
+
|
119
|
+
Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2015-09-02 15:38:30 +0100
|
120
|
+
|
121
|
+
|
122
|
+
Started GET "/employees/new" for ::1 at 2015-09-02 15:45:11 +0100
|
123
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
124
|
+
Processing by EmployeesController#new as HTML
|
125
|
+
Rendered employees/_form.html.erb (23.9ms)
|
126
|
+
Rendered employees/new.html.erb within layouts/application (28.6ms)
|
127
|
+
Completed 200 OK in 158ms (Views: 149.3ms | ActiveRecord: 1.9ms)
|
128
|
+
|
129
|
+
|
130
|
+
Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-09-02 15:45:12 +0100
|
131
|
+
|
132
|
+
|
133
|
+
Started GET "/assets/scaffold.self-83b741db49389dc7cfdf85bf7537a0219cce48e085c4116afc83d55c9af47c78.css?body=1" for ::1 at 2015-09-02 15:45:12 +0100
|
134
|
+
|
135
|
+
|
136
|
+
Started GET "/assets/employees.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2015-09-02 15:45:12 +0100
|
137
|
+
|
138
|
+
|
139
|
+
Started GET "/assets/employees.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2015-09-02 15:45:12 +0100
|
140
|
+
|
141
|
+
|
142
|
+
Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2015-09-02 15:45:12 +0100
|
143
|
+
|
144
|
+
|
145
|
+
Started GET "/employees/new" for ::1 at 2015-09-02 15:45:53 +0100
|
146
|
+
Processing by EmployeesController#new as HTML
|
147
|
+
Rendered employees/_form.html.erb (5.5ms)
|
148
|
+
Rendered employees/new.html.erb within layouts/application (6.3ms)
|
149
|
+
Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms)
|
150
|
+
|
151
|
+
ActionView::Template::Error (wrong number of arguments (3 for 4)):
|
152
|
+
17: </div>
|
153
|
+
18: <div class="field">
|
154
|
+
19: <%= f.label :dob %><br>
|
155
|
+
20: <%= f.gov_uk_date_field :dob %>
|
156
|
+
21: </div>
|
157
|
+
22: <div class="field">
|
158
|
+
23: <%= f.label :joined %><br>
|
159
|
+
app/views/employees/_form.html.erb:20:in `block in _app_views_employees__form_html_erb__2909117938336405085_70320669778260'
|
160
|
+
app/views/employees/_form.html.erb:1:in `_app_views_employees__form_html_erb__2909117938336405085_70320669778260'
|
161
|
+
app/views/employees/new.html.erb:3:in `_app_views_employees_new_html_erb__2931461264565951896_70320636601180'
|
162
|
+
|
163
|
+
|
164
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.7ms)
|
165
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
|
166
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
|
167
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (36.1ms)
|
168
|
+
|
169
|
+
|
170
|
+
Started GET "/employees/new" for ::1 at 2015-09-02 15:48:35 +0100
|
171
|
+
Processing by EmployeesController#new as HTML
|
172
|
+
Rendered employees/_form.html.erb (1.4ms)
|
173
|
+
Rendered employees/new.html.erb within layouts/application (2.1ms)
|
174
|
+
Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)
|
175
|
+
|
176
|
+
ActionView::Template::Error (wrong number of arguments (3 for 4)):
|
177
|
+
17: </div>
|
178
|
+
18: <div class="field">
|
179
|
+
19: <%= f.label :dob %><br>
|
180
|
+
20: <%= f.gov_uk_date_field :dob %>
|
181
|
+
21: </div>
|
182
|
+
22: <div class="field">
|
183
|
+
23: <%= f.label :joined %><br>
|
184
|
+
app/views/employees/_form.html.erb:20:in `block in _app_views_employees__form_html_erb__2909117938336405085_70320669778260'
|
185
|
+
app/views/employees/_form.html.erb:1:in `_app_views_employees__form_html_erb__2909117938336405085_70320669778260'
|
186
|
+
app/views/employees/new.html.erb:3:in `_app_views_employees_new_html_erb__2931461264565951896_70320636601180'
|
187
|
+
|
188
|
+
|
189
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.4ms)
|
190
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms)
|
191
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
|
192
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (34.6ms)
|
193
|
+
|
194
|
+
|
195
|
+
Started GET "/employees/new" for ::1 at 2015-09-02 15:49:05 +0100
|
196
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
197
|
+
Processing by EmployeesController#new as HTML
|
198
|
+
Rendered employees/_form.html.erb (15.2ms)
|
199
|
+
Rendered employees/new.html.erb within layouts/application (18.1ms)
|
200
|
+
Completed 500 Internal Server Error in 32ms (ActiveRecord: 1.8ms)
|
201
|
+
|
202
|
+
ActionView::Template::Error (undefined method `gov_uk_date_field' for #<ActionView::Helpers::FormBuilder:0x007fdd48466c48>):
|
203
|
+
17: </div>
|
204
|
+
18: <div class="field">
|
205
|
+
19: <%= f.label :dob %><br>
|
206
|
+
20: <%= f.gov_uk_date_field :dob %>
|
207
|
+
21: </div>
|
208
|
+
22: <div class="field">
|
209
|
+
23: <%= f.label :joined %><br>
|
210
|
+
app/views/employees/_form.html.erb:20:in `block in _app_views_employees__form_html_erb___2440583144950743893_70294188407080'
|
211
|
+
app/views/employees/_form.html.erb:1:in `_app_views_employees__form_html_erb___2440583144950743893_70294188407080'
|
212
|
+
app/views/employees/new.html.erb:3:in `_app_views_employees_new_html_erb__1646527904538158480_70294188013500'
|
213
|
+
|
214
|
+
|
215
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.8ms)
|
216
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
|
217
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.0ms)
|
218
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (38.6ms)
|
219
|
+
|
220
|
+
|
221
|
+
Started GET "/employees/new" for ::1 at 2015-09-02 15:49:30 +0100
|
222
|
+
Processing by EmployeesController#new as HTML
|
223
|
+
Rendered employees/_form.html.erb (2.1ms)
|
224
|
+
Rendered employees/new.html.erb within layouts/application (3.0ms)
|
225
|
+
Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)
|
226
|
+
|
227
|
+
ActionView::Template::Error (wrong number of arguments (3 for 4)):
|
228
|
+
17: </div>
|
229
|
+
18: <div class="field">
|
230
|
+
19: <%= f.label :dob %><br>
|
231
|
+
20: <%= f.gov_uk_date_fieldxx :dob %>
|
232
|
+
21: </div>
|
233
|
+
22: <div class="field">
|
234
|
+
23: <%= f.label :joined %><br>
|
235
|
+
app/views/employees/_form.html.erb:20:in `block in _app_views_employees__form_html_erb___2440583144950743893_70294156779280'
|
236
|
+
app/views/employees/_form.html.erb:1:in `_app_views_employees__form_html_erb___2440583144950743893_70294156779280'
|
237
|
+
app/views/employees/new.html.erb:3:in `_app_views_employees_new_html_erb__1646527904538158480_70294188013500'
|
238
|
+
|
239
|
+
|
240
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms)
|
241
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms)
|
242
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
|
243
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (29.8ms)
|
244
|
+
|
245
|
+
|
246
|
+
Started GET "/employees/new" for ::1 at 2015-09-02 15:49:56 +0100
|
247
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
248
|
+
Processing by EmployeesController#new as HTML
|
249
|
+
Rendered employees/_form.html.erb (12.5ms)
|
250
|
+
Rendered employees/new.html.erb within layouts/application (15.6ms)
|
251
|
+
Completed 500 Internal Server Error in 29ms (ActiveRecord: 1.9ms)
|
252
|
+
|
253
|
+
ActionView::Template::Error (wrong number of arguments (3 for 4)):
|
254
|
+
17: </div>
|
255
|
+
18: <div class="field">
|
256
|
+
19: <%= f.label :dob %><br>
|
257
|
+
20: <%= f.gov_uk_date_fieldxx :dob %>
|
258
|
+
21: </div>
|
259
|
+
22: <div class="field">
|
260
|
+
23: <%= f.label :joined %><br>
|
261
|
+
app/views/employees/_form.html.erb:20:in `block in _app_views_employees__form_html_erb__3573522289301603218_70100890627100'
|
262
|
+
app/views/employees/_form.html.erb:1:in `_app_views_employees__form_html_erb__3573522289301603218_70100890627100'
|
263
|
+
app/views/employees/new.html.erb:3:in `_app_views_employees_new_html_erb__1740359912235796220_70100890234900'
|
264
|
+
|
265
|
+
|
266
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms)
|
267
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms)
|
268
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (6.6ms)
|
269
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (38.3ms)
|
270
|
+
|
271
|
+
|
272
|
+
Started GET "/employees/new" for ::1 at 2015-09-02 15:50:29 +0100
|
273
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
274
|
+
Processing by EmployeesController#new as HTML
|
275
|
+
Rendered employees/_form.html.erb (11.0ms)
|
276
|
+
Rendered employees/new.html.erb within layouts/application (13.9ms)
|
277
|
+
Completed 500 Internal Server Error in 28ms (ActiveRecord: 1.9ms)
|
278
|
+
|
279
|
+
ActionView::Template::Error (too few arguments):
|
280
|
+
17: </div>
|
281
|
+
18: <div class="field">
|
282
|
+
19: <%= f.label :dob %><br>
|
283
|
+
20: <%= f.gov_uk_date_fieldxx :dob %>
|
284
|
+
21: </div>
|
285
|
+
22: <div class="field">
|
286
|
+
23: <%= f.label :joined %><br>
|
287
|
+
app/views/employees/_form.html.erb:20:in `block in _app_views_employees__form_html_erb___4205757252987145986_70250752225540'
|
288
|
+
app/views/employees/_form.html.erb:1:in `_app_views_employees__form_html_erb___4205757252987145986_70250752225540'
|
289
|
+
app/views/employees/new.html.erb:3:in `_app_views_employees_new_html_erb___3469836900837591330_70250751833200'
|
290
|
+
|
291
|
+
|
292
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms)
|
293
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms)
|
294
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.8ms)
|
295
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (41.1ms)
|
296
|
+
|
297
|
+
|
298
|
+
Started GET "/employees/new" for ::1 at 2015-09-02 15:52:10 +0100
|
299
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
300
|
+
Processing by EmployeesController#new as HTML
|
301
|
+
Rendered employees/_form.html.erb (16.0ms)
|
302
|
+
Rendered employees/new.html.erb within layouts/application (20.1ms)
|
303
|
+
Completed 500 Internal Server Error in 36ms (ActiveRecord: 1.6ms)
|
304
|
+
|
305
|
+
ActionView::Template::Error (too few arguments):
|
306
|
+
17: </div>
|
307
|
+
18: <div class="field">
|
308
|
+
19: <%= f.label :dob %><br>
|
309
|
+
20: <%= f.gov_uk_date_fieldxx :dob %>
|
310
|
+
21: </div>
|
311
|
+
22: <div class="field">
|
312
|
+
23: <%= f.label :joined %><br>
|
313
|
+
app/views/employees/_form.html.erb:20:in `block in _app_views_employees__form_html_erb___2671389600401360141_70341394918520'
|
314
|
+
app/views/employees/_form.html.erb:1:in `_app_views_employees__form_html_erb___2671389600401360141_70341394918520'
|
315
|
+
app/views/employees/new.html.erb:3:in `_app_views_employees_new_html_erb___3266785793665656411_70341394525380'
|
316
|
+
|
317
|
+
|
318
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.3ms)
|
319
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms)
|
320
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.2ms)
|
321
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (43.0ms)
|
322
|
+
|
323
|
+
|
324
|
+
Started GET "/employees/new" for ::1 at 2015-09-02 15:53:00 +0100
|
325
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
326
|
+
Processing by EmployeesController#new as HTML
|
327
|
+
Rendered employees/_form.html.erb (15.0ms)
|
328
|
+
Rendered employees/new.html.erb within layouts/application (17.7ms)
|
329
|
+
Completed 500 Internal Server Error in 29ms (ActiveRecord: 1.8ms)
|
330
|
+
|
331
|
+
ActionView::Template::Error (uninitialized constant GovUkDateFields::FormFields::OLD_DATE_SEGMENTS):
|
332
|
+
17: </div>
|
333
|
+
18: <div class="field">
|
334
|
+
19: <%= f.label :dob %><br>
|
335
|
+
20: <%= f.gov_uk_date_fieldxx :dob %>
|
336
|
+
21: </div>
|
337
|
+
22: <div class="field">
|
338
|
+
23: <%= f.label :joined %><br>
|
339
|
+
app/views/employees/_form.html.erb:20:in `block in _app_views_employees__form_html_erb___4284270765435451053_70257173888620'
|
340
|
+
app/views/employees/_form.html.erb:1:in `_app_views_employees__form_html_erb___4284270765435451053_70257173888620'
|
341
|
+
app/views/employees/new.html.erb:3:in `_app_views_employees_new_html_erb___1982846319499921801_70257197275200'
|
342
|
+
|
343
|
+
|
344
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms)
|
345
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms)
|
346
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (6.2ms)
|
347
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (38.7ms)
|
348
|
+
|
349
|
+
|
350
|
+
Started GET "/employees/new" for ::1 at 2015-09-02 15:53:40 +0100
|
351
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
352
|
+
Processing by EmployeesController#new as HTML
|
353
|
+
Rendered employees/_form.html.erb (20.2ms)
|
354
|
+
Rendered employees/new.html.erb within layouts/application (23.2ms)
|
355
|
+
Completed 200 OK in 151ms (Views: 141.9ms | ActiveRecord: 1.9ms)
|
356
|
+
|
357
|
+
|
358
|
+
Started GET "/assets/employees.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2015-09-02 15:53:40 +0100
|
359
|
+
|
360
|
+
|
361
|
+
Started GET "/assets/scaffold.self-83b741db49389dc7cfdf85bf7537a0219cce48e085c4116afc83d55c9af47c78.css?body=1" for ::1 at 2015-09-02 15:53:40 +0100
|
362
|
+
|
363
|
+
|
364
|
+
Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2015-09-02 15:53:40 +0100
|
365
|
+
|
366
|
+
|
367
|
+
Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-09-02 15:53:40 +0100
|
368
|
+
|
369
|
+
|
370
|
+
Started GET "/assets/employees.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2015-09-02 15:53:40 +0100
|
371
|
+
|
372
|
+
|
373
|
+
Started POST "/employees" for ::1 at 2015-09-02 15:53:55 +0100
|
374
|
+
Processing by EmployeesController#create as HTML
|
375
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"XB4MZJsR8Vx5yjfu7ZuzgFqwTwc8nk8JE+uRiEYnGRC1Qx31HwafnBN4tt2C9WvWJSCojBGFD0821aBfQHmFeQ==", "employee"=>{"name"=>"", "dob_dd"=>"13", "dob_mm"=>"05", "dob_yyyy"=>"1966", "joined(1i)"=>"2015", "joined(2i)"=>"9", "joined(3i)"=>"2"}, "commit"=>"Create Employee"}
|
376
|
+
Unpermitted parameters: dob_dd, dob_mm, dob_yyyy
|
377
|
+
[1m[35m (0.1ms)[0m BEGIN
|
378
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "employees" ("name", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", ""], ["joined", "2015-09-02"], ["created_at", "2015-09-02 14:53:55.017806"], ["updated_at", "2015-09-02 14:53:55.017806"]]
|
379
|
+
[1m[35m (0.3ms)[0m COMMIT
|
380
|
+
Redirected to http://localhost:3000/employees/1
|
381
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
|
382
|
+
|
383
|
+
|
384
|
+
Started GET "/employees/1" for ::1 at 2015-09-02 15:53:55 +0100
|
385
|
+
Processing by EmployeesController#show as HTML
|
386
|
+
Parameters: {"id"=>"1"}
|
387
|
+
[1m[36mEmployee Load (0.2ms)[0m [1mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1[0m [["id", 1]]
|
388
|
+
Rendered employees/show.html.erb within layouts/application (0.8ms)
|
389
|
+
Completed 200 OK in 15ms (Views: 11.2ms | ActiveRecord: 0.2ms)
|
390
|
+
|
391
|
+
|
392
|
+
Started GET "/employees/1/edit" for ::1 at 2015-09-02 15:56:36 +0100
|
393
|
+
Processing by EmployeesController#edit as HTML
|
394
|
+
Parameters: {"id"=>"1"}
|
395
|
+
[1m[35mEmployee Load (0.1ms)[0m SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1 [["id", 1]]
|
396
|
+
Rendered employees/_form.html.erb (2.6ms)
|
397
|
+
Rendered employees/edit.html.erb within layouts/application (3.7ms)
|
398
|
+
Completed 200 OK in 19ms (Views: 13.8ms | ActiveRecord: 1.2ms)
|
399
|
+
|
400
|
+
|
401
|
+
Started PATCH "/employees/1" for ::1 at 2015-09-02 15:56:42 +0100
|
402
|
+
Processing by EmployeesController#update as HTML
|
403
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"qALTrNBO6I7DGvlBnQYCw8Q+G2Mj2II/ay1c8inEsQtBX8I9VFmGTqmoeHLyaNqVu6786A7DwnlOE20lL5otYg==", "employee"=>{"name"=>"", "dob_dd"=>"13", "dob_mm"=>"08", "dob_yyyy"=>"1953", "joined(1i)"=>"2015", "joined(2i)"=>"9", "joined(3i)"=>"2"}, "commit"=>"Update Employee", "id"=>"1"}
|
404
|
+
[1m[36mEmployee Load (0.2ms)[0m [1mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1[0m [["id", 1]]
|
405
|
+
Unpermitted parameters: joined(1i), joined(2i), joined(3i)
|
406
|
+
[1m[35m (0.1ms)[0m BEGIN
|
407
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
408
|
+
Redirected to http://localhost:3000/employees/1
|
409
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
410
|
+
|
411
|
+
|
412
|
+
Started GET "/employees/1" for ::1 at 2015-09-02 15:56:42 +0100
|
413
|
+
Processing by EmployeesController#show as HTML
|
414
|
+
Parameters: {"id"=>"1"}
|
415
|
+
[1m[35mEmployee Load (0.2ms)[0m SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1 [["id", 1]]
|
416
|
+
Rendered employees/show.html.erb within layouts/application (0.4ms)
|
417
|
+
Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.2ms)
|
418
|
+
[1m[36mEmployee Load (0.4ms)[0m [1mSELECT "employees".* FROM "employees" ORDER BY "employees"."id" ASC LIMIT 1[0m
|
419
|
+
[1m[35m (0.2ms)[0m BEGIN
|
420
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
421
|
+
[1m[36mEmployee Load (0.4ms)[0m [1mSELECT "employees".* FROM "employees" ORDER BY "employees"."id" ASC LIMIT 1[0m
|
422
|
+
[1m[35m (0.2ms)[0m BEGIN
|
423
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
424
|
+
[1m[36mEmployee Load (0.4ms)[0m [1mSELECT "employees".* FROM "employees" ORDER BY "employees"."id" ASC LIMIT 1[0m
|
425
|
+
[1m[35m (0.1ms)[0m BEGIN
|
426
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
427
|
+
[1m[36mEmployee Load (0.4ms)[0m [1mSELECT "employees".* FROM "employees" ORDER BY "employees"."id" ASC LIMIT 1[0m
|
428
|
+
[1m[35m (0.2ms)[0m BEGIN
|
429
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "employees" SET "dob" = $1, "updated_at" = $2 WHERE "employees"."id" = $3[0m [["dob", "1953-08-13"], ["updated_at", "2015-09-02 15:09:31.059280"], ["id", 1]]
|
430
|
+
[1m[35m (0.4ms)[0m COMMIT
|
431
|
+
|
432
|
+
|
433
|
+
Started GET "/employees/1" for ::1 at 2015-09-02 16:12:38 +0100
|
434
|
+
Processing by EmployeesController#show as HTML
|
435
|
+
Parameters: {"id"=>"1"}
|
436
|
+
[1m[36mEmployee Load (0.1ms)[0m [1mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1[0m [["id", 1]]
|
437
|
+
Rendered employees/show.html.erb within layouts/application (0.5ms)
|
438
|
+
Completed 200 OK in 18ms (Views: 13.4ms | ActiveRecord: 1.2ms)
|
439
|
+
|
440
|
+
|
441
|
+
Started GET "/assets/employees.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2015-09-02 16:12:38 +0100
|
442
|
+
|
443
|
+
|
444
|
+
Started GET "/assets/scaffold.self-83b741db49389dc7cfdf85bf7537a0219cce48e085c4116afc83d55c9af47c78.css?body=1" for ::1 at 2015-09-02 16:12:38 +0100
|
445
|
+
|
446
|
+
|
447
|
+
Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-09-02 16:12:38 +0100
|
448
|
+
|
449
|
+
|
450
|
+
Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2015-09-02 16:12:38 +0100
|
451
|
+
|
452
|
+
|
453
|
+
Started GET "/assets/employees.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2015-09-02 16:12:38 +0100
|
454
|
+
|
455
|
+
|
456
|
+
Started GET "/employees/1/edit" for ::1 at 2015-09-02 16:12:43 +0100
|
457
|
+
Processing by EmployeesController#edit as HTML
|
458
|
+
Parameters: {"id"=>"1"}
|
459
|
+
[1m[35mEmployee Load (0.2ms)[0m SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1 [["id", 1]]
|
460
|
+
Rendered employees/_form.html.erb (2.7ms)
|
461
|
+
Rendered employees/edit.html.erb within layouts/application (3.6ms)
|
462
|
+
Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.2ms)
|
463
|
+
|
464
|
+
|
465
|
+
Started PATCH "/employees/1" for ::1 at 2015-09-02 16:12:54 +0100
|
466
|
+
Processing by EmployeesController#update as HTML
|
467
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"B+dx+d6IGtxKZfpJEp7sMVOfY0ZpzXDmB9Wzf+WjvBLuumBoWp90HCDXe3p98DRnLA+EzUTWMKAi64Ko4/0gew==", "employee"=>{"name"=>"", "dob_dd"=>"22", "dob_mm"=>"sep", "dob_yyyy"=>"1963", "joined(1i)"=>"2015", "joined(2i)"=>"9", "joined(3i)"=>"2"}, "commit"=>"Update Employee", "id"=>"1"}
|
468
|
+
[1m[36mEmployee Load (0.1ms)[0m [1mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1[0m [["id", 1]]
|
469
|
+
Unpermitted parameters: joined(1i), joined(2i), joined(3i)
|
470
|
+
[1m[35m (0.1ms)[0m BEGIN
|
471
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
472
|
+
Redirected to http://localhost:3000/employees/1
|
473
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
474
|
+
|
475
|
+
|
476
|
+
Started GET "/employees/1" for ::1 at 2015-09-02 16:12:54 +0100
|
477
|
+
Processing by EmployeesController#show as HTML
|
478
|
+
Parameters: {"id"=>"1"}
|
479
|
+
[1m[35mEmployee Load (0.1ms)[0m SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1 [["id", 1]]
|
480
|
+
Rendered employees/show.html.erb within layouts/application (0.5ms)
|
481
|
+
Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.1ms)
|
482
|
+
|
483
|
+
|
484
|
+
Started GET "/employees/1/edit" for ::1 at 2015-09-02 16:13:19 +0100
|
485
|
+
Processing by EmployeesController#edit as HTML
|
486
|
+
Parameters: {"id"=>"1"}
|
487
|
+
[1m[36mEmployee Load (0.1ms)[0m [1mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1[0m [["id", 1]]
|
488
|
+
Rendered employees/_form.html.erb (2.3ms)
|
489
|
+
Rendered employees/edit.html.erb within layouts/application (3.1ms)
|
490
|
+
Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.1ms)
|
491
|
+
|
492
|
+
|
493
|
+
Started GET "/employees/1/edit" for ::1 at 2015-09-02 16:13:43 +0100
|
494
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
495
|
+
Processing by EmployeesController#edit as HTML
|
496
|
+
Parameters: {"id"=>"1"}
|
497
|
+
[1m[35mEmployee Load (0.2ms)[0m SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1 [["id", 1]]
|
498
|
+
Rendered employees/_form.html.erb (17.5ms)
|
499
|
+
Rendered employees/edit.html.erb within layouts/application (20.9ms)
|
500
|
+
Completed 200 OK in 159ms (Views: 144.6ms | ActiveRecord: 1.9ms)
|
501
|
+
|
502
|
+
|
503
|
+
Started GET "/assets/employees.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2015-09-02 16:13:43 +0100
|
504
|
+
|
505
|
+
|
506
|
+
Started GET "/assets/scaffold.self-83b741db49389dc7cfdf85bf7537a0219cce48e085c4116afc83d55c9af47c78.css?body=1" for ::1 at 2015-09-02 16:13:43 +0100
|
507
|
+
|
508
|
+
|
509
|
+
Started GET "/assets/employees.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2015-09-02 16:13:43 +0100
|
510
|
+
|
511
|
+
|
512
|
+
Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-09-02 16:13:43 +0100
|
513
|
+
|
514
|
+
|
515
|
+
Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2015-09-02 16:13:43 +0100
|
516
|
+
|
517
|
+
|
518
|
+
Started PATCH "/employees/1" for ::1 at 2015-09-02 16:13:55 +0100
|
519
|
+
Processing by EmployeesController#update as HTML
|
520
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"9ZKmGQtWEWzGIggAtn2VtHIAGzkCb0zMMuRcbN4ftNYcz7eIj0F/rKyQiTPZE03iDZD8si90DIoX2m272EEovw==", "employee"=>{"name"=>"Stepro", "dob_dd"=>"13", "dob_mm"=>"8", "dob_yyyy"=>"1953", "joined(1i)"=>"2015", "joined(2i)"=>"9", "joined(3i)"=>"2"}, "commit"=>"Update Employee", "id"=>"1"}
|
521
|
+
[1m[36mEmployee Load (0.2ms)[0m [1mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1[0m [["id", 1]]
|
522
|
+
Unpermitted parameters: joined(1i), joined(2i), joined(3i)
|
523
|
+
[1m[35m (0.1ms)[0m BEGIN
|
524
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "employees" SET "name" = $1, "updated_at" = $2 WHERE "employees"."id" = $3[0m [["name", "Stepro"], ["updated_at", "2015-09-02 15:13:55.120898"], ["id", 1]]
|
525
|
+
[1m[35m (0.3ms)[0m COMMIT
|
526
|
+
Redirected to http://localhost:3000/employees/1
|
527
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
528
|
+
|
529
|
+
|
530
|
+
Started GET "/employees/1" for ::1 at 2015-09-02 16:13:55 +0100
|
531
|
+
Processing by EmployeesController#show as HTML
|
532
|
+
Parameters: {"id"=>"1"}
|
533
|
+
[1m[36mEmployee Load (0.1ms)[0m [1mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1[0m [["id", 1]]
|
534
|
+
Rendered employees/show.html.erb within layouts/application (0.7ms)
|
535
|
+
Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.1ms)
|
536
|
+
|
537
|
+
|
538
|
+
Started GET "/employees/1/edit" for ::1 at 2015-09-02 16:13:57 +0100
|
539
|
+
Processing by EmployeesController#edit as HTML
|
540
|
+
Parameters: {"id"=>"1"}
|
541
|
+
[1m[35mEmployee Load (0.2ms)[0m SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1 [["id", 1]]
|
542
|
+
Rendered employees/_form.html.erb (2.4ms)
|
543
|
+
Rendered employees/edit.html.erb within layouts/application (3.4ms)
|
544
|
+
Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.2ms)
|
545
|
+
|
546
|
+
|
547
|
+
Started PATCH "/employees/1" for ::1 at 2015-09-02 16:14:05 +0100
|
548
|
+
Processing by EmployeesController#update as HTML
|
549
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jh26T8KYDsRE+O8FhsfV4V38eJ41X8u6ymwj8R+YdsxnQKveRo9gBC5KbjbpqQ23ImyfFRhEi/zvUhImGcbqpQ==", "employee"=>{"name"=>"Stepro", "dob_dd"=>"22", "dob_mm"=>"7", "dob_yyyy"=>"1963", "joined(1i)"=>"2015", "joined(2i)"=>"9", "joined(3i)"=>"2"}, "commit"=>"Update Employee", "id"=>"1"}
|
550
|
+
[1m[36mEmployee Load (0.2ms)[0m [1mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1[0m [["id", 1]]
|
551
|
+
Unpermitted parameters: joined(1i), joined(2i), joined(3i)
|
552
|
+
[1m[35m (0.1ms)[0m BEGIN
|
553
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "employees" SET "dob" = $1, "updated_at" = $2 WHERE "employees"."id" = $3[0m [["dob", "1963-07-22"], ["updated_at", "2015-09-02 15:14:05.134332"], ["id", 1]]
|
554
|
+
[1m[35m (0.7ms)[0m COMMIT
|
555
|
+
Redirected to http://localhost:3000/employees/1
|
556
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
|
557
|
+
|
558
|
+
|
559
|
+
Started GET "/employees/1" for ::1 at 2015-09-02 16:14:05 +0100
|
560
|
+
Processing by EmployeesController#show as HTML
|
561
|
+
Parameters: {"id"=>"1"}
|
562
|
+
[1m[36mEmployee Load (0.1ms)[0m [1mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1[0m [["id", 1]]
|
563
|
+
Rendered employees/show.html.erb within layouts/application (0.4ms)
|
564
|
+
Completed 200 OK in 11ms (Views: 10.4ms | ActiveRecord: 0.1ms)
|
565
|
+
|
566
|
+
|
567
|
+
Started GET "/employees/1/edit" for ::1 at 2015-09-02 16:14:08 +0100
|
568
|
+
Processing by EmployeesController#edit as HTML
|
569
|
+
Parameters: {"id"=>"1"}
|
570
|
+
[1m[35mEmployee Load (0.1ms)[0m SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1 [["id", 1]]
|
571
|
+
Rendered employees/_form.html.erb (2.3ms)
|
572
|
+
Rendered employees/edit.html.erb within layouts/application (3.2ms)
|
573
|
+
Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.1ms)
|
574
|
+
|
575
|
+
|
576
|
+
Started PATCH "/employees/1" for ::1 at 2015-09-02 16:14:13 +0100
|
577
|
+
Processing by EmployeesController#update as HTML
|
578
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"3fbGKySVmHLZDSC2V4EQBSkhuKUPxbtM7RxDNdlEEsw0q9e6oIL2srO/oYU478hTVrFfLiLe+wrIInLi3xqOpQ==", "employee"=>{"name"=>"Stepro", "dob_dd"=>"22", "dob_mm"=>"sep", "dob_yyyy"=>"1963", "joined(1i)"=>"2015", "joined(2i)"=>"9", "joined(3i)"=>"2"}, "commit"=>"Update Employee", "id"=>"1"}
|
579
|
+
[1m[36mEmployee Load (0.2ms)[0m [1mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1[0m [["id", 1]]
|
580
|
+
Unpermitted parameters: joined(1i), joined(2i), joined(3i)
|
581
|
+
[1m[35m (0.1ms)[0m BEGIN
|
582
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "employees" SET "dob" = $1, "updated_at" = $2 WHERE "employees"."id" = $3[0m [["dob", "1963-09-22"], ["updated_at", "2015-09-02 15:14:13.734670"], ["id", 1]]
|
583
|
+
[1m[35m (0.7ms)[0m COMMIT
|
584
|
+
Redirected to http://localhost:3000/employees/1
|
585
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.2ms)
|
586
|
+
|
587
|
+
|
588
|
+
Started GET "/employees/1" for ::1 at 2015-09-02 16:14:13 +0100
|
589
|
+
Processing by EmployeesController#show as HTML
|
590
|
+
Parameters: {"id"=>"1"}
|
591
|
+
[1m[36mEmployee Load (0.1ms)[0m [1mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1[0m [["id", 1]]
|
592
|
+
Rendered employees/show.html.erb within layouts/application (0.4ms)
|
593
|
+
Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.1ms)
|
594
|
+
|
595
|
+
|
596
|
+
Started GET "/employees" for ::1 at 2015-09-02 16:14:22 +0100
|
597
|
+
Processing by EmployeesController#index as HTML
|
598
|
+
[1m[35mEmployee Load (0.2ms)[0m SELECT "employees".* FROM "employees"
|
599
|
+
Rendered employees/index.html.erb within layouts/application (1.8ms)
|
600
|
+
Completed 200 OK in 15ms (Views: 14.6ms | ActiveRecord: 0.2ms)
|
601
|
+
|
602
|
+
|
603
|
+
Started GET "/employees/new" for ::1 at 2015-09-02 16:14:23 +0100
|
604
|
+
Processing by EmployeesController#new as HTML
|
605
|
+
Rendered employees/_form.html.erb (2.3ms)
|
606
|
+
Rendered employees/new.html.erb within layouts/application (3.4ms)
|
607
|
+
Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms)
|
608
|
+
|
609
|
+
|
610
|
+
Started POST "/employees" for ::1 at 2015-09-02 16:14:32 +0100
|
611
|
+
Processing by EmployeesController#create as HTML
|
612
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"lDr15rckfywPrhO3gsb3314WGqhUEUYklSZfqrH9JAB9Z+R3MzMR7GUckoTtqC+JIYb9I3kKBmKwGG59t6O4aQ==", "employee"=>{"name"=>"Tony", "dob_dd"=>"17", "dob_mm"=>"05", "dob_yyyy"=>"1965", "joined(1i)"=>"2015", "joined(2i)"=>"9", "joined(3i)"=>"2"}, "commit"=>"Create Employee"}
|
613
|
+
Unpermitted parameters: joined(1i), joined(2i), joined(3i)
|
614
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
615
|
+
|
616
|
+
NoMethodError (undefined method `dd=' for nil:NilClass):
|
617
|
+
app/controllers/employees_controller.rb:24:in `create'
|
618
|
+
|
619
|
+
|
620
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.7ms)
|
621
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms)
|
622
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
|
623
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (39.0ms)
|
624
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
625
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
626
|
+
|
627
|
+
|
628
|
+
Started POST "/employees" for ::1 at 2015-09-02 16:32:44 +0100
|
629
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
630
|
+
Processing by EmployeesController#create as HTML
|
631
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"lDr15rckfywPrhO3gsb3314WGqhUEUYklSZfqrH9JAB9Z+R3MzMR7GUckoTtqC+JIYb9I3kKBmKwGG59t6O4aQ==", "employee"=>{"name"=>"Tony", "dob_dd"=>"17", "dob_mm"=>"05", "dob_yyyy"=>"1965", "joined(1i)"=>"2015", "joined(2i)"=>"9", "joined(3i)"=>"2"}, "commit"=>"Create Employee"}
|
632
|
+
Unpermitted parameters: joined(1i), joined(2i), joined(3i)
|
633
|
+
Completed 500 Internal Server Error in 18ms (ActiveRecord: 2.2ms)
|
634
|
+
|
635
|
+
NoMethodError (undefined method `pp' for GovUkDateFields::FormDate:Class):
|
636
|
+
app/controllers/employees_controller.rb:24:in `create'
|
637
|
+
|
638
|
+
|
639
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.1ms)
|
640
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
|
641
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
|
642
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (35.4ms)
|
643
|
+
|
644
|
+
|
645
|
+
Started POST "/employees" for ::1 at 2015-09-02 16:33:20 +0100
|
646
|
+
Processing by EmployeesController#create as HTML
|
647
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"lDr15rckfywPrhO3gsb3314WGqhUEUYklSZfqrH9JAB9Z+R3MzMR7GUckoTtqC+JIYb9I3kKBmKwGG59t6O4aQ==", "employee"=>{"name"=>"Tony", "dob_dd"=>"17", "dob_mm"=>"05", "dob_yyyy"=>"1965", "joined(1i)"=>"2015", "joined(2i)"=>"9", "joined(3i)"=>"2"}, "commit"=>"Create Employee"}
|
648
|
+
Unpermitted parameters: joined(1i), joined(2i), joined(3i)
|
649
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
650
|
+
|
651
|
+
NoMethodError (undefined method `pp' for GovUkDateFields::FormDate:Class):
|
652
|
+
app/controllers/employees_controller.rb:24:in `create'
|
653
|
+
|
654
|
+
|
655
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.5ms)
|
656
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
|
657
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
|
658
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (28.4ms)
|
659
|
+
|
660
|
+
|
661
|
+
Started POST "/employees" for ::1 at 2015-09-02 16:33:50 +0100
|
662
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
663
|
+
Processing by EmployeesController#create as HTML
|
664
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"lDr15rckfywPrhO3gsb3314WGqhUEUYklSZfqrH9JAB9Z+R3MzMR7GUckoTtqC+JIYb9I3kKBmKwGG59t6O4aQ==", "employee"=>{"name"=>"Tony", "dob_dd"=>"17", "dob_mm"=>"05", "dob_yyyy"=>"1965", "joined(1i)"=>"2015", "joined(2i)"=>"9", "joined(3i)"=>"2"}, "commit"=>"Create Employee"}
|
665
|
+
Unpermitted parameters: joined(1i), joined(2i), joined(3i)
|
666
|
+
[1m[35m (0.1ms)[0m BEGIN
|
667
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "employees" ("name", "dob", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", "Tony"], ["dob", "1965-05-17"], ["created_at", "2015-09-02 15:33:50.699021"], ["updated_at", "2015-09-02 15:33:50.699021"]]
|
668
|
+
[1m[35m (1.0ms)[0m COMMIT
|
669
|
+
Redirected to http://localhost:3000/employees/2
|
670
|
+
Completed 302 Found in 24ms (ActiveRecord: 3.2ms)
|
671
|
+
|
672
|
+
|
673
|
+
Started GET "/employees/2" for ::1 at 2015-09-02 16:33:50 +0100
|
674
|
+
Processing by EmployeesController#show as HTML
|
675
|
+
Parameters: {"id"=>"2"}
|
676
|
+
[1m[36mEmployee Load (0.4ms)[0m [1mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1[0m [["id", 2]]
|
677
|
+
Rendered employees/show.html.erb within layouts/application (1.4ms)
|
678
|
+
Completed 200 OK in 120ms (Views: 114.3ms | ActiveRecord: 0.4ms)
|
679
|
+
|
680
|
+
|
681
|
+
Started GET "/assets/employees.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2015-09-02 16:33:50 +0100
|
682
|
+
|
683
|
+
|
684
|
+
Started GET "/assets/scaffold.self-83b741db49389dc7cfdf85bf7537a0219cce48e085c4116afc83d55c9af47c78.css?body=1" for ::1 at 2015-09-02 16:33:50 +0100
|
685
|
+
|
686
|
+
|
687
|
+
Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-09-02 16:33:50 +0100
|
688
|
+
|
689
|
+
|
690
|
+
Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2015-09-02 16:33:50 +0100
|
691
|
+
|
692
|
+
|
693
|
+
Started GET "/assets/employees.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2015-09-02 16:33:50 +0100
|
694
|
+
|
695
|
+
|
696
|
+
Started GET "/employees" for ::1 at 2015-09-02 16:33:57 +0100
|
697
|
+
Processing by EmployeesController#index as HTML
|
698
|
+
[1m[35mEmployee Load (0.2ms)[0m SELECT "employees".* FROM "employees"
|
699
|
+
Rendered employees/index.html.erb within layouts/application (2.2ms)
|
700
|
+
Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.2ms)
|
701
|
+
|
702
|
+
|
703
|
+
Started GET "/employees/new" for ::1 at 2015-09-02 16:33:58 +0100
|
704
|
+
Processing by EmployeesController#new as HTML
|
705
|
+
Rendered employees/_form.html.erb (9.1ms)
|
706
|
+
Rendered employees/new.html.erb within layouts/application (12.8ms)
|
707
|
+
Completed 200 OK in 23ms (Views: 22.8ms | ActiveRecord: 0.0ms)
|
708
|
+
|
709
|
+
|
710
|
+
Started POST "/employees" for ::1 at 2015-09-02 16:34:08 +0100
|
711
|
+
Processing by EmployeesController#create as HTML
|
712
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"4qqfnvVNZ/xW9je5/VMO5S1h/GWZNJXKgXHB4cqbBT8L944PcVoJPDxEtoqSPdazUvEb7rQv1YykT/A2zMWZVg==", "employee"=>{"name"=>"ioannis", "dob_dd"=>"7", "dob_mm"=>"12", "dob_yyyy"=>"1981", "joined(1i)"=>"2015", "joined(2i)"=>"9", "joined(3i)"=>"2"}, "commit"=>"Create Employee"}
|
713
|
+
Unpermitted parameters: joined(1i), joined(2i), joined(3i)
|
714
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
715
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "employees" ("name", "dob", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "ioannis"], ["dob", "1981-12-07"], ["created_at", "2015-09-02 15:34:08.980467"], ["updated_at", "2015-09-02 15:34:08.980467"]]
|
716
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
717
|
+
Redirected to http://localhost:3000/employees/3
|
718
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
719
|
+
|
720
|
+
|
721
|
+
Started GET "/employees/3" for ::1 at 2015-09-02 16:34:08 +0100
|
722
|
+
Processing by EmployeesController#show as HTML
|
723
|
+
Parameters: {"id"=>"3"}
|
724
|
+
[1m[35mEmployee Load (0.2ms)[0m SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1 [["id", 3]]
|
725
|
+
Rendered employees/show.html.erb within layouts/application (0.4ms)
|
726
|
+
Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.2ms)
|
727
|
+
|
728
|
+
|
729
|
+
Started GET "/employees" for ::1 at 2015-09-02 16:34:12 +0100
|
730
|
+
Processing by EmployeesController#index as HTML
|
731
|
+
[1m[36mEmployee Load (0.2ms)[0m [1mSELECT "employees".* FROM "employees"[0m
|
732
|
+
Rendered employees/index.html.erb within layouts/application (2.0ms)
|
733
|
+
Completed 200 OK in 12ms (Views: 11.8ms | ActiveRecord: 0.2ms)
|
734
|
+
|
735
|
+
|
736
|
+
Started GET "/employees" for ::1 at 2015-09-02 16:58:57 +0100
|
737
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
738
|
+
Processing by EmployeesController#index as HTML
|
739
|
+
[1m[35mEmployee Load (0.6ms)[0m SELECT "employees".* FROM "employees"
|
740
|
+
Rendered employees/index.html.erb within layouts/application (17.2ms)
|
741
|
+
Completed 200 OK in 148ms (Views: 143.6ms | ActiveRecord: 2.4ms)
|
742
|
+
|
743
|
+
|
744
|
+
Started GET "/employees/1/edit" for ::1 at 2015-09-02 16:59:00 +0100
|
745
|
+
Processing by EmployeesController#edit as HTML
|
746
|
+
Parameters: {"id"=>"1"}
|
747
|
+
[1m[36mEmployee Load (0.2ms)[0m [1mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1[0m [["id", 1]]
|
748
|
+
Rendered employees/_form.html.erb (9.6ms)
|
749
|
+
Rendered employees/edit.html.erb within layouts/application (12.0ms)
|
750
|
+
Completed 200 OK in 28ms (Views: 22.5ms | ActiveRecord: 0.3ms)
|
751
|
+
|
752
|
+
|
753
|
+
Started PATCH "/employees/1" for ::1 at 2015-09-02 16:59:11 +0100
|
754
|
+
Processing by EmployeesController#update as HTML
|
755
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"hsVbCtbmqA+EM6h1SstjRovI9EsDmLa/7O98s0g5fS5vmEqbUvHGz+6BKUYlpbsQ9FgTwC6D9vnJ0U1kTmfhRw==", "employee"=>{"name"=>"Steproponikas", "dob_dd"=>"13", "dob_mm"=>"8", "dob_yyyy"=>"1963", "joined(1i)"=>"2015", "joined(2i)"=>"9", "joined(3i)"=>"2"}, "commit"=>"Update Employee", "id"=>"1"}
|
756
|
+
[1m[35mEmployee Load (0.2ms)[0m SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1 [["id", 1]]
|
757
|
+
Unpermitted parameters: joined(1i), joined(2i), joined(3i)
|
758
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
759
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "employees" SET "name" = $1, "dob" = $2, "updated_at" = $3 WHERE "employees"."id" = $4 [["name", "Steproponikas"], ["dob", "1963-08-13"], ["updated_at", "2015-09-02 15:59:11.768590"], ["id", 1]]
|
760
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
761
|
+
Redirected to http://localhost:3000/employees/1
|
762
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
763
|
+
|
764
|
+
|
765
|
+
Started GET "/employees/1" for ::1 at 2015-09-02 16:59:11 +0100
|
766
|
+
Processing by EmployeesController#show as HTML
|
767
|
+
Parameters: {"id"=>"1"}
|
768
|
+
[1m[35mEmployee Load (0.1ms)[0m SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1 [["id", 1]]
|
769
|
+
Rendered employees/show.html.erb within layouts/application (0.7ms)
|
770
|
+
Completed 200 OK in 11ms (Views: 10.4ms | ActiveRecord: 0.1ms)
|
771
|
+
|
772
|
+
|
773
|
+
Started GET "/employees/1/edit" for ::1 at 2015-09-02 16:59:37 +0100
|
774
|
+
Processing by EmployeesController#edit as HTML
|
775
|
+
Parameters: {"id"=>"1"}
|
776
|
+
[1m[36mEmployee Load (0.1ms)[0m [1mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1[0m [["id", 1]]
|
777
|
+
Rendered employees/_form.html.erb (2.3ms)
|
778
|
+
Rendered employees/edit.html.erb within layouts/application (3.1ms)
|
779
|
+
Completed 200 OK in 18ms (Views: 12.8ms | ActiveRecord: 1.3ms)
|
780
|
+
|
781
|
+
|
782
|
+
Started PATCH "/employees/1" for ::1 at 2015-09-02 16:59:46 +0100
|
783
|
+
Processing by EmployeesController#update as HTML
|
784
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"TQFOxvH2gg4jYSuJpJTls/SzdqsrdiDZnCd+0hk6NZekXF9XdeHszknTqrrL+j3liyORIAZtYJ+5GU8FH2Sp/g==", "employee"=>{"name"=>"Steproponikas Bonstart", "dob_dd"=>"13", "dob_mm"=>"8", "dob_yyyy"=>"1953", "joined(1i)"=>"2015", "joined(2i)"=>"9", "joined(3i)"=>"2"}, "commit"=>"Update Employee", "id"=>"1"}
|
785
|
+
[1m[35mEmployee Load (0.2ms)[0m SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1 [["id", 1]]
|
786
|
+
Unpermitted parameters: joined(1i), joined(2i), joined(3i)
|
787
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
788
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "employees" SET "name" = $1, "dob" = $2, "updated_at" = $3 WHERE "employees"."id" = $4 [["name", "Steproponikas Bonstart"], ["dob", "1953-08-13"], ["updated_at", "2015-09-02 15:59:46.893253"], ["id", 1]]
|
789
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
790
|
+
Redirected to http://localhost:3000/employees/1
|
791
|
+
Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
|
792
|
+
|
793
|
+
|
794
|
+
Started GET "/employees/1" for ::1 at 2015-09-02 16:59:46 +0100
|
795
|
+
Processing by EmployeesController#show as HTML
|
796
|
+
Parameters: {"id"=>"1"}
|
797
|
+
[1m[35mEmployee Load (0.1ms)[0m SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1 [["id", 1]]
|
798
|
+
Rendered employees/show.html.erb within layouts/application (0.4ms)
|
799
|
+
Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.1ms)
|
800
|
+
|
801
|
+
|
802
|
+
Started GET "/employees/1/edit" for ::1 at 2015-09-02 17:18:09 +0100
|
803
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
804
|
+
Processing by EmployeesController#edit as HTML
|
805
|
+
Parameters: {"id"=>"1"}
|
806
|
+
[1m[35mEmployee Load (0.2ms)[0m SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1 [["id", 1]]
|
807
|
+
Rendered employees/_form.html.erb (17.3ms)
|
808
|
+
Rendered employees/edit.html.erb within layouts/application (20.9ms)
|
809
|
+
Completed 200 OK in 145ms (Views: 130.7ms | ActiveRecord: 1.9ms)
|
810
|
+
|
811
|
+
|
812
|
+
Started PATCH "/employees/1" for ::1 at 2015-09-02 17:18:13 +0100
|
813
|
+
Processing by EmployeesController#update as HTML
|
814
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"DTvIUJs/PsHx3O7nMQFQ5jhx5srwb6yEEjWqzkwDidrkZtnBHyhQAZtub9Reb4iwR+EBQd107MI3C5sZSl0Vsw==", "employee"=>{"name"=>"Steproponikas Bonstart", "dob_dd"=>"13", "dob_mm"=>"8", "dob_yyyy"=>"1953", "joined(1i)"=>"2015", "joined(2i)"=>"9", "joined(3i)"=>"2"}, "commit"=>"Update Employee", "id"=>"1"}
|
815
|
+
[1m[36mEmployee Load (0.2ms)[0m [1mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1[0m [["id", 1]]
|
816
|
+
Completed 400 Bad Request in 1ms (ActiveRecord: 0.2ms)
|
817
|
+
|
818
|
+
ActionController::ParameterMissing (param is missing or the value is empty: pp):
|
819
|
+
app/controllers/employees_controller.rb:57:in `employee_params'
|
820
|
+
app/controllers/employees_controller.rb:35:in `update'
|
821
|
+
|
822
|
+
|
823
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (2.8ms)
|
824
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
|
825
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms)
|
826
|
+
Rendered /Users/stephen/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (29.4ms)
|
827
|
+
|
828
|
+
|
829
|
+
Started PATCH "/employees/1" for ::1 at 2015-09-02 17:20:13 +0100
|
830
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
831
|
+
Processing by EmployeesController#update as HTML
|
832
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"DTvIUJs/PsHx3O7nMQFQ5jhx5srwb6yEEjWqzkwDidrkZtnBHyhQAZtub9Reb4iwR+EBQd107MI3C5sZSl0Vsw==", "employee"=>{"name"=>"Steproponikas Bonstart", "dob_dd"=>"13", "dob_mm"=>"8", "dob_yyyy"=>"1953", "joined(1i)"=>"2015", "joined(2i)"=>"9", "joined(3i)"=>"2"}, "commit"=>"Update Employee", "id"=>"1"}
|
833
|
+
[1m[35mEmployee Load (0.3ms)[0m SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1 [["id", 1]]
|
834
|
+
Unpermitted parameters: joined(1i), joined(2i), joined(3i)
|
835
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
836
|
+
[1m[35m (0.1ms)[0m COMMIT
|
837
|
+
Redirected to http://localhost:3000/employees/1
|
838
|
+
Completed 302 Found in 26ms (ActiveRecord: 2.3ms)
|
839
|
+
|
840
|
+
|
841
|
+
Started GET "/employees/1" for ::1 at 2015-09-02 17:20:13 +0100
|
842
|
+
Processing by EmployeesController#show as HTML
|
843
|
+
Parameters: {"id"=>"1"}
|
844
|
+
[1m[36mEmployee Load (0.2ms)[0m [1mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1[0m [["id", 1]]
|
845
|
+
Rendered employees/show.html.erb within layouts/application (1.8ms)
|
846
|
+
Completed 200 OK in 116ms (Views: 115.2ms | ActiveRecord: 0.2ms)
|
847
|
+
|
848
|
+
|
849
|
+
Started GET "/assets/employees.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2015-09-02 17:20:14 +0100
|
850
|
+
|
851
|
+
|
852
|
+
Started GET "/assets/employees.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2015-09-02 17:20:14 +0100
|
853
|
+
|
854
|
+
|
855
|
+
Started GET "/assets/scaffold.self-83b741db49389dc7cfdf85bf7537a0219cce48e085c4116afc83d55c9af47c78.css?body=1" for ::1 at 2015-09-02 17:20:14 +0100
|
856
|
+
|
857
|
+
|
858
|
+
Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2015-09-02 17:20:14 +0100
|
859
|
+
|
860
|
+
|
861
|
+
Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-09-02 17:20:14 +0100
|
862
|
+
|
863
|
+
|
864
|
+
Started GET "/employees" for ::1 at 2015-09-03 09:03:36 +0100
|
865
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
866
|
+
Processing by EmployeesController#index as HTML
|
867
|
+
[1m[35mEmployee Load (0.7ms)[0m SELECT "employees".* FROM "employees"
|
868
|
+
Rendered employees/index.html.erb within layouts/application (23.7ms)
|
869
|
+
Completed 200 OK in 164ms (Views: 157.9ms | ActiveRecord: 3.7ms)
|
870
|
+
|
871
|
+
|
872
|
+
Started GET "/assets/scaffold.self-83b741db49389dc7cfdf85bf7537a0219cce48e085c4116afc83d55c9af47c78.css?body=1" for ::1 at 2015-09-03 09:03:37 +0100
|
873
|
+
|
874
|
+
|
875
|
+
Started GET "/assets/employees.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2015-09-03 09:03:37 +0100
|
876
|
+
|
877
|
+
|
878
|
+
Started GET "/assets/employees.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2015-09-03 09:03:37 +0100
|
879
|
+
|
880
|
+
|
881
|
+
Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-09-03 09:03:37 +0100
|
882
|
+
|
883
|
+
|
884
|
+
Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2015-09-03 09:03:37 +0100
|
885
|
+
|
886
|
+
|
887
|
+
Started GET "/employees/new" for ::1 at 2015-09-03 09:03:38 +0100
|
888
|
+
Processing by EmployeesController#new as HTML
|
889
|
+
Rendered employees/_form.html.erb (20.3ms)
|
890
|
+
Rendered employees/new.html.erb within layouts/application (24.4ms)
|
891
|
+
Completed 200 OK in 36ms (Views: 35.7ms | ActiveRecord: 0.0ms)
|
892
|
+
|
893
|
+
|
894
|
+
Started POST "/employees" for ::1 at 2015-09-03 09:03:55 +0100
|
895
|
+
Processing by EmployeesController#create as HTML
|
896
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"7CD4wnDu0bYtKTbfwElnxFcQd5Diqkkk89Drn0mZ25wFfelT9Pm/dkebt+yvJ7+SKICQG8+xCWLW7tpIT8dH9Q==", "employee"=>{"name"=>"John", "dob_dd"=>"jj", "dob_mm"=>"", "dob_yyyy"=>"", "joined(1i)"=>"2015", "joined(2i)"=>"9", "joined(3i)"=>"3"}, "commit"=>"Create Employee"}
|
897
|
+
Unpermitted parameters: joined(1i), joined(2i), joined(3i)
|
898
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
899
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "employees" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2015-09-03 08:03:55.774146"], ["updated_at", "2015-09-03 08:03:55.774146"]]
|
900
|
+
[1m[36m (1.0ms)[0m [1mCOMMIT[0m
|
901
|
+
Redirected to http://localhost:3000/employees/4
|
902
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
|
903
|
+
|
904
|
+
|
905
|
+
Started GET "/employees/4" for ::1 at 2015-09-03 09:03:55 +0100
|
906
|
+
Processing by EmployeesController#show as HTML
|
907
|
+
Parameters: {"id"=>"4"}
|
908
|
+
[1m[35mEmployee Load (0.2ms)[0m SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1 [["id", 4]]
|
909
|
+
Rendered employees/show.html.erb within layouts/application (0.8ms)
|
910
|
+
Completed 200 OK in 18ms (Views: 11.5ms | ActiveRecord: 0.2ms)
|
911
|
+
[1m[36mEmployee Load (0.6ms)[0m [1mSELECT "employees".* FROM "employees" ORDER BY "employees"."id" ASC LIMIT 1[0m
|
912
|
+
|
913
|
+
|
914
|
+
Started GET "/employees" for ::1 at 2015-09-03 10:16:45 +0100
|
915
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
916
|
+
Processing by EmployeesController#index as HTML
|
917
|
+
[1m[35mEmployee Load (0.5ms)[0m SELECT "employees".* FROM "employees"
|
918
|
+
Rendered employees/index.html.erb within layouts/application (20.5ms)
|
919
|
+
Completed 200 OK in 155ms (Views: 150.4ms | ActiveRecord: 2.5ms)
|
920
|
+
|
921
|
+
|
922
|
+
Started GET "/employees" for ::1 at 2015-09-03 10:16:45 +0100
|
923
|
+
Processing by EmployeesController#index as HTML
|
924
|
+
[1m[36mEmployee Load (0.3ms)[0m [1mSELECT "employees".* FROM "employees"[0m
|
925
|
+
Rendered employees/index.html.erb within layouts/application (2.4ms)
|
926
|
+
Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.3ms)
|
927
|
+
|
928
|
+
|
929
|
+
Started GET "/employees/new" for ::1 at 2015-09-03 10:16:47 +0100
|
930
|
+
Processing by EmployeesController#new as HTML
|
931
|
+
Rendered employees/_form.html.erb (10.7ms)
|
932
|
+
Rendered employees/new.html.erb within layouts/application (13.2ms)
|
933
|
+
Completed 200 OK in 24ms (Views: 23.6ms | ActiveRecord: 0.0ms)
|
934
|
+
|
935
|
+
|
936
|
+
Started POST "/employees" for ::1 at 2015-09-03 10:16:50 +0100
|
937
|
+
Processing by EmployeesController#create as HTML
|
938
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"RmNhYCHblYhZNhuVKtZ+yPKKlX6JrAm57ZG4zDMEy+OvPnDxpcz7SDOEmqZFuKaejRpy9aS3Sf/Ir4kbNVpXig==", "employee"=>{"name"=>"", "dob_dd"=>"", "dob_mm"=>"xx", "dob_yyyy"=>"", "joined(1i)"=>"2015", "joined(2i)"=>"9", "joined(3i)"=>"3"}, "commit"=>"Create Employee"}
|
939
|
+
Unpermitted parameters: joined(1i), joined(2i), joined(3i)
|
940
|
+
[1m[35m (0.1ms)[0m BEGIN
|
941
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
942
|
+
Rendered employees/_form.html.erb (2.5ms)
|
943
|
+
Rendered employees/new.html.erb within layouts/application (3.2ms)
|
944
|
+
Completed 200 OK in 15ms (Views: 13.1ms | ActiveRecord: 0.2ms)
|
945
|
+
|
946
|
+
|
947
|
+
Started POST "/employees" for ::1 at 2015-09-03 10:22:19 +0100
|
948
|
+
Processing by EmployeesController#create as HTML
|
949
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"wse8aAMfT5gHMLJf459BBmnZOg8TGYwgI3DCKYHfIkormq35hwghWG2CM2yM8ZlQFkndhD4CzGYGTvP+h4G+Iw==", "employee"=>{"name"=>"", "dob_dd"=>"13", "dob_mm"=>"08", "dob_yyyy"=>"1963", "joined(1i)"=>"2015", "joined(2i)"=>"9", "joined(3i)"=>"3"}, "commit"=>"Create Employee"}
|
950
|
+
Unpermitted parameters: joined(1i), joined(2i), joined(3i)
|
951
|
+
[1m[35m (0.1ms)[0m BEGIN
|
952
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "employees" ("name", "dob", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["name", ""], ["dob", "1963-08-13"], ["created_at", "2015-09-03 09:22:19.250582"], ["updated_at", "2015-09-03 09:22:19.250582"]]
|
953
|
+
[1m[35m (0.4ms)[0m COMMIT
|
954
|
+
Redirected to http://localhost:3000/employees/5
|
955
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
|
956
|
+
|
957
|
+
|
958
|
+
Started GET "/employees/5" for ::1 at 2015-09-03 10:22:19 +0100
|
959
|
+
Processing by EmployeesController#show as HTML
|
960
|
+
Parameters: {"id"=>"5"}
|
961
|
+
[1m[36mEmployee Load (0.3ms)[0m [1mSELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1[0m [["id", 5]]
|
962
|
+
Rendered employees/show.html.erb within layouts/application (0.8ms)
|
963
|
+
Completed 200 OK in 16ms (Views: 11.8ms | ActiveRecord: 0.3ms)
|
964
|
+
|
965
|
+
|
966
|
+
Started GET "/employees" for ::1 at 2015-09-03 10:23:00 +0100
|
967
|
+
Processing by EmployeesController#index as HTML
|
968
|
+
[1m[35mEmployee Load (0.2ms)[0m SELECT "employees".* FROM "employees"
|
969
|
+
Rendered employees/index.html.erb within layouts/application (2.2ms)
|
970
|
+
Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.2ms)
|
971
|
+
|
972
|
+
|
973
|
+
Started GET "/employees/new" for ::1 at 2015-09-03 10:23:02 +0100
|
974
|
+
Processing by EmployeesController#new as HTML
|
975
|
+
Rendered employees/_form.html.erb (2.2ms)
|
976
|
+
Rendered employees/new.html.erb within layouts/application (3.0ms)
|
977
|
+
Completed 200 OK in 13ms (Views: 13.0ms | ActiveRecord: 0.0ms)
|
978
|
+
|
979
|
+
|
980
|
+
Started POST "/employees" for ::1 at 2015-09-03 10:23:20 +0100
|
981
|
+
Processing by EmployeesController#create as HTML
|
982
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"2KcIUhbSgHlZzmW0rdlmzdPwONEPNPfdHwTO+/f2K9cx+hnDksXuuTN85IfCt76brGDfWiIvt5s6Ov8s8ai3vg==", "employee"=>{"name"=>"Martin", "dob_dd"=>"15", "dob_mm"=>"05", "dob_yyyy"=>"1975", "joined_dd"=>"14", "joined_mm"=>"05", "joined_yyyy"=>"2014"}, "commit"=>"Create Employee"}
|
983
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
984
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "employees" ("name", "dob", "joined", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "Martin"], ["dob", "1975-05-15"], ["joined", "2014-05-14"], ["created_at", "2015-09-03 09:23:20.086467"], ["updated_at", "2015-09-03 09:23:20.086467"]]
|
985
|
+
[1m[36m (0.8ms)[0m [1mCOMMIT[0m
|
986
|
+
Redirected to http://localhost:3000/employees/6
|
987
|
+
Completed 302 Found in 3ms (ActiveRecord: 1.1ms)
|
988
|
+
|
989
|
+
|
990
|
+
Started GET "/employees/6" for ::1 at 2015-09-03 10:23:20 +0100
|
991
|
+
Processing by EmployeesController#show as HTML
|
992
|
+
Parameters: {"id"=>"6"}
|
993
|
+
[1m[35mEmployee Load (0.2ms)[0m SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1 [["id", 6]]
|
994
|
+
Rendered employees/show.html.erb within layouts/application (0.4ms)
|
995
|
+
Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.2ms)
|