Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NilClass# (ArgumentError) "invalid date" #7

Open
olkeene opened this issue Nov 12, 2013 · 1 comment
Open

NilClass# (ArgumentError) "invalid date" #7

olkeene opened this issue Nov 12, 2013 · 1 comment
Labels

Comments

@olkeene
Copy link
Collaborator

olkeene commented Nov 12, 2013

Exceptioninvalid date
Last OccurrenceNovember 12, 2013 22:57:08 +0000
Count1

Stack Trace

[app].../app/models/ad.rb:33:in `strptime'
[app].../app/models/ad.rb:33:in `when_run='
[app].../vendor/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/attribute_assignment.rb:42:in `public_send'
[app].../vendor/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/attribute_assignment.rb:42:in `_assign_attribute'
[app].../vendor/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/attribute_assignment.rb:29:in `block in assign_attributes'
[app].../vendor/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/attribute_assignment.rb:23:in `each'
[app].../vendor/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/attribute_assignment.rb:23:in `assign_attributes'
[app].../vendor/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/core.rb:192:in `initialize'
[app].../vendor/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/inheritance.rb:27:in `new'
[app].../vendor/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/inheritance.rb:27:in `new'
[app].../vendor/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/reflection.rb:189:in `build_association'
[app].../vendor/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/associations/association.rb:242:in `build_record'
[app].../vendor/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/associations/collection_association.rb:114:in `build'
[app].../vendor/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/associations/collection_proxy.rb:229:in `build'
[app].../vendor/bundle/ruby/1.9.1/gems/inherited_resources-1.4.1/lib/inherited_resources/base_helpers.rb:59:in `build_resource'
[app].../vendor/bundle/ruby/1.9.1/gems/inherited_resources-1.4.1/lib/inherited_resources/actions.rb:31:in `create'
[app].../app/controllers/ads_controller.rb:41:in `create'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/abstract_controller/base.rb:189:in `process_action'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_controller/metal/rendering.rb:10:in `process_action'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
[app].../vendor/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:413:in `_run__2506464979591473480__process_action__callbacks'
[app].../vendor/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:80:in `run_callbacks'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/abstract_controller/callbacks.rb:17:in `process_action'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_controller/metal/rescue.rb:29:in `process_action'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
[app].../vendor/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/notifications.rb:159:in `block in instrument'
[app].../vendor/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
[app].../vendor/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/notifications.rb:159:in `instrument'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
[app].../vendor/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/abstract_controller/base.rb:136:in `process'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/abstract_controller/rendering.rb:44:in `process'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_controller/metal.rb:195:in `dispatch'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_controller/metal.rb:231:in `block in action'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/routing/route_set.rb:80:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/routing/route_set.rb:48:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/journey/router.rb:71:in `block in call'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/journey/router.rb:59:in `each'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/journey/router.rb:59:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/routing/route_set.rb:655:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/rack-pjax-0.7.0/lib/rack/pjax.rb:12:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/party_foul-1.4.0/lib/party_foul/middleware.rb:8:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
[app].../vendor/bundle/ruby/1.9.1/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
[app].../vendor/bundle/ruby/1.9.1/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/remotipart-1.2.1/lib/remotipart/middleware.rb:27:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/flash.rb:241:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
[app].../vendor/bundle/ruby/1.9.1/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/cookies.rb:486:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/query_cache.rb:36:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
[app].../vendor/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:373:in `_run__1234823222751851561__call__callbacks'
[app].../vendor/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:80:in `run_callbacks'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/rack/logger.rb:38:in `call_app'
[app].../vendor/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/rack/logger.rb:23:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/request_id.rb:21:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/activesupport-4.0.0/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/static.rb:64:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/engine.rb:511:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/application.rb:97:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
[app].../vendor/bundle/ruby/1.9.1/gems/thin-1.6.1/lib/thin/connection.rb:82:in `block in pre_process'
[app].../vendor/bundle/ruby/1.9.1/gems/thin-1.6.1/lib/thin/connection.rb:80:in `catch'
[app].../vendor/bundle/ruby/1.9.1/gems/thin-1.6.1/lib/thin/connection.rb:80:in `pre_process'
[app].../vendor/bundle/ruby/1.9.1/gems/thin-1.6.1/lib/thin/connection.rb:55:in `process'
[app].../vendor/bundle/ruby/1.9.1/gems/thin-1.6.1/lib/thin/connection.rb:41:in `receive_data'
[app].../vendor/bundle/ruby/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run_machine'
[app].../vendor/bundle/ruby/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run'
[app].../vendor/bundle/ruby/1.9.1/gems/thin-1.6.1/lib/thin/backends/base.rb:73:in `start'
[app].../vendor/bundle/ruby/1.9.1/gems/thin-1.6.1/lib/thin/server.rb:162:in `start'
[app].../vendor/bundle/ruby/1.9.1/gems/rack-1.5.2/lib/rack/handler/thin.rb:16:in `run'
[app].../vendor/bundle/ruby/1.9.1/gems/rack-1.5.2/lib/rack/server.rb:264:in `start'
[app].../vendor/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/commands/server.rb:84:in `start'
[app].../vendor/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/commands.rb:78:in `block in '
[app].../vendor/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/commands.rb:73:in `tap'
[app].../vendor/bundle/ruby/1.9.1/gems/railties-4.0.0/lib/rails/commands.rb:73:in `'
bin/rails:4:in `require'
bin/rails:4:in `'

Fingerprint: 7b94c90fc66712e02931767a27897d37f2c1b6fb

@olkeene
Copy link
Collaborator Author

olkeene commented Nov 12, 2013

Occurred AtNovember 12, 2013 22:57:08 +0000
URL[POST] /ads
Params
actioncreate
controllerads
Session
IP Address184.166.90.59
HTTP Headers
VersionHTTP/1.1
User AgentMozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36
Accept Encodinggzip,deflate,sdch
Accepttext/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant