Started GET "/" for 127.0.0.1 at 2014-08-03 12:53:08 -0400
ActiveRecord::NoDatabaseError (FATAL: database "dummy_development" does not exist
Run `$ bin/rake db:create db:migrate` to create your database):
activerecord (4.1.4) lib/active_record/connection_adapters/postgresql_adapter.rb:898:in `rescue in connect'
activerecord (4.1.4) lib/active_record/connection_adapters/postgresql_adapter.rb:888:in `connect'
activerecord (4.1.4) lib/active_record/connection_adapters/postgresql_adapter.rb:568:in `initialize'
activerecord (4.1.4) lib/active_record/connection_adapters/postgresql_adapter.rb:41:in `new'
activerecord (4.1.4) lib/active_record/connection_adapters/postgresql_adapter.rb:41:in `postgresql_connection'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:435:in `new_connection'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:445:in `checkout_new_connection'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:416:in `acquire_connection'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:351:in `block in checkout'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:350:in `checkout'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in `block in connection'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in `connection'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:541:in `retrieve_connection'
activerecord (4.1.4) lib/active_record/connection_handling.rb:113:in `retrieve_connection'
activerecord (4.1.4) lib/active_record/connection_handling.rb:87:in `connection'
activerecord (4.1.4) lib/active_record/query_cache.rb:51:in `restore_query_cache_settings'
activerecord (4.1.4) lib/active_record/query_cache.rb:43:in `rescue in call'
activerecord (4.1.4) lib/active_record/query_cache.rb:32:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (21.0ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 12:54:13 -0400
ActiveRecord::NoDatabaseError (FATAL: database "dummy_development" does not exist
Run `$ bin/rake db:create db:migrate` to create your database):
activerecord (4.1.4) lib/active_record/connection_adapters/postgresql_adapter.rb:898:in `rescue in connect'
activerecord (4.1.4) lib/active_record/connection_adapters/postgresql_adapter.rb:888:in `connect'
activerecord (4.1.4) lib/active_record/connection_adapters/postgresql_adapter.rb:568:in `initialize'
activerecord (4.1.4) lib/active_record/connection_adapters/postgresql_adapter.rb:41:in `new'
activerecord (4.1.4) lib/active_record/connection_adapters/postgresql_adapter.rb:41:in `postgresql_connection'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:435:in `new_connection'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:445:in `checkout_new_connection'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:416:in `acquire_connection'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:351:in `block in checkout'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:350:in `checkout'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in `block in connection'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in `connection'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:541:in `retrieve_connection'
activerecord (4.1.4) lib/active_record/connection_handling.rb:113:in `retrieve_connection'
activerecord (4.1.4) lib/active_record/connection_handling.rb:87:in `connection'
activerecord (4.1.4) lib/active_record/query_cache.rb:51:in `restore_query_cache_settings'
activerecord (4.1.4) lib/active_record/query_cache.rb:43:in `rescue in call'
activerecord (4.1.4) lib/active_record/query_cache.rb:32:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (22.4ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 12:54:27 -0400
Processing by Rails::WelcomeController#index as HTML
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/railties-4.1.4/lib/rails/templates/rails/welcome/index.html.erb (1.9ms)
Completed 200 OK in 21ms (Views: 20.2ms | ActiveRecord: 0.0ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 12:55:44 -0400
AbstractController::ActionNotFound (The action 'index' could not be found for HomeController):
actionpack (4.1.4) lib/abstract_controller/base.rb:131:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (0.7ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 12:55:54 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 3ms
ActionView::MissingTemplate (Missing template home/index, application/index with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/app/views"
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views"
):
actionview (4.1.4) lib/action_view/path_set.rb:46:in `find'
actionview (4.1.4) lib/action_view/lookup_context.rb:124:in `find'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:41:in `determine_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (0.7ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 12:56:09 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 2ms
ActionView::MissingTemplate (Missing template home/index, application/index with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/app/views"
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views"
):
actionview (4.1.4) lib/action_view/path_set.rb:46:in `find'
actionview (4.1.4) lib/action_view/lookup_context.rb:124:in `find'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:41:in `determine_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (0.7ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 12:56:13 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 2ms
ActionView::MissingTemplate (Missing template home/index, application/index with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/app/views"
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views"
):
actionview (4.1.4) lib/action_view/path_set.rb:46:in `find'
actionview (4.1.4) lib/action_view/lookup_context.rb:124:in `find'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:41:in `determine_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (0.6ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 12:56:50 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 7ms
ActionView::MissingTemplate (Missing template home/index, application/index with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/app/views"
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views"
):
actionview (4.1.4) lib/action_view/path_set.rb:46:in `find'
actionview (4.1.4) lib/action_view/lookup_context.rb:124:in `find'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:41:in `determine_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (1.6ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 12:56:51 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 2ms
ActionView::MissingTemplate (Missing template home/index, application/index with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/app/views"
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views"
):
actionview (4.1.4) lib/action_view/path_set.rb:46:in `find'
actionview (4.1.4) lib/action_view/lookup_context.rb:124:in `find'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:41:in `determine_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (0.6ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 12:56:51 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 2ms
ActionView::MissingTemplate (Missing template home/index, application/index with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/app/views"
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views"
):
actionview (4.1.4) lib/action_view/path_set.rb:46:in `find'
actionview (4.1.4) lib/action_view/lookup_context.rb:124:in `find'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:41:in `determine_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (0.7ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 12:57:54 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (4.3ms)
Completed 200 OK in 171ms (Views: 170.0ms | ActiveRecord: 0.0ms)
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 12:57:55 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 12:57:55 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 12:57:55 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 12:57:55 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:00:50 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (3.5ms)
Completed 500 Internal Server Error in 214ms
ActionView::Template::Error (couldn't find file 'bootstrap'
(in /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/app/assets/stylesheets/application.css:14)):
2:
3:
4: Dummy
5: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
6: <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
7: <%= csrf_meta_tags %>
8:
app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__1941171208254406354_70345972318980'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (13.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (40.1ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 13:01:18 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (0.2ms)
Completed 500 Internal Server Error in 25ms
ActionView::Template::Error (couldn't find file 'bootstrap'
(in /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/app/assets/stylesheets/application.css:14)):
2:
3:
4: Dummy
5: <%= stylesheet_link_tag 'application', media: 'all' %>
6: <%= javascript_include_tag 'application' %>
7: <%= csrf_meta_tags %>
8:
app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__1941171208254406354_70345983817640'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.6ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 13:01:40 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (0.1ms)
Completed 500 Internal Server Error in 20ms
ActionView::Template::Error (couldn't find file 'bootstrap'
(in /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/app/assets/stylesheets/application.css:14)):
2:
3:
4: Dummy
5: <%= stylesheet_link_tag 'application', media: 'all' %>
6: <%= javascript_include_tag 'application' %>
7: <%= csrf_meta_tags %>
8:
app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__1941171208254406354_70345983817640'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.0ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 13:01:51 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (0.2ms)
Completed 500 Internal Server Error in 27ms
ActionView::Template::Error (couldn't find file 'bootstrap'
(in /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/app/assets/stylesheets/application.css:14)):
2:
3:
4: Dummy
5: <%= stylesheet_link_tag 'application', media: 'all' %>
6: <%= javascript_include_tag 'application' %>
7: <%= csrf_meta_tags %>
8:
app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__1941171208254406354_70345983817640'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.5ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 13:01:59 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (0.3ms)
Completed 500 Internal Server Error in 225ms
ActionView::Template::Error (couldn't find file 'bootstrap'
(in /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/app/assets/javascripts/application.js:14)):
3:
4: Dummy
5: <%= stylesheet_link_tag 'application', media: 'all' %>
6: <%= javascript_include_tag 'application' %>
7: <%= csrf_meta_tags %>
8:
9:
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__1941171208254406354_70345983817640'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (24.7ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 13:02:08 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (0.2ms)
Completed 200 OK in 157ms (Views: 156.4ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:02:08 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:02:08 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:02:08 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:02:08 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:02:08 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:02:08 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:02:08 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:02:08 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:03:44 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (0.2ms)
Completed 200 OK in 115ms (Views: 114.1ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:03:44 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:03:44 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:03:44 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:03:44 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:03:45 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:03:45 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:03:45 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:03:45 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:05:09 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (2.0ms)
Completed 200 OK in 68ms (Views: 67.6ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:05:09 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:05:09 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:05:09 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:05:09 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:05:09 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:05:09 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:05:09 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:05:09 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:05:09 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:05:19 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (0.2ms)
Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:05:19 -0400
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:05:19 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:05:19 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:05:20 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:05:20 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:05:20 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:05:20 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:05:20 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:05:20 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:05:20 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:06:04 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (0.2ms)
Completed 200 OK in 34ms (Views: 33.0ms | ActiveRecord: 0.0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:04 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:04 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:04 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:04 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:04 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:04 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:04 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:06:05 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (0.2ms)
Completed 200 OK in 25ms (Views: 24.3ms | ActiveRecord: 0.0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:05 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:05 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:05 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:05 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:05 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:05 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:05 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:06:24 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (0.3ms)
Completed 200 OK in 45ms (Views: 43.6ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:06:25 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:25 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:06:25 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:25 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:06:25 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:06:25 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:25 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:25 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:25 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:25 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:25 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:06:26 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (0.3ms)
Completed 200 OK in 52ms (Views: 50.4ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:06:27 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:06:27 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:27 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:27 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:06:27 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:06:27 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:27 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:27 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:27 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:27 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:27 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:06:33 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (0.2ms)
Completed 200 OK in 106ms (Views: 105.0ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:06:34 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:06:34 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:06:34 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:06:34 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:34 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:34 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:34 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:34 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:34 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:34 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:34 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:06:53 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (3.1ms)
Completed 200 OK in 206ms (Views: 205.2ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:06:53 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:53 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:06:53 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:06:53 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:53 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:06:53 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:53 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:53 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:53 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:53 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:06:54 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:07:06 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (2.2ms)
Completed 200 OK in 27ms (Views: 26.0ms | ActiveRecord: 0.0ms)
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:07:06 -0400
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:07:06 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:07:06 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:07:06 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:07:06 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:07:06 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:07:06 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:07:06 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:07:06 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:07:06 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:07:06 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:07:34 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (3.7ms)
Completed 200 OK in 44ms (Views: 43.0ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:07:34 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:07:34 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:07:34 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:07:34 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:07:34 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:07:34 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:07:34 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:07:34 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:07:34 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:07:35 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:07:35 -0400
[1m[36m (180.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
[1m[35m (68.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateEvents (20140803170839)
[1m[35m (0.2ms)[0m BEGIN
[1m[36m (45.4ms)[0m [1mCREATE TABLE "events" ("id" serial primary key, "title" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
[1m[35mSQL (15.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140803170839"]]
[1m[36m (1.0ms)[0m [1mCOMMIT[0m
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
Started GET "/" for 127.0.0.1 at 2014-08-03 13:09:07 -0400
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (594.5ms)
Completed 500 Internal Server Error in 622ms
ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
3: = link_to 'Get the Gem!', '#', :class => 'btn btn-success pull-right'
4: Polygallery Demonstrations
5:
6: = simple_form_for @event do |f|
7: = f.input :title
8: = f.submit :class => 'btn btn-success btn-lg btn-block'
app/views/home/index.html.haml:6:in `_app_views_home_index_html_haml___4521713832199968_70345982835340'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (47.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (5.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (185.4ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 13:09:22 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (134.0ms)
Completed 200 OK in 532ms (Views: 486.2ms | ActiveRecord: 3.4ms)
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:09:23 -0400
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:09:23 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:09:23 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 13:09:23 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:09:23 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:09:23 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:09:23 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:09:23 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:09:23 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:09:23 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:09:23 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:09:23 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:09:23 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:09:23 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:09:56 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (8.3ms)
Completed 200 OK in 270ms (Views: 268.8ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:09:56 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:09:56 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:09:56 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 13:09:56 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:09:56 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:09:56 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:09:56 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:09:56 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:09:56 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:09:56 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:09:57 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:09:57 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:09:57 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:09:57 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:10:32 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (12.5ms)
Completed 500 Internal Server Error in 73ms
ActionView::Template::Error (couldn't find file 'simple_form_fileinput/init'
(in /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/app/assets/javascripts/application.js:15)):
18: = csrf_meta_tags
19: %body
20: .container-fluid= yield
21: = javascript_include_tag 'application'
app/views/layouts/application.html.haml:21:in `_app_views_layouts_application_html_haml__3970375437467270569_70345949535520'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.8ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 13:11:00 -0400
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (411.1ms)
Completed 200 OK in 713ms (Views: 703.5ms | ActiveRecord: 3.0ms)
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:11:02 -0400
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:11:02 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:11:02 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 13:11:02 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:11:02 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:02 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:02 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:02 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:02 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:02 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:02 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:02 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:02 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:02 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:02 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:02 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:02 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:02 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:11:21 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (16.4ms)
Completed 200 OK in 55ms (Views: 54.1ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:11:21 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:11:21 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 13:11:21 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:11:21 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:21 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:11:21 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:21 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:21 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:21 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:21 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:21 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:21 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:21 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:21 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:21 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:21 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:22 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:22 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:11:33 -0400
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (142.5ms)
Completed 200 OK in 346ms (Views: 337.7ms | ActiveRecord: 2.8ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:11:34 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 13:11:34 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:11:34 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:11:34 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:11:34 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:34 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:34 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:34 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:34 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:34 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:35 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:35 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:35 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:35 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:35 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:35 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:35 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:11:35 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:12:20 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (23.4ms)
Completed 200 OK in 62ms (Views: 60.7ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:12:21 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:12:21 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:12:21 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:21 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:12:21 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 13:12:21 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:21 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:21 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:21 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:21 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:21 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:21 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:21 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:21 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:21 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:21 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:21 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:21 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:12:25 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (25.2ms)
Completed 200 OK in 65ms (Views: 63.6ms | ActiveRecord: 0.0ms)
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 13:12:25 -0400
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:12:25 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:12:25 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:12:25 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:12:25 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:25 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:25 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:25 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:25 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:25 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:26 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:26 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:26 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:26 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:26 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:26 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:26 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:26 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:12:47 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (13.1ms)
Completed 200 OK in 36ms (Views: 34.9ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:12:47 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 13:12:47 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:12:47 -0400
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:12:47 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:12:47 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:47 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:47 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:47 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:47 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:47 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:47 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:47 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:47 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:47 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:47 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:47 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:47 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:12:47 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:13:14 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 5ms
NameError (undefined local variable or method `has_polygallery' for #):
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
app/controllers/home_controller.rb:4:in `index'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (24.8ms)
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePolygalleryGalleries (20140803171516)
[1m[35m (0.3ms)[0m BEGIN
[1m[36m (68.7ms)[0m [1mCREATE TABLE "polygallery_galleries" ("id" serial primary key, "title" character varying(255) DEFAULT 'gallery', "default_photo_id" integer, "created_at" timestamp, "updated_at" timestamp) [0m
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140803171516"]]
[1m[36m (23.2ms)[0m [1mCOMMIT[0m
Migrating to CreatePolygalleryPhotos (20140803171534)
[1m[35m (15.6ms)[0m BEGIN
[1m[36m (32.8ms)[0m [1mCREATE TABLE "polygallery_photos" ("id" serial primary key, "gallery_id" integer, "photo_file_name" character varying(255), "photo_content_type" character varying(255), "photo_file_size" integer, "photo_updated_at" timestamp, "title" character varying(255), "caption" text, "created_at" timestamp, "updated_at" timestamp) [0m
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140803171534"]]
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
Migrating to CreatePolygalleryPhotos (20140803171534)
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (81.0ms)[0m DROP TABLE "polygallery_photos"
[1m[36mSQL (45.9ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140803171534'[0m
[1m[35m (19.3ms)[0m COMMIT
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
Migrating to CreatePolygalleryGalleries (20140803171516)
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (1.1ms)[0m DROP TABLE "polygallery_galleries"
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140803171516'[0m
[1m[35m (1.1ms)[0m COMMIT
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePolygalleryGalleries (20140803171516)
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (45.8ms)[0m [1mCREATE TABLE "polygallery_galleries" ("id" serial primary key, "title" character varying(255) DEFAULT 'gallery', "default_photo_id" integer, "galleryable_id" integer, "galleryable_type" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140803171516"]]
[1m[36m (15.3ms)[0m [1mCOMMIT[0m
Migrating to CreatePolygalleryPhotos (20140803171534)
[1m[35m (14.9ms)[0m BEGIN
[1m[36m (3.1ms)[0m [1mCREATE TABLE "polygallery_photos" ("id" serial primary key, "gallery_id" integer, "photo_file_name" character varying(255), "photo_content_type" character varying(255), "photo_file_size" integer, "photo_updated_at" timestamp, "title" character varying(255), "caption" text, "created_at" timestamp, "updated_at" timestamp) [0m
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140803171534"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
Started GET "/" for 127.0.0.1 at 2014-08-03 13:53:41 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 15ms
NameError (undefined local variable or method `has_polygallery' for #):
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
app/controllers/home_controller.rb:4:in `index'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (23.2ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 13:54:17 -0400
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (1845.0ms)
Completed 200 OK in 4503ms (Views: 4208.9ms | ActiveRecord: 4.1ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:54:23 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:54:23 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:54:23 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:54:24 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:54:24 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:54:24 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 13:54:24 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:54:24 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:54:24 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:54:24 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:54:24 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:54:24 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:57:37 -0400
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 746ms
LoadError (cannot load such file -- lib/polygallery.rb):
app/controllers/application_controller.rb:11:in `block in dev_reload'
app/controllers/application_controller.rb:10:in `each'
app/controllers/application_controller.rb:10:in `dev_reload'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (31.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (51.0ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 13:57:46 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (199.2ms)
Completed 200 OK in 650ms (Views: 550.0ms | ActiveRecord: 3.3ms)
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:57:47 -0400
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:57:47 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:57:47 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:57:47 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 13:57:47 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:57:47 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:57:47 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:57:47 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:57:47 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:57:47 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:57:47 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:57:47 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:57:52 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (20.0ms)
Completed 200 OK in 90ms (Views: 54.5ms | ActiveRecord: 7.3ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:57:52 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:57:52 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:57:52 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:57:52 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 13:57:52 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:57:52 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:57:52 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:57:52 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:57:52 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:57:52 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:57:52 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:57:52 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:58:21 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (9.0ms)
Completed 200 OK in 35ms (Views: 30.1ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (7.6ms)
Completed 200 OK in 32ms (Views: 27.6ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:58:22 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (8.3ms)
Completed 200 OK in 36ms (Views: 31.6ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:23 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:23 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:23 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:23 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:23 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:23 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:23 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:23 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:23 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:23 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:23 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:23 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:58:29 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 3ms
RuntimeError (BOOM):
app/controllers/application_controller.rb:11:in `block in dev_reload'
app/controllers/application_controller.rb:10:in `each'
app/controllers/application_controller.rb:10:in `dev_reload'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (21.2ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 13:58:38 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (7.8ms)
Completed 200 OK in 33ms (Views: 28.3ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:38 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:38 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:38 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:38 -0400
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:38 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:58:38 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:38 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:39 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:39 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:39 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:39 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:58:39 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 13:58:59 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 763ms
LoadError (cannot load such file -- polygallery/*):
app/controllers/application_controller.rb:11:in `block in dev_reload'
app/controllers/application_controller.rb:10:in `each'
app/controllers/application_controller.rb:10:in `dev_reload'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (24.9ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 13:59:19 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 4ms
ActiveSupport::Concern::MultipleIncludedBlocks (Cannot define multiple 'included' blocks for a Concern):
app/controllers/application_controller.rb:11:in `block in dev_reload'
app/controllers/application_controller.rb:10:in `each'
app/controllers/application_controller.rb:10:in `dev_reload'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.2ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 13:59:38 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (14.5ms)
Completed 200 OK in 104ms (Views: 35.1ms | ActiveRecord: 3.5ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:59:38 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 13:59:38 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 13:59:38 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 13:59:39 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 13:59:39 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 13:59:39 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 13:59:39 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 13:59:39 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 13:59:39 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 13:59:39 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 13:59:39 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 13:59:39 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:01:41 -0400
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 12ms
RuntimeError (BOOM):
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
app/controllers/home_controller.rb:4:in `index'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (32.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (51.4ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:01:59 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 4ms
RuntimeError (BOOM):
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
app/controllers/home_controller.rb:4:in `index'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (19.2ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:02:02 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 2ms
RuntimeError (BOOM):
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
app/controllers/home_controller.rb:4:in `index'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (19.1ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:02:37 -0400
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (244.9ms)
Completed 200 OK in 861ms (Views: 760.1ms | ActiveRecord: 3.1ms)
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:38 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:38 -0400
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:38 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:38 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:38 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:38 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:38 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:38 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:38 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:38 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:38 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:38 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:02:45 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (12.8ms)
Completed 200 OK in 48ms (Views: 44.3ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:45 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:45 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:45 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:45 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:45 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:45 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:45 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:45 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:45 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:45 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:45 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:45 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (8.1ms)
Completed 200 OK in 31ms (Views: 28.5ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (9.4ms)
Completed 200 OK in 42ms (Views: 38.6ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:46 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:02:52 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (13.3ms)
Completed 200 OK in 185ms (Views: 86.0ms | ActiveRecord: 3.3ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:52 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:53 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:53 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:53 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:53 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:53 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:53 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:53 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:53 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:53 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:53 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:53 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:02:55 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (7.5ms)
Completed 200 OK in 32ms (Views: 27.2ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:55 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:55 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:55 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:55 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:55 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:02:55 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:55 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:55 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:55 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:55 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:55 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:02:55 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:04:24 -0400
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 2ms
RuntimeError (BOOM):
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
app/controllers/home_controller.rb:4:in `index'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (45.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (64.2ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:04:29 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 3ms
RuntimeError (BOOM):
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
app/controllers/home_controller.rb:4:in `index'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (19.2ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:04:30 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 2ms
RuntimeError (BOOM):
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
app/controllers/home_controller.rb:4:in `index'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.9ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:04:30 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 2ms
RuntimeError (BOOM):
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
app/controllers/home_controller.rb:4:in `index'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.0ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:04:30 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 2ms
RuntimeError (BOOM):
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
app/controllers/home_controller.rb:4:in `index'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.9ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:06:32 -0400
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (222.5ms)
Completed 200 OK in 672ms (Views: 596.0ms | ActiveRecord: 3.5ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:06:33 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (7.5ms)
Completed 200 OK in 30ms (Views: 27.0ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:33 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:33 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:33 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:33 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:33 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:33 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:33 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:06:33 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (7.6ms)
Completed 200 OK in 34ms (Views: 30.2ms | ActiveRecord: 0.0ms)
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:33 -0400
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:33 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:34 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:34 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:34 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:34 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:34 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:34 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:34 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:34 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:34 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:34 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:34 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:06:37 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (7.7ms)
Completed 200 OK in 30ms (Views: 27.8ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:37 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:37 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:37 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:37 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:37 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:37 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:37 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:37 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:37 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:37 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:37 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:37 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (7.5ms)
Completed 200 OK in 30ms (Views: 27.6ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (8.2ms)
Completed 200 OK in 31ms (Views: 28.6ms | ActiveRecord: 0.0ms)
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (11.8ms)
Completed 200 OK in 35ms (Views: 32.0ms | ActiveRecord: 0.0ms)
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:06:38 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:08:23 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 15ms
ActiveSupport::Concern::MultipleIncludedBlocks (Cannot define multiple 'included' blocks for a Concern):
app/controllers/application_controller.rb:11:in `block in dev_reload'
app/controllers/application_controller.rb:10:in `each'
app/controllers/application_controller.rb:10:in `dev_reload'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (40.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (58.0ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:08:30 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (12.1ms)
Completed 200 OK in 122ms (Views: 64.5ms | ActiveRecord: 8.4ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:08:30 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:08:30 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:08:30 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:08:30 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:08:30 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:08:30 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:08:30 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:08:30 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:08:30 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:08:31 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:08:31 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:08:31 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:08:40 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (7.8ms)
Completed 200 OK in 31ms (Views: 27.7ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:08:40 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:08:40 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:08:40 -0400
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:08:40 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:08:40 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:08:40 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:08:40 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:08:40 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:08:40 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:08:40 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:08:40 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:08:40 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:10:14 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (91.4ms)
Completed 200 OK in 157ms (Views: 154.2ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:15 -0400
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:15 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:15 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:15 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:15 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:15 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:15 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:15 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:15 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:15 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:15 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:15 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:10:23 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (15.9ms)
Completed 200 OK in 39ms (Views: 36.2ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:23 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:23 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:23 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:23 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:23 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:23 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:23 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:23 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:23 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:23 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:23 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:23 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:10:26 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (10.0ms)
Completed 200 OK in 33ms (Views: 30.1ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:26 -0400
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:26 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:26 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:26 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:26 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:26 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:27 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:27 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:27 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:27 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:27 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:27 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:10:33 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (17.4ms)
Completed 200 OK in 41ms (Views: 38.2ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:33 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:33 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:33 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:33 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:33 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:33 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:33 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:33 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:33 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:33 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:33 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:33 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:10:40 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (16.3ms)
Completed 200 OK in 40ms (Views: 36.9ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:41 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:41 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:41 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:41 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:41 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:41 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:10:41 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:41 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:41 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:41 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:41 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:10:41 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:11:24 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (20.7ms)
Completed 200 OK in 68ms (Views: 64.9ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:11:25 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:11:25 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:11:25 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:25 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:11:25 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:11:25 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:25 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:25 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:25 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:25 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:25 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:25 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:11:28 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (17.5ms)
Completed 200 OK in 50ms (Views: 47.2ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:11:28 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:11:28 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:11:28 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:28 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:11:28 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:11:28 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:28 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:28 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:28 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:28 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:28 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:28 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:11:50 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (16.3ms)
Completed 200 OK in 39ms (Views: 36.1ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:11:50 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:11:50 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:11:50 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:11:50 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:11:50 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:50 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:50 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:50 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:50 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:50 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:50 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:11:50 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:12:03 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (17.1ms)
Completed 200 OK in 40ms (Views: 37.2ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:12:03 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:12:03 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:12:03 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:12:03 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:12:03 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:12:03 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:12:03 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:12:03 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:12:03 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:12:03 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:12:03 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:12:03 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:13:00 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (61.7ms)
Completed 500 Internal Server Error in 82ms
ActionView::Template::Error (undefined method `simple_fields_for_polygallery' for #<#:0x007fa083f46f98>):
11: %hr
12: = simple_form_for @event do |f|
13: = f.input :title, :autofocus => true
14: = simple_fields_for_polygallery f
15: = f.submit :class => 'btn btn-success btn-lg btn-block'
16: .col-md-6
17: .panel.panel-default
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml___3174448318332963723_70163692664360'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml___3174448318332963723_70163692664360'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.8ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:15:50 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (26.1ms)
Completed 500 Internal Server Error in 67ms
ActionView::Template::Error (undefined method `simple_fields_for_polygallery' for #<#:0x007fa0833d9c78>):
11: %hr
12: = simple_form_for @event do |f|
13: = f.input :title, :autofocus => true
14: = simple_fields_for_polygallery f
15: = f.submit :class => 'btn btn-success btn-lg btn-block'
16: .col-md-6
17: .panel.panel-default
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml___3174448318332963723_70163692664360'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml___3174448318332963723_70163692664360'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (28.6ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:16:03 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (12.1ms)
Completed 500 Internal Server Error in 17ms
ActionView::Template::Error (undefined method `simple_fields_for_polygallery' for #<#:0x007fa0834eb508>):
11: %hr
12: = simple_form_for @event do |f|
13: = f.input :title, :autofocus => true
14: = simple_fields_for_polygallery f
15: = f.submit :class => 'btn btn-success btn-lg btn-block'
16: .col-md-6
17: .panel.panel-default
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml___3174448318332963723_70163692664360'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml___3174448318332963723_70163692664360'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (44.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (59.4ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:16:31 -0400
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (228.1ms)
Completed 500 Internal Server Error in 380ms
ActionView::Template::Error (wrong number of arguments (1 for 2..3)):
11: %hr
12: = simple_form_for @event do |f|
13: = f.input :title, :autofocus => true
14: = simple_fields_for_polygallery f
15: = f.submit :class => 'btn btn-success btn-lg btn-block'
16: .col-md-6
17: .panel.panel-default
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml___268516002964802409_70134474541380'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml___268516002964802409_70134474541380'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (44.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (60.0ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:16:33 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (9.0ms)
Completed 500 Internal Server Error in 17ms
ActionView::Template::Error (wrong number of arguments (1 for 2..3)):
11: %hr
12: = simple_form_for @event do |f|
13: = f.input :title, :autofocus => true
14: = simple_fields_for_polygallery f
15: = f.submit :class => 'btn btn-success btn-lg btn-block'
16: .col-md-6
17: .panel.panel-default
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml___268516002964802409_70134474541380'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml___268516002964802409_70134474541380'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.3ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:16:47 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (9.6ms)
Completed 500 Internal Server Error in 18ms
ActionView::Template::Error (wrong number of arguments (1 for 2..3)):
11: %hr
12: = simple_form_for @event do |f|
13: = f.input :title, :autofocus => true
14: = simple_fields_for_polygallery f
15: = f.submit :class => 'btn btn-success btn-lg btn-block'
16: .col-md-6
17: .panel.panel-default
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml___268516002964802409_70134474541380'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml___268516002964802409_70134474541380'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (28.3ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:18:43 -0400
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (69.3ms)
[1m[35mPolygallery::Gallery Load (19.8ms)[0m SELECT polygallery_galleries.title FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_type" = 'Event' GROUP BY polygallery_galleries.title
Rendered home/index.html.haml within layouts/application (297.5ms)
Completed 500 Internal Server Error in 370ms
ActionView::Template::Error (Polygallery gallery not found for Event):
22: .form-group
23: %label.control-label Title
24: .controls= f.text_field :title, :class => 'form-control'
25: = fields_for_polygallery :gallery, f
26: = f.submit :class => 'btn btn-success btn-lg btn-block'
app/views/home/index.html.haml:25:in `block in _app_views_home_index_html_haml___3618050819747327929_70282942868340'
app/views/home/index.html.haml:21:in `_app_views_home_index_html_haml___3618050819747327929_70282942868340'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.9ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:18:57 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (2.2ms)
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT polygallery_galleries.title FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_type" = 'Event' GROUP BY polygallery_galleries.title[0m
Rendered home/index.html.haml within layouts/application (19.8ms)
Completed 500 Internal Server Error in 25ms
ActionView::Template::Error (Polygallery gallery not found for Event):
22: .form-group
23: %label.control-label Title
24: .controls= f.text_field :title, :class => 'form-control'
25: = fields_for_polygallery :gallery, f
26: = f.submit :class => 'btn btn-success btn-lg btn-block'
app/views/home/index.html.haml:25:in `block in _app_views_home_index_html_haml___3618050819747327929_70282942868340'
app/views/home/index.html.haml:21:in `_app_views_home_index_html_haml___3618050819747327929_70282942868340'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (14.5ms)
[1m[36mPolygallery::Gallery Load (1.5ms)[0m [1mSELECT polygallery_galleries.title FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_type" = 'Event' GROUP BY polygallery_galleries.title[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT polygallery_galleries.title FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_type" = 'Event' GROUP BY polygallery_galleries.title
Started GET "/" for 127.0.0.1 at 2014-08-03 14:23:50 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (3.8ms)
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT polygallery_galleries.title FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_type" = 'Event' GROUP BY polygallery_galleries.title
Rendered home/index.html.haml within layouts/application (59.1ms)
Completed 500 Internal Server Error in 128ms
ActionView::Template::Error (Polygallery gallery not found for Event):
22: .form-group
23: %label.control-label Title
24: .controls= f.text_field :title, :class => 'form-control'
25: = fields_for_polygallery :gallery, f
26: = f.submit :class => 'btn btn-success btn-lg btn-block'
app/views/home/index.html.haml:25:in `block in _app_views_home_index_html_haml___3618050819747327929_70282942868340'
app/views/home/index.html.haml:21:in `_app_views_home_index_html_haml___3618050819747327929_70282942868340'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (54.9ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:24:04 -0400
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (21.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (2.2ms)
Rendered home/index.html.haml within layouts/application (298.8ms)
Completed 200 OK in 705ms (Views: 649.7ms | ActiveRecord: 3.1ms)
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:24:06 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:24:06 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:24:06 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:24:06 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:24:06 -0400
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:24:06 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:24:06 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:24:06 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:24:06 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:24:06 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:24:06 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:24:06 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:24:31 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (1.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.5ms)
Rendered home/index.html.haml within layouts/application (19.4ms)
Completed 200 OK in 71ms (Views: 39.1ms | ActiveRecord: 3.4ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:24:31 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:24:31 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:24:31 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:24:31 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:24:31 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:24:31 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:24:31 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:24:31 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:24:31 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:24:31 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:24:31 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:24:31 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:29:58 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (165.6ms)
Rendered home/index.html.haml within layouts/application (179.9ms)
Completed 500 Internal Server Error in 185ms
ActionView::Template::Error (Missing partial home/_photo_fields, application/_photo_fields with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in:
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/app/views"
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views"
):
3:
4: - if options[:label]
5: %h3.lead
6: = link_to_add_association 'Add Photo', ff, :photos, :class => 'btn btn-default btn-sm pull-right', :data => {:association_insertion_node => '.photo-receptacle', :association_insertion_method => 'append'}
7: = options[:label].titleize
8: #photos
9: %table.table.table-bordered.table-striped.table-condensed.polygallery-photos-table
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__1283006224459743520_70291243141760'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__1283006224459743520_70291243141760'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.2ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:30:45 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (9.5ms)
Rendered home/index.html.haml within layouts/application (16.1ms)
Completed 500 Internal Server Error in 24ms
ActionView::Template::Error (Association photos doesn't exist on Event):
3:
4: - if options[:label]
5: %h3.lead
6: = link_to_add_association 'Add Photo', f, :photos, :class => 'btn btn-default btn-sm pull-right', :data => {:association_insertion_node => '.photo-receptacle', :association_insertion_method => 'append'}
7: = options[:label].titleize
8: #photos
9: %table.table.table-bordered.table-striped.table-condensed.polygallery-photos-table
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__1283006224459743520_70291243141760'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__1283006224459743520_70291243141760'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.5ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:30:50 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (15.4ms)
Rendered home/index.html.haml within layouts/application (22.3ms)
Completed 500 Internal Server Error in 27ms
ActionView::Template::Error (Missing partial home/_photo_fields, application/_photo_fields with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in:
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/app/views"
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views"
):
3:
4: - if options[:label]
5: %h3.lead
6: = link_to_add_association 'Add Photo', ff, :photos, :class => 'btn btn-default btn-sm pull-right', :data => {:association_insertion_node => '.photo-receptacle', :association_insertion_method => 'append'}
7: = options[:label].titleize
8: #photos
9: %table.table.table-bordered.table-striped.table-condensed.polygallery-photos-table
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__1283006224459743520_70291243141760'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__1283006224459743520_70291243141760'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.4ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:30:54 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (9.1ms)
Rendered home/index.html.haml within layouts/application (15.8ms)
Completed 500 Internal Server Error in 21ms
ActionView::Template::Error (Association photos doesn't exist on Event):
3:
4: - if options[:label]
5: %h3.lead
6: = link_to_add_association 'Add Photo', f, :photos, :class => 'btn btn-default btn-sm pull-right', :data => {:association_insertion_node => '.photo-receptacle', :association_insertion_method => 'append'}
7: = options[:label].titleize
8: #photos
9: %table.table.table-bordered.table-striped.table-condensed.polygallery-photos-table
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__1283006224459743520_70291243141760'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__1283006224459743520_70291243141760'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (55.0ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:31:01 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.7ms)
Rendered home/index.html.haml within layouts/application (20.6ms)
Completed 500 Internal Server Error in 26ms
ActionView::Template::Error (Missing partial home/_photo_fields, application/_photo_fields with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in:
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/app/views"
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views"
):
3:
4: - if options[:label]
5: %h3.lead
6: = link_to_add_association 'Add Photo', ff, :photos, :class => 'btn btn-default btn-sm pull-right', :data => {:association_insertion_node => '.photo-receptacle', :association_insertion_method => 'append'}
7: = options[:label].titleize
8: #photos
9: %table.table.table-bordered.table-striped.table-condensed.polygallery-photos-table
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__1283006224459743520_70291243141760'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__1283006224459743520_70291243141760'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.5ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:31:30 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (10.9ms)
Rendered home/index.html.haml within layouts/application (17.5ms)
Completed 500 Internal Server Error in 23ms
ActionView::Template::Error (Association polygallery/photos doesn't exist on Polygallery::Gallery):
3:
4: - if options[:label]
5: %h3.lead
6: = link_to_add_association 'Add Photo', ff, 'polygallery/photos', :class => 'btn btn-default btn-sm pull-right', :data => {:association_insertion_node => '.photo-receptacle', :association_insertion_method => 'append'}
7: = options[:label].titleize
8: #photos
9: %table.table.table-bordered.table-striped.table-condensed.polygallery-photos-table
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__1283006224459743520_70291243141760'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__1283006224459743520_70291243141760'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.0ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:31:35 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.1ms)
Rendered home/index.html.haml within layouts/application (20.0ms)
Completed 500 Internal Server Error in 27ms
ActionView::Template::Error (Missing partial home/_photo_fields, application/_photo_fields with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in:
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/app/views"
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views"
):
3:
4: - if options[:label]
5: %h3.lead
6: = link_to_add_association 'Add Photo', ff, :photos, :class => 'btn btn-default btn-sm pull-right', :data => {:association_insertion_node => '.photo-receptacle', :association_insertion_method => 'append'}
7: = options[:label].titleize
8: #photos
9: %table.table.table-bordered.table-striped.table-condensed.polygallery-photos-table
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__1283006224459743520_70291243141760'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__1283006224459743520_70291243141760'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.6ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:33:59 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (35.0ms)
Rendered home/index.html.haml within layouts/application (42.2ms)
Completed 500 Internal Server Error in 91ms
ActionView::Template::Error (undefined method `galleryable' for #):
1: = f.simple_fields_for :photos do |pf|
2: %tr.nested-fields{:data => {:new => f.object.galleryable.new_record?}}
3: %td.text-center
4: = image_tag pf.object.photo.url(:thumb), :class => 'img-responsive'
5: %td
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__1283006224459743520_70291243141760'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__1283006224459743520_70291243141760'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.2ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:34:12 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (11.7ms)
Rendered home/index.html.haml within layouts/application (18.1ms)
Completed 500 Internal Server Error in 34ms
ActionView::Template::Error (undefined method `galleryable' for nil:NilClass):
1: = f.simple_fields_for :photos do |pf|
2: %tr.nested-fields{:data => {:new => pf.object.galleryable.new_record?}}
3: %td.text-center
4: = image_tag pf.object.photo.url(:thumb), :class => 'img-responsive'
5: %td
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__1283006224459743520_70291243141760'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__1283006224459743520_70291243141760'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.8ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:34:19 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (11.7ms)
Rendered home/index.html.haml within layouts/application (18.2ms)
Completed 500 Internal Server Error in 49ms
ActionView::Template::Error (undefined method `galleryable' for #):
1: = f.simple_fields_for :photos do |pf|
2: %tr.nested-fields{:data => {:new => f.object.galleryable.new_record?}}
3: %td.text-center
4: = image_tag pf.object.photo.url(:thumb), :class => 'img-responsive'
5: %td
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__1283006224459743520_70291243141760'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__1283006224459743520_70291243141760'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (31.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (45.4ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:34:23 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (33.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (82.7ms)
Rendered home/index.html.haml within layouts/application (99.4ms)
Completed 500 Internal Server Error in 126ms
ActionView::Template::Error (undefined method `new_record?' for nil:NilClass):
1: = f.simple_fields_for :photos do |pf|
2: %tr.nested-fields{:data => {:new => f.object.gallery.new_record?}}
3: %td.text-center
4: = image_tag pf.object.photo.url(:thumb), :class => 'img-responsive'
5: %td
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__1283006224459743520_70291243141760'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__1283006224459743520_70291243141760'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.6ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:35:46 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 33ms
NoMethodError (undefined method `build_photos' for #):
app/controllers/home_controller.rb:4:in `index'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.2ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:36:19 -0400
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 73ms
NoMethodError (undefined method `build_photos' for #):
app/controllers/home_controller.rb:4:in `index'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (24.2ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:36:26 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (37.0ms)
Rendered home/index.html.haml within layouts/application (61.0ms)
Completed 500 Internal Server Error in 192ms
ActionView::Template::Error (undefined method `new_record?' for nil:NilClass):
1: = f.simple_fields_for :photos do |pf|
2: %tr.nested-fields{:data => {:new => f.object.gallery.new_record?}}
3: %td.text-center
4: = image_tag pf.object.photo.url(:thumb), :class => 'img-responsive'
5: %td
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__1283006224459743520_70291243141760'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__1283006224459743520_70291243141760'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (14.9ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:36:39 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (11.2ms)
Rendered home/index.html.haml within layouts/application (35.1ms)
Completed 500 Internal Server Error in 66ms
ActionView::Template::Error (undefined method `gallery' for nil:NilClass):
1: = f.simple_fields_for :photos do |pf|
2: %tr.nested-fields{:data => {:new => pf.object.gallery.new_record?}}
3: %td.text-center
4: = image_tag pf.object.photo.url(:thumb), :class => 'img-responsive'
5: %td
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__1283006224459743520_70291243141760'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__1283006224459743520_70291243141760'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.5ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:36:47 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (11.5ms)
Rendered home/index.html.haml within layouts/application (17.7ms)
Completed 500 Internal Server Error in 25ms
ActionView::Template::Error (undefined method `photo' for nil:NilClass):
1: = f.simple_fields_for :photos do |pf|
2: %tr.nested-fields{:data => {:new => f.object.new_record?}}
3: %td.text-center
4: = image_tag pf.object.photo.url(:thumb), :class => 'img-responsive'
5: %td
6: = pf.input_field :photo
7: = pf.input_field :caption, :placeholder => "Caption... (optional)", :style => "margin-top:5px;", :as => :string
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__1283006224459743520_70291243141760'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__1283006224459743520_70291243141760'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.5ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:36:57 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (12.1ms)
Rendered home/index.html.haml within layouts/application (36.1ms)
Completed 500 Internal Server Error in 73ms
ActionView::Template::Error (undefined method `photo' for #):
1: = f.simple_fields_for :photos do |pf|
2: %tr.nested-fields{:data => {:new => f.object.new_record?}}
3: %td.text-center
4: = image_tag f.object.photo.url(:thumb), :class => 'img-responsive'
5: %td
6: = pf.input_field :photo
7: = pf.input_field :caption, :placeholder => "Caption... (optional)", :style => "margin-top:5px;", :as => :string
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__1283006224459743520_70291243141760'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__1283006224459743520_70291243141760'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.1ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:37:05 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (12.8ms)
Rendered home/index.html.haml within layouts/application (19.1ms)
Completed 500 Internal Server Error in 26ms
ActionView::Template::Error (undefined method `photo' for #):
1: = f.simple_fields_for :photos do |pf|
2: %tr.nested-fields{:data => {:new => f.object.new_record?}}
3: %td.text-center
4: = image_tag f.object.photo.url(:thumb), :class => 'img-responsive'
5: %td
6: = pf.input_field :photo
7: = pf.input_field :caption, :placeholder => "Caption... (optional)", :style => "margin-top:5px;", :as => :string
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__1283006224459743520_70291243141760'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__1283006224459743520_70291243141760'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (53.9ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:37:23 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (11.7ms)
Rendered home/index.html.haml within layouts/application (33.3ms)
Completed 500 Internal Server Error in 53ms
ActionView::Template::Error (undefined method `new_record?' for nil:NilClass):
1: = f.simple_fields_for :photos do |pf|
2: %tr.nested-fields{:data => {:new => pf.object.new_record?}}
3: %td.text-center
4: = image_tag f.object.photo.url(:thumb), :class => 'img-responsive'
5: %td
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__1283006224459743520_70291243141760'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__1283006224459743520_70291243141760'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.2ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:37:34 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (11.4ms)
Rendered home/index.html.haml within layouts/application (17.7ms)
Completed 500 Internal Server Error in 45ms
ActionView::Template::Error (undefined method `photo' for #):
1: = f.simple_fields_for :photos do |pf|
2: %tr.nested-fields{:data => {:new => f.object.new_record?}}
3: %td.text-center
4: = image_tag f.object.photo.url(:thumb), :class => 'img-responsive'
5: %td
6: = pf.input_field :photo
7: = pf.input_field :caption, :placeholder => "Caption... (optional)", :style => "margin-top:5px;", :as => :string
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__1283006224459743520_70291243141760'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__1283006224459743520_70291243141760'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.5ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:37:39 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (11.0ms)
Rendered home/index.html.haml within layouts/application (17.1ms)
Completed 500 Internal Server Error in 24ms
ActionView::Template::Error (undefined method `photo' for nil:NilClass):
1: = f.simple_fields_for :photos do |pf|
2: %tr.nested-fields{:data => {:new => f.object.new_record?}}
3: %td.text-center
4: = image_tag pf.object.photo.url(:thumb), :class => 'img-responsive'
5: %td
6: = pf.input_field :photo
7: = pf.input_field :caption, :placeholder => "Caption... (optional)", :style => "margin-top:5px;", :as => :string
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__1283006224459743520_70291243141760'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__1283006224459743520_70291243141760'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.9ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:38:13 -0400
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (33.7ms)
Rendered home/index.html.haml within layouts/application (374.5ms)
Completed 500 Internal Server Error in 614ms
ActionView::Template::Error (undefined method `new_record?' for nil:NilClass):
1: = f.simple_fields_for :photos do |pf|
2: %tr.nested-fields{:data => {:new => pf.object.new_record?}}
3: %td.text-center
4: = image_tag pf.object.photo.url(:thumb), :class => 'img-responsive'
5: %td
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__72434731334357054_70318025765700'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__72434731334357054_70318025765700'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (36.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (48.8ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:38:22 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (8.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (14.8ms)
Rendered home/index.html.haml within layouts/application (21.3ms)
Completed 500 Internal Server Error in 28ms
ActionView::Template::Error (undefined method `photo' for nil:NilClass):
1: = f.simple_fields_for :photos do |pf|
2: %tr.nested-fields{:data => {:new => f.object.new_record?}}
3: %td.text-center
4: = image_tag pf.object.photo.url(:thumb), :class => 'img-responsive'
5: %td
6: = pf.input_field :photo
7: = pf.input_field :caption, :placeholder => "Caption... (optional)", :style => "margin-top:5px;", :as => :string
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__72434731334357054_70318025765700'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__72434731334357054_70318025765700'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.4ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:38:56 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (9.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (27.7ms)
Rendered home/index.html.haml within layouts/application (35.5ms)
Completed 500 Internal Server Error in 42ms
ActionView::Template::Error (undefined method `photo' for #):
1: %tr.nested-fields{:data => {:new => f.object.new_record?}}
2: %td.text-center
3: = image_tag f.object.photo.url(:thumb), :class => 'img-responsive'
4: %td
5: = f.input_field :photo
6: = f.input_field :caption, :placeholder => "Caption... (optional)", :style => "margin-top:5px;", :as => :string
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__72434731334357054_70318025765700'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__72434731334357054_70318025765700'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.7ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:40:25 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (25.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (31.8ms)
Rendered home/index.html.haml within layouts/application (42.4ms)
Completed 500 Internal Server Error in 123ms
ActionView::Template::Error (undefined method `titleize' for true:TrueClass):
4: - if options[:label]
5: %h3.lead
6: = link_to_add_association 'Add Photo', ff, :photos, :partial => 'polygallery/photos/simple_fields_for', :class => 'btn btn-default btn-sm pull-right', :data => {:association_insertion_node => '.photo-receptacle', :association_insertion_method => 'append'}
7: = options[:label].titleize
8: #photos
9: %table.table.table-bordered.table-striped.table-condensed.polygallery-photos-table
10: %thead
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__72434731334357054_70318025765700'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__72434731334357054_70318025765700'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (39.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (51.8ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:41:40 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (21.9ms)
Rendered home/index.html.haml within layouts/application (28.3ms)
Completed 500 Internal Server Error in 35ms
ActionView::Template::Error (undefined method `new_record?' for nil:NilClass):
1: %tr.nested-fields{:data => {:new => f.object.new_record?}}
2: %td.text-center
3: = image_tag f.object.photo.url(:thumb), :class => 'img-responsive'
4: %td
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__72434731334357054_70318025765700'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__72434731334357054_70318025765700'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.4ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:42:00 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (19.7ms)
Rendered home/index.html.haml within layouts/application (26.2ms)
Completed 500 Internal Server Error in 33ms
ActionView::Template::Error (undefined method `photo' for nil:NilClass):
1: %tr.nested-fields{:data => {:new => f.object.nil?}}
2: %td.text-center
3: = image_tag f.object.photo.url(:thumb), :class => 'img-responsive'
4: %td
5: = f.input_field :photo
6: = f.input_field :caption, :placeholder => "Caption... (optional)", :style => "margin-top:5px;", :as => :string
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__72434731334357054_70318025765700'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__72434731334357054_70318025765700'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.6ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:56:04 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (12.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (26.9ms)
Rendered home/index.html.haml within layouts/application (62.3ms)
Completed 500 Internal Server Error in 182ms
ActionView::Template::Error (undefined method `new_record?' for nil:NilClass):
1: %tr.nested-fields{:data => {:new => f.object.new_record?}}
2: %td.text-center
3: - unless f.object.new_record?
4: = image_tag f.object.photo.url(:thumb), :class => 'img-responsive'
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__72434731334357054_70318025765700'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__72434731334357054_70318025765700'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (59.3ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:56:16 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (7.4ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (21.8ms)
Rendered home/index.html.haml within layouts/application (28.3ms)
Completed 500 Internal Server Error in 52ms
ActionView::Template::Error (undefined method `new_record?' for nil:NilClass):
6: = f.input_field :photo
7: = f.input_field :caption, :placeholder => "Caption... (optional)", :style => "margin-top:5px;", :as => :string
8: %td.text-center{:style => "width:51px;"}
9: = link_to_remove_association f, :class => 'btn btn-default btn-sm' do
10: %span.glyphicon.glyphicon-trash
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__72434731334357054_70318025765700'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__72434731334357054_70318025765700'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.6ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:56:36 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (19.7ms)
Rendered home/index.html.haml within layouts/application (25.9ms)
Completed 500 Internal Server Error in 33ms
ActionView::Template::Error (undefined method `new_record?' for nil:NilClass):
1: %tr.nested-fields{:data => {:new => f.object.new_record?}}
2: %td.text-center
3: = image_tag f.object.photo.url(:thumb), :class => 'img-responsive'
4: %td
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__72434731334357054_70318025765700'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__72434731334357054_70318025765700'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (41.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (55.0ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:56:58 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (39.5ms)
Rendered home/index.html.haml within layouts/application (46.1ms)
Completed 500 Internal Server Error in 109ms
ActionView::Template::Error (undefined method `new_record?' for nil:NilClass):
1: %tr.nested-fields{:data => {:new => f.object.new_record?}}
2: %td.text-center
3: = image_tag f.object.photo.url(:thumb), :class => 'img-responsive'
4: %td
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__72434731334357054_70318025765700'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__72434731334357054_70318025765700'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.9ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:57:26 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (18.3ms)
Rendered home/index.html.haml within layouts/application (25.5ms)
Completed 500 Internal Server Error in 32ms
ActionView::Template::Error (undefined method `new_record?' for nil:NilClass):
1: %tr.nested-fields{:data => {:new => f.object.new_record?}}
2: %td.text-center
3: = image_tag f.object.photo.url(:thumb), :class => 'img-responsive'
4: %td
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__72434731334357054_70318025765700'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__72434731334357054_70318025765700'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.2ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:57:27 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (11.7ms)
Rendered home/index.html.haml within layouts/application (18.0ms)
Completed 500 Internal Server Error in 25ms
ActionView::Template::Error (undefined method `new_record?' for nil:NilClass):
1: %tr.nested-fields{:data => {:new => f.object.new_record?}}
2: %td.text-center
3: = image_tag f.object.photo.url(:thumb), :class => 'img-responsive'
4: %td
app/views/home/index.html.haml:14:in `block in _app_views_home_index_html_haml__72434731334357054_70318025765700'
app/views/home/index.html.haml:12:in `_app_views_home_index_html_haml__72434731334357054_70318025765700'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (31.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (43.4ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 14:57:38 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (7.4ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (25.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (2.4ms)
Rendered home/index.html.haml within layouts/application (111.5ms)
Completed 200 OK in 538ms (Views: 533.7ms | ActiveRecord: 0.0ms)
Started GET "/images/thumb/missing.png" for 127.0.0.1 at 2014-08-03 14:57:39 -0400
ActionController::RoutingError (No route matches [GET] "/images/thumb/missing.png"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (161.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (213.7ms)
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:57:39 -0400
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:57:39 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:57:39 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:57:39 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:57:39 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:57:39 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:57:39 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:57:39 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:57:39 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:57:39 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:57:39 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:57:39 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:57:57 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.4ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (16.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.6ms)
Rendered home/index.html.haml within layouts/application (30.6ms)
Completed 200 OK in 55ms (Views: 50.4ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:57:58 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:57:58 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:57:58 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:57:58 -0400
Started GET "/images/thumb/missing.png" for 127.0.0.1 at 2014-08-03 14:57:58 -0400
ActionController::RoutingError (No route matches [GET] "/images/thumb/missing.png"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (52.3ms)
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:57:58 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:57:58 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:57:58 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:57:58 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:57:58 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:57:58 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:57:58 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:57:58 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 14:58:28 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (16.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.7ms)
Rendered home/index.html.haml within layouts/application (76.7ms)
Completed 200 OK in 285ms (Views: 281.1ms | ActiveRecord: 0.0ms)
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-03 14:58:29 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 14:58:29 -0400
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:58:29 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 14:58:29 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 14:58:29 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 14:58:29 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 14:58:29 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 14:58:29 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 14:58:29 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 14:58:29 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 14:58:29 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 14:58:29 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 14:58:29 -0400
Started GET "/images/thumb/missing.png" for 127.0.0.1 at 2014-08-03 14:58:29 -0400
ActionController::RoutingError (No route matches [GET] "/images/thumb/missing.png"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (58.8ms)
Started GET "/images/thumb/missing.png" for 127.0.0.1 at 2014-08-03 14:58:30 -0400
ActionController::RoutingError (No route matches [GET] "/images/thumb/missing.png"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (49.4ms)
Started GET "/images/thumb/missing.png" for 127.0.0.1 at 2014-08-03 14:58:31 -0400
ActionController::RoutingError (No route matches [GET] "/images/thumb/missing.png"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (49.1ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 15:10:28 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (93.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.4ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (108.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.6ms)
Rendered home/index.html.haml within layouts/application (165.5ms)
Completed 200 OK in 378ms (Views: 234.2ms | ActiveRecord: 59.7ms)
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-03 15:10:29 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 15:10:29 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 15:10:29 -0400
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:10:29 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 15:10:29 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-03 15:10:29 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 15:10:29 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:10:29 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 15:10:29 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 15:10:29 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 15:10:29 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 15:10:29 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 15:10:29 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 15:10:29 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 15:11:56 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (14.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.6ms)
Rendered home/index.html.haml within layouts/application (28.3ms)
Completed 200 OK in 53ms (Views: 48.6ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:11:56 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:11:56 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 15:11:56 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 15:11:56 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-03 15:11:57 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 15:11:57 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 15:11:57 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 15:11:57 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 15:11:57 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 15:11:57 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-03 15:11:57 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 15:11:57 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 15:11:57 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 15:11:57 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 15:14:21 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (19.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (5.3ms)
Rendered home/index.html.haml within layouts/application (38.9ms)
Completed 200 OK in 64ms (Views: 59.2ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:14:22 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:14:22 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-03 15:14:22 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 15:14:22 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 15:14:22 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 15:14:22 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:22 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:22 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:22 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:22 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:22 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:22 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:22 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:22 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 15:14:33 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (14.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.5ms)
Rendered home/index.html.haml within layouts/application (28.6ms)
Completed 200 OK in 61ms (Views: 56.2ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:14:34 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 15:14:34 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:14:34 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-03 15:14:34 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 15:14:34 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 15:14:34 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:34 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:34 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:34 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:34 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:34 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:34 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:34 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:34 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 15:14:44 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.5ms)
Rendered home/index.html.haml within layouts/application (27.3ms)
Completed 200 OK in 52ms (Views: 47.4ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:14:44 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 15:14:44 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:14:44 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 15:14:44 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 15:14:44 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-03 15:14:44 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:44 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:44 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:44 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:44 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:44 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:44 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:44 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 15:14:44 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 15:15:04 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (14.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.5ms)
Rendered home/index.html.haml within layouts/application (28.8ms)
Completed 200 OK in 96ms (Views: 92.2ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:15:04 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-03 15:15:04 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:15:04 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 15:15:04 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 15:15:04 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 15:15:04 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:04 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:04 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:04 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:04 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:04 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:04 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:04 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:04 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 15:15:20 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.5ms)
Rendered home/index.html.haml within layouts/application (27.6ms)
Completed 200 OK in 160ms (Views: 154.6ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:15:21 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:15:21 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 15:15:21 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 15:15:21 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-03 15:15:21 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 15:15:21 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:21 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:21 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:21 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:21 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:21 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:21 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:21 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 15:15:36 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.6ms)
Rendered home/index.html.haml within layouts/application (27.6ms)
Completed 200 OK in 1928ms (Views: 1923.1ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:15:38 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:15:38 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 15:15:38 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-03 15:15:38 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 15:15:38 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 15:15:38 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:38 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:38 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:38 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:38 -0400
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:38 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:38 -0400
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:38 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:38 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:38 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:38 -0400
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-03 15:15:38 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 15:16:16 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (31.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.7ms)
Rendered home/index.html.haml within layouts/application (76.9ms)
Completed 200 OK in 340ms (Views: 335.5ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:16:17 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:16:17 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 15:16:17 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 15:16:17 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 15:16:17 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 15:16:17 -0400
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-03 15:16:17 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 15:16:17 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 15:16:17 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 15:16:17 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-03 15:16:17 -0400
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-08-03 15:16:17 -0400
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-08-03 15:16:17 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 15:16:17 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 15:16:17 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 15:16:17 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-03 15:16:17 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 15:18:08 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (41.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (63.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.7ms)
Rendered home/index.html.haml within layouts/application (154.5ms)
Completed 200 OK in 279ms (Views: 189.5ms | ActiveRecord: 5.1ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:18:09 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:18:09 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-03 15:18:09 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 15:18:09 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 15:18:09 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 15:18:09 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:09 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:09 -0400
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:09 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:09 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:09 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:09 -0400
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:09 -0400
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:09 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:09 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:09 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:09 -0400
Started POST "/events" for 127.0.0.1 at 2014-08-03 15:18:20 -0400
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Test Event", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="DSC_5099.JPG", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"DSC_5099.JPG\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"Awesome boat!", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Unpermitted parameters: photos_attributes
[1m[35m (14.2ms)[0m BEGIN
[1m[36mSQL (66.1ms)[0m [1mINSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-08-03 19:18:21.054781"], ["title", "Test Event"], ["updated_at", "2014-08-03 19:18:21.054781"]]
[1m[35mSQL (0.8ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-08-03 19:18:21.159544"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["updated_at", "2014-08-03 19:18:21.159544"]]
[1m[36mSQL (58.3ms)[0m [1mINSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-08-03 19:18:21.185827"], ["gallery_id", 1], ["updated_at", "2014-08-03 19:18:21.185827"]]
[1m[35m (10.6ms)[0m COMMIT
Redirected to http://localhost:3000/
Completed 302 Found in 228ms (ActiveRecord: 150.1ms)
Started GET "/" for 127.0.0.1 at 2014-08-03 15:18:21 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.4ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.5ms)
Rendered home/index.html.haml within layouts/application (26.7ms)
Completed 200 OK in 53ms (Views: 48.9ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:18:21 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:18:21 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 15:18:21 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 15:18:21 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-03 15:18:21 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 15:18:21 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:21 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:21 -0400
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:21 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:21 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:21 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:21 -0400
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:21 -0400
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:21 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:21 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:21 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 15:18:21 -0400
Started GET "/" for 127.0.0.1 at 2014-08-03 15:19:20 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.5ms)
Rendered home/index.html.haml within layouts/application (60.6ms)
Completed 200 OK in 87ms (Views: 82.8ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:19:20 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-03 15:19:20 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-03 15:19:20 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-03 15:19:20 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-03 15:19:20 -0400
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-03 15:19:20 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-03 15:19:21 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-03 15:19:21 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-03 15:19:21 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-03 15:19:21 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-03 15:19:21 -0400
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-08-03 15:19:21 -0400
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-08-03 15:19:21 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-03 15:19:21 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-03 15:19:21 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-03 15:19:21 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-03 15:19:21 -0400
Started GET "/" for 127.0.0.1 at 2014-08-06 10:16:11 -0400
[1m[36mActiveRecord::SchemaMigration Load (40.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (41.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (89.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (2.5ms)
Rendered home/index.html.haml within layouts/application (501.0ms)
Completed 200 OK in 1415ms (Views: 1198.2ms | ActiveRecord: 23.1ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:16:14 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:16:14 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-06 10:16:14 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-06 10:16:14 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-06 10:16:14 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-06 10:16:14 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-06 10:16:14 -0400
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-08-06 10:16:14 -0400
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:16:14 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-06 10:16:14 -0400
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-06 10:16:14 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-06 10:16:14 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:16:14 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-06 10:16:14 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-06 10:16:14 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-06 10:16:14 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-06 10:16:14 -0400
Started POST "/events" for 127.0.0.1 at 2014-08-06 10:16:44 -0400
ActionController::RoutingError (uninitialized constant Polygallery::StrongParams):
app/controllers/events_controller.rb:2:in `'
app/controllers/events_controller.rb:1:in `'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (12.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (86.7ms)
Started POST "/events" for 127.0.0.1 at 2014-08-06 10:17:34 -0400
ActionController::RoutingError (uninitialized constant Polygallery::StrongParams):
app/controllers/events_controller.rb:2:in `'
app/controllers/events_controller.rb:1:in `'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (71.1ms)
Started POST "/events" for 127.0.0.1 at 2014-08-06 10:17:48 -0400
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Test Event", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="SALON_RUNWAY (1).jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"SALON_RUNWAY (1).jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"Salon", "_destroy"=>"false"}, "1407334595840"=>{"photo"=>#, @original_filename="DSC_5099.JPG", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][1407334595840][photo]\"; filename=\"DSC_5099.JPG\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"Boat", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Unpermitted parameters: photos_attributes
[1m[35m (0.2ms)[0m BEGIN
[1m[36mSQL (29.4ms)[0m [1mINSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-08-06 14:17:49.128475"], ["title", "Test Event"], ["updated_at", "2014-08-06 14:17:49.128475"]]
[1m[35mSQL (13.9ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-08-06 14:17:49.199013"], ["galleryable_id", 2], ["galleryable_type", "Event"], ["updated_at", "2014-08-06 14:17:49.199013"]]
[1m[36mSQL (1.2ms)[0m [1mINSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-08-06 14:17:49.215783"], ["gallery_id", 2], ["updated_at", "2014-08-06 14:17:49.215783"]]
[1m[35m (0.5ms)[0m COMMIT
Redirected to http://localhost:3000/
Completed 302 Found in 184ms (ActiveRecord: 50.3ms)
Started GET "/" for 127.0.0.1 at 2014-08-06 10:17:49 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (10.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (33.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (2.3ms)
Rendered home/index.html.haml within layouts/application (233.6ms)
Completed 200 OK in 364ms (Views: 359.8ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:17:49 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-06 10:17:49 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-06 10:17:49 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-06 10:17:49 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:17:49 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-06 10:17:49 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-06 10:17:49 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-06 10:17:49 -0400
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-06 10:17:49 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-06 10:17:49 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:17:49 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-06 10:17:49 -0400
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-08-06 10:17:49 -0400
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:17:49 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-06 10:17:49 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-06 10:17:49 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-06 10:17:49 -0400
[1m[36mEvent Load (1.0ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (9.5ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mEvent Load (0.4ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 2]]
[1m[35mEvent Load (0.5ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mEvent Load (0.6ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mEvent Load (0.4ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 2]]
[1m[36mEvent Load (0.4ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 2]]
[1m[35mEvent Load (0.7ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 2]]
Started GET "/events/test" for 127.0.0.1 at 2014-08-06 10:23:22 -0400
AbstractController::ActionNotFound (The action 'show' could not be found for EventsController):
actionpack (4.1.4) lib/abstract_controller/base.rb:131:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (0.7ms)
Started GET "/events/test" for 127.0.0.1 at 2014-08-06 10:23:28 -0400
Processing by EventsController#test as HTML
Rendered text template (0.1ms)
Completed 200 OK in 38ms (Views: 37.3ms | ActiveRecord: 0.0ms)
Started GET "/" for 127.0.0.1 at 2014-08-06 10:23:58 -0400
Processing by HomeController#index as HTML
Rendered home/index.html.haml within layouts/application (60.8ms)
Completed 500 Internal Server Error in 108ms
ActionView::Template::Error (undefined method `events_path' for #<#:0x007fbf098a7eb8>):
14: .panel-body
15: %h2.lead New Event (with SimpleForm)
16: %hr
17: = simple_form_for @event do |f|
18: = f.error_notification
19: = f.input :title, :autofocus => true
20: = simple_fields_for_polygallery :gallery, f
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml___3320253463761865046_70229207753400'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.9ms)
Started GET "/" for 127.0.0.1 at 2014-08-06 10:24:09 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (14.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.6ms)
Rendered home/index.html.haml within layouts/application (33.0ms)
Completed 200 OK in 101ms (Views: 55.8ms | ActiveRecord: 4.9ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:24:09 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-06 10:24:09 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:24:09 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-06 10:24:09 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-06 10:24:09 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:09 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-06 10:24:09 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:09 -0400
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:09 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:09 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:09 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:09 -0400
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:09 -0400
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:09 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:09 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:09 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:09 -0400
Started GET "/" for 127.0.0.1 at 2014-08-06 10:24:18 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.5ms)
Rendered home/index.html.haml within layouts/application (32.9ms)
Completed 200 OK in 103ms (Views: 56.7ms | ActiveRecord: 4.8ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:24:19 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-06 10:24:19 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-06 10:24:19 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:24:19 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-06 10:24:19 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-06 10:24:19 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:19 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:19 -0400
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:19 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:19 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:19 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:19 -0400
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:19 -0400
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:19 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:19 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:19 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:19 -0400
Started POST "/events" for 127.0.0.1 at 2014-08-06 10:24:35 -0400
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Another Test Event", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="DSC_5099.JPG", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"DSC_5099.JPG\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"Boat here", "_destroy"=>"false"}, "1407335064303"=>{"photo"=>#, @original_filename="SALON_RUNWAY (1).jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][1407335064303][photo]\"; filename=\"SALON_RUNWAY (1).jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"Salon here", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1j7bl7l.JPG'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi712.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi712.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi712.JPG[0]' -auto-orient -resize "1200x900>" '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi71220140806-40535-12nur6a'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi71220140806-40535-12nur6a'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi712.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi712.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi712.JPG[0]' -auto-orient -resize "1200x" -crop "1200x600+0+101" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi71220140806-40535-1kjxu8'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi71220140806-40535-1kjxu8'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi712.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi712.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi712.JPG[0]' -auto-orient -resize "480x270>" '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi71220140806-40535-1t3scya'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi71220140806-40535-1t3scya'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi712.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi712.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi712.JPG[0]' -auto-orient -resize "550x" -crop "550x260+0+54" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi71220140806-40535-u54m47'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi71220140806-40535-u54m47'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi712.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi712.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi712.JPG[0]' -auto-orient -resize "260x" -crop "260x172+0+1" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi71220140806-40535-18rqd5m'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi71220140806-40535-18rqd5m'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi712.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi712.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi712.JPG[0]' -auto-orient -resize "x100" -crop "100x100+24+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi71220140806-40535-3r6tip'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-1gpi71220140806-40535-3r6tip'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140806-40535-ttkdb0.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a.jpg[0]' -auto-orient -resize "1200x900>" '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a20140806-40535-1d7g9t'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a20140806-40535-1d7g9t'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a.jpg[0]' -auto-orient -resize "1200x" -crop "1200x600+0+400" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a20140806-40535-ljzh0f'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a20140806-40535-ljzh0f'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a.jpg[0]' -auto-orient -resize "480x270>" '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a20140806-40535-1v02opq'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a20140806-40535-1v02opq'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a.jpg[0]' -auto-orient -resize "550x" -crop "550x260+0+190" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a20140806-40535-1ueu8cj'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a20140806-40535-1ueu8cj'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a.jpg[0]' -auto-orient -resize "260x" -crop "260x172+0+65" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a20140806-40535-mvs28u'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a20140806-40535-mvs28u'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+8" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a20140806-40535-1qlpuuh'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-40535-2sf47a20140806-40535-1qlpuuh'
[1m[36m (0.2ms)[0m [1mBEGIN[0m
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-40535-14fe6ib.JPG'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140806-40535-1x262f5.jpg'
[1m[35mSQL (0.4ms)[0m INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-08-06 14:24:46.157659"], ["title", "Another Test Event"], ["updated_at", "2014-08-06 14:24:46.157659"]]
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2014-08-06 14:24:46.161477"], ["galleryable_id", 3], ["galleryable_type", "Event"], ["updated_at", "2014-08-06 14:24:46.161477"]]
[1m[35mSQL (0.2ms)[0m INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", "Boat here"], ["created_at", "2014-08-06 14:24:46.164102"], ["gallery_id", 3], ["photo_content_type", "image/jpeg"], ["photo_file_name", "DSC_5099.JPG"], ["photo_file_size", 6547767], ["photo_updated_at", "2014-08-06 14:24:35.531046"], ["updated_at", "2014-08-06 14:24:46.164102"]]
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["caption", "Salon here"], ["created_at", "2014-08-06 14:24:46.520411"], ["gallery_id", 3], ["photo_content_type", "image/jpeg"], ["photo_file_name", "SALON_RUNWAY_(1).jpg"], ["photo_file_size", 846402], ["photo_updated_at", "2014-08-06 14:24:44.064171"], ["updated_at", "2014-08-06 14:24:46.520411"]]
[1m[35mSQL (0.3ms)[0m INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-08-06 14:24:46.553320"], ["gallery_id", 3], ["updated_at", "2014-08-06 14:24:46.553320"]]
[1m[36m (99.3ms)[0m [1mCOMMIT[0m
Redirected to http://localhost:3000/
Completed 302 Found in 11178ms (ActiveRecord: 100.9ms)
Started GET "/" for 127.0.0.1 at 2014-08-06 10:24:46 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.5ms)
Rendered home/index.html.haml within layouts/application (28.4ms)
Completed 200 OK in 55ms (Views: 50.7ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:24:46 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-06 10:24:46 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-06 10:24:46 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-06 10:24:46 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-06 10:24:46 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:24:46 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:46 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:46 -0400
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:46 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:46 -0400
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:46 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:46 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:46 -0400
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:46 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:46 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:46 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-06 10:24:46 -0400
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 3]]
[1m[35mEvent Load (0.6ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 3]]
Started GET "/" for 127.0.0.1 at 2014-08-06 10:27:16 -0400
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (10.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.4ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (32.4ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (2.2ms)
Rendered home/index.html.haml within layouts/application (140.7ms)
Completed 200 OK in 370ms (Views: 306.2ms | ActiveRecord: 6.9ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:27:17 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:27:17 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-06 10:27:17 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-06 10:27:17 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-06 10:27:17 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-06 10:27:17 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:17 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:17 -0400
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:17 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:17 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:17 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:17 -0400
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:17 -0400
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:17 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:17 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:17 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:17 -0400
Started POST "/events" for 127.0.0.1 at 2014-08-06 10:27:37 -0400
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Yet Another Test Event", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="DSC_5099.JPG", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"DSC_5099.JPG\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"fdjlksajf", "_destroy"=>"false"}, "1407335249940"=>{"photo"=>#, @original_filename="SALON_RUNWAY (1).jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][1407335249940][photo]\"; filename=\"SALON_RUNWAY (1).jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"fdjhasuiysdfha", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-o3nd1s.JPG'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu.JPG[0]' -auto-orient -resize "1200x900>" '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu20140806-41999-nxrs1i'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu20140806-41999-nxrs1i'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu.JPG[0]' -auto-orient -resize "1200x" -crop "1200x600+0+101" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu20140806-41999-f7dl1b'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu20140806-41999-f7dl1b'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu.JPG[0]' -auto-orient -resize "480x270>" '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu20140806-41999-wj79l'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu20140806-41999-wj79l'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu.JPG[0]' -auto-orient -resize "550x" -crop "550x260+0+54" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu20140806-41999-17wrmss'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu20140806-41999-17wrmss'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu.JPG[0]' -auto-orient -resize "260x" -crop "260x172+0+1" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu20140806-41999-11wejva'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu20140806-41999-11wejva'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu.JPG[0]' -auto-orient -resize "x100" -crop "100x100+24+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu20140806-41999-1oroi1x'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-4xrjeu20140806-41999-1oroi1x'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140806-41999-r7b9eo.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f2.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f2.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f2.jpg[0]' -auto-orient -resize "1200x900>" '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f220140806-41999-bbu6nj'
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 3]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f220140806-41999-bbu6nj'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f2.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f2.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f2.jpg[0]' -auto-orient -resize "1200x" -crop "1200x600+0+400" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f220140806-41999-eo59oe'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f220140806-41999-eo59oe'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f2.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f2.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f2.jpg[0]' -auto-orient -resize "480x270>" '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f220140806-41999-mtxy37'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f220140806-41999-mtxy37'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f2.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f2.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f2.jpg[0]' -auto-orient -resize "550x" -crop "550x260+0+190" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f220140806-41999-ddxemh'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f220140806-41999-ddxemh'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f2.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f2.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f2.jpg[0]' -auto-orient -resize "260x" -crop "260x172+0+65" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f220140806-41999-1x1x46h'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f220140806-41999-1x1x46h'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f2.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f2.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f2.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+8" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f220140806-41999-34d62c'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-41999-x7c5f220140806-41999-34d62c'
[1m[35m (0.2ms)[0m BEGIN
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-41999-1qmx3q.JPG'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140806-41999-s5rhbq.jpg'
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
Redirected to http://localhost:3000/
Completed 302 Found in 9619ms (ActiveRecord: 0.4ms)
Started GET "/" for 127.0.0.1 at 2014-08-06 10:27:46 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (14.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.6ms)
Rendered home/index.html.haml within layouts/application (30.1ms)
Completed 200 OK in 62ms (Views: 57.0ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:27:47 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-06 10:27:47 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-06 10:27:47 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-06 10:27:47 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:27:47 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-06 10:27:47 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:47 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:47 -0400
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:47 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:47 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:47 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:47 -0400
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:47 -0400
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:47 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:47 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:47 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-06 10:27:47 -0400
[1m[35mEvent Load (0.4ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 3]]
[1m[36mEvent Load (0.6ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mEvent Load (0.7ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
Started GET "/" for 127.0.0.1 at 2014-08-06 10:28:17 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (14.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.6ms)
Rendered home/index.html.haml within layouts/application (36.2ms)
Completed 200 OK in 138ms (Views: 59.6ms | ActiveRecord: 4.9ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:28:17 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:28:17 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-06 10:28:17 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-06 10:28:17 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-06 10:28:17 -0400
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-06 10:28:17 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-06 10:28:17 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-06 10:28:17 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-06 10:28:17 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:28:17 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-06 10:28:17 -0400
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-08-06 10:28:17 -0400
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:28:17 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-06 10:28:17 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-06 10:28:17 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-06 10:28:17 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-06 10:28:17 -0400
Started GET "/" for 127.0.0.1 at 2014-08-06 10:30:05 -0400
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (10.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (35.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (2.1ms)
Rendered home/index.html.haml within layouts/application (144.4ms)
Completed 200 OK in 403ms (Views: 306.8ms | ActiveRecord: 4.9ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:30:05 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-06 10:30:05 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:30:05 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-06 10:30:05 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-06 10:30:05 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-06 10:30:05 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:05 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:05 -0400
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:05 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:05 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:05 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:05 -0400
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:05 -0400
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:05 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:05 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:05 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:05 -0400
Started POST "/events" for 127.0.0.1 at 2014-08-06 10:30:24 -0400
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"One more time", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="SALON_RUNWAY (1).jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"SALON_RUNWAY (1).jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}, "1407335420451"=>{"photo"=>#, @original_filename="DSC_5099.JPG", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][1407335420451][photo]\"; filename=\"DSC_5099.JPG\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140806-42487-14igcsj.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea.jpg[0]' -auto-orient -resize "1200x900>" '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea20140806-42487-1g5i02i'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea20140806-42487-1g5i02i'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea.jpg[0]' -auto-orient -resize "1200x" -crop "1200x600+0+400" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea20140806-42487-1p9w307'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea20140806-42487-1p9w307'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea.jpg[0]' -auto-orient -resize "480x270>" '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea20140806-42487-10go9'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea20140806-42487-10go9'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea.jpg[0]' -auto-orient -resize "550x" -crop "550x260+0+190" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea20140806-42487-kovcxt'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea20140806-42487-kovcxt'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea.jpg[0]' -auto-orient -resize "260x" -crop "260x172+0+65" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea20140806-42487-1pchdb1'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea20140806-42487-1pchdb1'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+8" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea20140806-42487-f1ekj0'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42487-144kgea20140806-42487-f1ekj0'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-wn3abm.JPG'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz.JPG[0]' -auto-orient -resize "1200x900>" '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz20140806-42487-1sdzpzi'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz20140806-42487-1sdzpzi'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz.JPG[0]' -auto-orient -resize "1200x" -crop "1200x600+0+101" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz20140806-42487-qcn786'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz20140806-42487-qcn786'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz.JPG[0]' -auto-orient -resize "480x270>" '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz20140806-42487-bwsm5t'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz20140806-42487-bwsm5t'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz.JPG[0]' -auto-orient -resize "550x" -crop "550x260+0+54" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz20140806-42487-aqb7if'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz20140806-42487-aqb7if'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz.JPG[0]' -auto-orient -resize "260x" -crop "260x172+0+1" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz20140806-42487-1223rkf'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz20140806-42487-1223rkf'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz.JPG[0]' -auto-orient -resize "x100" -crop "100x100+24+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz20140806-42487-5n2cxi'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-25dnoz20140806-42487-5n2cxi'
[1m[35m (0.2ms)[0m BEGIN
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140806-42487-koigvc.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42487-uj1lek.JPG'
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-08-06 14:30:34.089934"], ["title", "One more time"], ["updated_at", "2014-08-06 14:30:34.089934"]]
[1m[35mSQL (0.4ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-08-06 14:30:34.101150"], ["galleryable_id", 4], ["galleryable_type", "Event"], ["updated_at", "2014-08-06 14:30:34.101150"]]
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["caption", ""], ["created_at", "2014-08-06 14:30:34.105374"], ["gallery_id", 4], ["photo_content_type", "image/jpeg"], ["photo_file_name", "SALON_RUNWAY_(1).jpg"], ["photo_file_size", 846402], ["photo_updated_at", "2014-08-06 14:30:24.331988"], ["updated_at", "2014-08-06 14:30:34.105374"]]
[1m[35mSQL (0.3ms)[0m INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", ""], ["created_at", "2014-08-06 14:30:34.139273"], ["gallery_id", 4], ["photo_content_type", "image/jpeg"], ["photo_file_name", "DSC_5099.JPG"], ["photo_file_size", 6547767], ["photo_updated_at", "2014-08-06 14:30:26.320677"], ["updated_at", "2014-08-06 14:30:34.139273"]]
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-08-06 14:30:34.171116"], ["gallery_id", 4], ["updated_at", "2014-08-06 14:30:34.171116"]]
[1m[35m (16.5ms)[0m COMMIT
Redirected to http://localhost:3000/
Completed 302 Found in 9894ms (ActiveRecord: 19.1ms)
Started GET "/" for 127.0.0.1 at 2014-08-06 10:30:34 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.5ms)
Rendered home/index.html.haml within layouts/application (29.1ms)
Completed 200 OK in 56ms (Views: 51.5ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:30:34 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-06 10:30:34 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:30:34 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-06 10:30:34 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-06 10:30:34 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-06 10:30:34 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:34 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:34 -0400
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:34 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:34 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:34 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:34 -0400
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:34 -0400
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:34 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:34 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:34 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-06 10:30:34 -0400
[1m[36mEvent Load (0.8ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 4]]
[1m[35mEvent Load (0.8ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1
[1m[36mPolygallery::Gallery Load (0.5ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Load (0.4ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 4]]
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 4]]
[1m[36mEvent Load (0.6ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 4]]
[1m[36mEvent Load (0.6ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 4]]
[1m[36mEvent Load (0.6ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 4]]
Started GET "/" for 127.0.0.1 at 2014-08-06 10:32:39 -0400
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (10.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (32.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (2.1ms)
Rendered home/index.html.haml within layouts/application (140.1ms)
Completed 200 OK in 402ms (Views: 307.6ms | ActiveRecord: 5.2ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:32:39 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:32:39 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-06 10:32:39 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-06 10:32:39 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-06 10:32:39 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-06 10:32:39 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-06 10:32:39 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-06 10:32:39 -0400
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-06 10:32:39 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-06 10:32:39 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:32:39 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-06 10:32:39 -0400
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-08-06 10:32:39 -0400
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:32:39 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-06 10:32:39 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-06 10:32:39 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-06 10:32:39 -0400
Started POST "/events" for 127.0.0.1 at 2014-08-06 10:32:55 -0400
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Final Test", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="DSC_5099.JPG", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"DSC_5099.JPG\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}, "1407335571868"=>{"photo"=>#, @original_filename="SALON_RUNWAY (1).jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][1407335571868][photo]\"; filename=\"SALON_RUNWAY (1).jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-qijbg1.JPG'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k232.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k232.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k232.JPG[0]' -auto-orient -resize "1200x900>" '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k23220140806-42886-to9peq'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k23220140806-42886-to9peq'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k232.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k232.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k232.JPG[0]' -auto-orient -resize "1200x" -crop "1200x600+0+101" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k23220140806-42886-1ykuqi3'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k23220140806-42886-1ykuqi3'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k232.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k232.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k232.JPG[0]' -auto-orient -resize "480x270>" '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k23220140806-42886-njdfsi'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k23220140806-42886-njdfsi'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k232.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k232.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k232.JPG[0]' -auto-orient -resize "550x" -crop "550x260+0+54" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k23220140806-42886-1v36a9x'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k23220140806-42886-1v36a9x'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k232.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k232.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k232.JPG[0]' -auto-orient -resize "260x" -crop "260x172+0+1" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k23220140806-42886-90imd8'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k23220140806-42886-90imd8'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k232.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k232.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k232.JPG[0]' -auto-orient -resize "x100" -crop "100x100+24+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k23220140806-42886-v7g3z9'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-41k23220140806-42886-v7g3z9'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140806-42886-jpxadt.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken.jpg[0]' -auto-orient -resize "1200x900>" '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken20140806-42886-4c3n0h'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken20140806-42886-4c3n0h'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken.jpg[0]' -auto-orient -resize "1200x" -crop "1200x600+0+400" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken20140806-42886-1taie1d'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken20140806-42886-1taie1d'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken.jpg[0]' -auto-orient -resize "480x270>" '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken20140806-42886-1tpn5ae'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken20140806-42886-1tpn5ae'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken.jpg[0]' -auto-orient -resize "550x" -crop "550x260+0+190" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken20140806-42886-1gy27zn'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken20140806-42886-1gy27zn'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken.jpg[0]' -auto-orient -resize "260x" -crop "260x172+0+65" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken20140806-42886-tni9fg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken20140806-42886-tni9fg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+8" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken20140806-42886-ztppj1'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/7d085aaa82cc6a479d562f2b6504fb5e20140806-42886-subken20140806-42886-ztppj1'
[1m[35m (0.3ms)[0m BEGIN
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140806-42886-1an3s1f.JPG'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140806-42886-r6lh8c.jpg'
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-08-06 14:33:05.629251"], ["title", "Final Test"], ["updated_at", "2014-08-06 14:33:05.629251"]]
[1m[35mSQL (0.3ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-08-06 14:33:05.636140"], ["galleryable_id", 5], ["galleryable_type", "Event"], ["updated_at", "2014-08-06 14:33:05.636140"]]
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["caption", ""], ["created_at", "2014-08-06 14:33:05.639241"], ["gallery_id", 5], ["photo_content_type", "image/jpeg"], ["photo_file_name", "DSC_5099.JPG"], ["photo_file_size", 6547767], ["photo_updated_at", "2014-08-06 14:32:56.001996"], ["updated_at", "2014-08-06 14:33:05.639241"]]
[1m[35mSQL (0.3ms)[0m INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", ""], ["created_at", "2014-08-06 14:33:05.677547"], ["gallery_id", 5], ["photo_content_type", "image/jpeg"], ["photo_file_name", "SALON_RUNWAY_(1).jpg"], ["photo_file_size", 846402], ["photo_updated_at", "2014-08-06 14:33:03.425029"], ["updated_at", "2014-08-06 14:33:05.677547"]]
[1m[36m (44.3ms)[0m [1mCOMMIT[0m
Redirected to http://localhost:3000/
Completed 302 Found in 9805ms (ActiveRecord: 46.2ms)
Started GET "/" for 127.0.0.1 at 2014-08-06 10:33:05 -0400
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.5ms)
Rendered home/index.html.haml within layouts/application (28.3ms)
Completed 200 OK in 55ms (Views: 50.5ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:33:05 -0400
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-08-06 10:33:05 -0400
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-08-06 10:33:05 -0400
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-08-06 10:33:05 -0400
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-08-06 10:33:05 -0400
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-06 10:33:05 -0400
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-06 10:33:05 -0400
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-08-06 10:33:06 -0400
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-06 10:33:06 -0400
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-08-06 10:33:06 -0400
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:33:06 -0400
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-08-06 10:33:06 -0400
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-08-06 10:33:06 -0400
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-08-06 10:33:06 -0400
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-08-06 10:33:06 -0400
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-08-06 10:33:06 -0400
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-06 10:33:06 -0400
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 5]]
[1m[36mEvent Load (0.8ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 5]]
Started GET "/" for 127.0.0.1 at 2014-09-04 12:07:13 -0600
[1m[36mActiveRecord::SchemaMigration Load (39.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (31.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (10.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (128.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (52.2ms)
Rendered home/index.html.haml within layouts/application (1245.3ms)
Completed 200 OK in 2383ms (Views: 2106.9ms | ActiveRecord: 26.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-09-04 12:07:17 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-09-04 12:07:17 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-09-04 12:07:17 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-09-04 12:07:17 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-09-04 12:07:17 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-09-04 12:07:17 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-09-04 12:07:17 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-09-04 12:07:17 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-09-04 12:07:17 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-09-04 12:07:18 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-09-04 12:07:18 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-09-04 12:07:18 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-09-04 12:07:18 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-09-04 12:07:18 -0600
[1m[36mEvent Load (42.4ms)[0m [1mSELECT "events".* FROM "events"[0m
[1m[35mPolygallery::Gallery Load (21.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (37.9ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 1]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "events"
[1m[36mEvent Load (42.9ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.8ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mEvent Load (0.7ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mEvent Load (0.9ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.8ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mEvent Load (0.6ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.7ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mPolygallery::Photo Load (1.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000[0m
[1m[35mPolygallery::Gallery Load (12.8ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mPolygallery::Photo Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mEvent Load (0.4ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.3ms)[0m COMMIT
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35m (0.3ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m COMMIT
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35m (0.2ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m COMMIT
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35m (0.2ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
[1m[35mPolygallery::Photo Load (0.7ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11583-1hpbuai.JPG'
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11583-11wo61a.jpg'
[1m[36mPolygallery::Gallery Load (0.5ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11583-18vp1f7.jpg'
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11583-1d6i7os.JPG'
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11583-130uvp6.JPG'
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11583-17igtr8.jpg'
[1m[36mPolygallery::Photo Load (17.0ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Photo Load (0.7ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1
[1m[36mPolygallery::Photo Load (0.7ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-3oz44f.jpg'
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-17izgof.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+25" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et20140904-11630-18cwqun'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et20140904-11630-18cwqun'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+8" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et20140904-11630-r03s4r'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-ubv5et20140904-11630-r03s4r'
[1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35mSQL (0.5ms)[0m UPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 10 [["photo_file_name", "SALON_RUNWAY_(1).jpg"], ["photo_updated_at", "2014-09-04 18:19:43.622209"], ["updated_at", "2014-09-04 18:19:45.427955"]]
[1m[36m (17.4ms)[0m [1mCOMMIT[0m
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mPolygallery::Gallery Load (0.5ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-lev6h5.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+25" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd20140904-11630-1yx8p87'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd20140904-11630-1yx8p87'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+8" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd20140904-11630-1q0t3v6'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-173angd20140904-11630-1q0t3v6'
[1m[35m (0.4ms)[0m BEGIN
[1m[36mSQL (0.5ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 10[0m [["photo_file_name", "SALON_RUNWAY_(1).jpg"], ["photo_updated_at", "2014-09-04 18:19:59.168212"], ["updated_at", "2014-09-04 18:20:00.185470"]]
[1m[35m (33.1ms)[0m COMMIT
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-gn20pc.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+25" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g20140904-11630-18pqxn5'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g20140904-11630-18pqxn5'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+8" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g20140904-11630-582i8a'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-shba3g20140904-11630-582i8a'
[1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35mSQL (0.5ms)[0m UPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 10 [["photo_file_name", "SALON_RUNWAY_(1).jpg"], ["photo_updated_at", "2014-09-04 18:20:27.377630"], ["updated_at", "2014-09-04 18:20:28.484511"]]
[1m[36m (16.3ms)[0m [1mCOMMIT[0m
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-8wmu2m.jpg'
[1m[35m (0.3ms)[0m BEGIN
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35mPolygallery::Photo Load (0.5ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1
[1m[36mPolygallery::Photo Load (0.5ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.1ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mPolygallery::Photo Load (0.6ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1l26f3q.jpg'
[1m[36m (0.3ms)[0m [1mBEGIN[0m
[1m[35m (0.2ms)[0m ROLLBACK
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.1ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1wys9yu.jpg'
[1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.1ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-15tdg69.jpg'
[1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-aku2wt.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+25" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q20140904-11630-12udukv'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q20140904-11630-12udukv'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+8" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q20140904-11630-1a9heq3'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11630-1ee5t0q20140904-11630-1a9heq3'
[1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35mSQL (0.4ms)[0m UPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 10 [["photo_file_name", "SALON_RUNWAY_(1).jpg"], ["photo_updated_at", "2014-09-04 18:24:51.686087"], ["updated_at", "2014-09-04 18:24:52.999655"]]
[1m[36m (36.2ms)[0m [1mCOMMIT[0m
[1m[36mPolygallery::Photo Load (1.5ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000[0m
[1m[35mPolygallery::Gallery Load (0.7ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mEvent Load (0.6ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.2ms)[0m COMMIT
[1m[36mPolygallery::Gallery Load (0.6ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35m (0.2ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
[1m[35mPolygallery::Gallery Load (0.6ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mPolygallery::Photo Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36m (0.3ms)[0m [1mBEGIN[0m
[1m[35m (0.2ms)[0m COMMIT
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35m (0.2ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
[1m[35mPolygallery::Gallery Load (0.6ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.3ms)[0m COMMIT
[1m[36mPolygallery::Gallery Load (0.5ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mEvent Load (0.4ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35m (0.2ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
[1m[35mPolygallery::Photo Load (0.6ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE (photo_file_name IS NOT NULL) ORDER BY "polygallery_photos"."id" ASC LIMIT 1000
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-y1d6pr.JPG'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph.JPG[0]' -auto-orient -resize "x300" -crop "300x300+74+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph20140904-11790-1dimepz'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph20140904-11790-1dimepz'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph.JPG[0]' -auto-orient -resize "x100" -crop "100x100+24+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph20140904-11790-1jchdwr'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-rafkph20140904-11790-1jchdwr'
[1m[35m (0.3ms)[0m BEGIN
[1m[36mSQL (0.5ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 3[0m [["photo_file_name", "DSC_5099.JPG"], ["photo_updated_at", "2014-09-04 18:25:55.304019"], ["updated_at", "2014-09-04 18:26:05.369444"]]
[1m[35m (60.9ms)[0m COMMIT
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-2idqf9.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+25" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg20140904-11790-1debubl'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg20140904-11790-1debubl'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+8" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg20140904-11790-k5l01i'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-pzwcmg20140904-11790-k5l01i'
[1m[35m (0.2ms)[0m BEGIN
[1m[36mSQL (0.4ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 4[0m [["photo_file_name", "SALON_RUNWAY_(1).jpg"], ["photo_updated_at", "2014-09-04 18:26:05.719305"], ["updated_at", "2014-09-04 18:26:07.136168"]]
[1m[35m (66.1ms)[0m COMMIT
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mPolygallery::Photo Exists (0.4ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-1lkp4s6.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+25" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc20140904-11790-17htcp9'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc20140904-11790-17htcp9'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+8" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc20140904-11790-1ys7eo2'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-llnefc20140904-11790-1ys7eo2'
[1m[35m (0.3ms)[0m BEGIN
[1m[36mSQL (0.5ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 6[0m [["photo_file_name", "SALON_RUNWAY_(1).jpg"], ["photo_updated_at", "2014-09-04 18:26:07.415396"], ["updated_at", "2014-09-04 18:26:08.487205"]]
[1m[35m (202.6ms)[0m COMMIT
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mPolygallery::Gallery Load (0.5ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1fg0ale.JPG'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v.JPG[0]' -auto-orient -resize "x300" -crop "300x300+74+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v20140904-11790-1lp1ec3'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v20140904-11790-1lp1ec3'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v.JPG[0]' -auto-orient -resize "x100" -crop "100x100+24+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v20140904-11790-t8eakh'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-ln1x9v20140904-11790-t8eakh'
[1m[35m (0.3ms)[0m BEGIN
[1m[36mSQL (0.5ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 7[0m [["photo_file_name", "DSC_5099.JPG"], ["photo_updated_at", "2014-09-04 18:26:10.621349"], ["updated_at", "2014-09-04 18:26:16.860493"]]
[1m[35m (737.1ms)[0m COMMIT
[1m[36mPolygallery::Gallery Load (0.5ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1a4lv46.JPG'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p.JPG[0]' -auto-orient -resize "x300" -crop "300x300+74+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p20140904-11790-1khzstx'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p20140904-11790-1khzstx'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p.JPG[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p.JPG[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p.JPG[0]' -auto-orient -resize "x100" -crop "100x100+24+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p20140904-11790-1j9hvas'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/a4bdba1e10326ff275c53c6b80ae26c620140904-11790-1snih3p20140904-11790-1j9hvas'
[1m[35m (0.4ms)[0m BEGIN
[1m[36mSQL (0.5ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 9[0m [["photo_file_name", "DSC_5099.JPG"], ["photo_updated_at", "2014-09-04 18:26:18.375880"], ["updated_at", "2014-09-04 18:26:25.094099"]]
[1m[35m (15.5ms)[0m COMMIT
[1m[36mPolygallery::Gallery Load (0.5ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-36ossq.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+25" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej20140904-11790-1swjy6g'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej20140904-11790-1swjy6g'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+8" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej20140904-11790-e0neq6'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/72c3882bf26f1faa86708e033384dcc820140904-11790-h8rbej20140904-11790-e0neq6'
[1m[35m (0.3ms)[0m BEGIN
[1m[36mSQL (0.5ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 10[0m [["photo_file_name", "SALON_RUNWAY_(1).jpg"], ["photo_updated_at", "2014-09-04 18:26:25.220634"], ["updated_at", "2014-09-04 18:26:26.379886"]]
[1m[35m (114.8ms)[0m COMMIT
Started GET "/" for 127.0.0.1 at 2014-09-26 15:17:55 -0600
[1m[36mActiveRecord::SchemaMigration Load (173.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (808.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (980.1ms)
Rendered home/index.html.haml within layouts/application (2062.5ms)
Completed 500 Internal Server Error in 3032ms
ActionView::Template::Error (Asset names passed to helpers should not include the "/assets/" prefix. Instead of "/assets/polygallery/thumbnail-missing.jpg", use "polygallery/thumbnail-missing.jpg"):
1: %tr.nested-fields{:data => {:new => f.object.new_record?}}
2: %td.text-center
3: = image_tag f.object.photo.file? ? f.object.photo.url(:thumb) : image_path('polygallery/thumbnail-missing.jpg'), :class => 'img-responsive'
4: %td
5: = f.input_field :photo
6: = f.input_field :caption, :placeholder => "Caption... (optional)", :style => "margin-top:5px;", :as => :string
app/views/home/index.html.haml:20:in `block in _app_views_home_index_html_haml___3592982346072306951_70364195867120'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml___3592982346072306951_70364195867120'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (212.2ms)
Started GET "/" for 127.0.0.1 at 2014-09-26 15:19:35 -0600
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.4ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (16.3ms)
Rendered home/index.html.haml within layouts/application (32.0ms)
Completed 500 Internal Server Error in 49ms
ActionView::Template::Error (Asset names passed to helpers should not include the "/assets/" prefix. Instead of "/assets/polygallery/thumbnail-missing.jpg", use "polygallery/thumbnail-missing.jpg"):
1: %tr.nested-fields{:data => {:new => f.object.new_record?}}
2: %td.text-center
3: = image_tag f.object.photo.file? ? f.object.photo.url(:thumb) : image_path('polygallery/thumbnail-missing.jpg'), :class => 'img-responsive'
4: %td
5: = f.input_field :photo
6: = f.input_field :caption, :placeholder => "Caption... (optional)", :style => "margin-top:5px;", :as => :string
app/views/home/index.html.haml:20:in `block in _app_views_home_index_html_haml___3592982346072306951_70364195867120'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml___3592982346072306951_70364195867120'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (33.4ms)
Started GET "/" for 127.0.0.1 at 2014-09-26 15:37:34 -0600
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (8.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (36.0ms)
Rendered home/index.html.haml within layouts/application (140.6ms)
Completed 500 Internal Server Error in 270ms
ActionView::Template::Error (Asset names passed to helpers should not include the "/assets/" prefix. Instead of "/assets/polygallery/thumbnail-missing.jpg", use "polygallery/thumbnail-missing.jpg"):
1: %tr.nested-fields{:data => {:new => f.object.new_record?}}
2: %td.text-center
3: = image_tag f.object.photo.file? ? f.object.photo.url(:thumb) : image_path('polygallery/thumbnail-missing.jpg'), :class => 'img-responsive'
4: %td
5: = f.input_field :photo
6: = f.input_field :caption, :placeholder => "Caption... (optional)", :style => "margin-top:5px;", :as => :string
app/views/home/index.html.haml:20:in `block in _app_views_home_index_html_haml___3592982346072306951_70364195867120'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml___3592982346072306951_70364195867120'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (42.6ms)
Started GET "/" for 127.0.0.1 at 2014-09-26 15:39:38 -0600
[1m[36mActiveRecord::SchemaMigration Load (1.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (135.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (251.8ms)
Rendered home/index.html.haml within layouts/application (1890.3ms)
Completed 500 Internal Server Error in 2389ms
Sprockets::Rails::Helper::AbsoluteAssetPathError - Asset names passed to helpers should not include the "/assets/" prefix. Instead of "/assets/polygallery/thumbnail-missing.jpg", use "polygallery/thumbnail-missing.jpg":
sprockets-rails (2.1.4) lib/sprockets/rails/helper.rb:200:in `check_errors_for'
sprockets-rails (2.1.4) lib/sprockets/rails/helper.rb:89:in `asset_path'
actionview (4.1.4) lib/action_view/helpers/asset_url_helper.rb:281:in `image_path'
actionview (4.1.4) lib/action_view/helpers/asset_tag_helper.rb:204:in `image_tag'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml:3:in `___pplications_______xamppfiles_htdocs_polygallery_app_views_polygallery_photos__simple_fields_for_html_haml__1050443661508550915_70320612273660'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:35:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1845:in `block in fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1843:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.0.2) lib/simple_form/action_view_extensions/builder.rb:26:in `simple_fields_for'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:6:in `block in ___pplications_______xamppfiles_htdocs_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__4064044226623002471_70320611572160'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1849:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.0.2) lib/simple_form/action_view_extensions/builder.rb:26:in `simple_fields_for'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:1:in `___pplications_______xamppfiles_htdocs_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__4064044226623002471_70320611572160'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/view_helpers.rb:17:in `simple_fields_for_polygallery'
app/views/home/index.html.haml:20:in `block in _app_views_home_index_html_haml___3679381201250633792_70320613175320'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:434:in `form_for'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:22:in `block in simple_form_for'
simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:41:in `with_simple_form_field_error_proc'
simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:21:in `simple_form_for'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml___3679381201250633792_70320613175320'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70320612960300/variables" for 127.0.0.1 at 2014-09-26 15:39:42 -0600
Started POST "/__better_errors/70320612960300/variables" for 127.0.0.1 at 2014-09-26 15:40:00 -0600
Started POST "/__better_errors/70320612960300/variables" for 127.0.0.1 at 2014-09-26 15:40:48 -0600
Started POST "/__better_errors/70320612960300/eval" for 127.0.0.1 at 2014-09-26 15:41:03 -0600
Started POST "/__better_errors/70320612960300/eval" for 127.0.0.1 at 2014-09-26 15:41:56 -0600
Started POST "/__better_errors/70320612960300/eval" for 127.0.0.1 at 2014-09-26 15:41:59 -0600
Started POST "/__better_errors/70320612960300/eval" for 127.0.0.1 at 2014-09-26 15:42:06 -0600
Started POST "/__better_errors/70320612960300/eval" for 127.0.0.1 at 2014-09-26 15:42:51 -0600
Started POST "/__better_errors/70320612960300/eval" for 127.0.0.1 at 2014-09-26 15:42:57 -0600
Started POST "/__better_errors/70320612960300/eval" for 127.0.0.1 at 2014-09-26 15:42:57 -0600
Started POST "/__better_errors/70320612960300/eval" for 127.0.0.1 at 2014-09-26 15:43:04 -0600
Started POST "/__better_errors/70320612960300/eval" for 127.0.0.1 at 2014-09-26 15:43:15 -0600
Started GET "/" for 127.0.0.1 at 2014-09-26 15:44:00 -0600
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (38.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (115.3ms)
Rendered home/index.html.haml within layouts/application (219.6ms)
Completed 500 Internal Server Error in 363ms
Sprockets::Rails::Helper::AbsoluteAssetPathError - Asset names passed to helpers should not include the "/assets/" prefix. Instead of "/assets/polygallery/thumbnail-missing.jpg", use "polygallery/thumbnail-missing.jpg":
sprockets-rails (2.1.4) lib/sprockets/rails/helper.rb:200:in `check_errors_for'
sprockets-rails (2.1.4) lib/sprockets/rails/helper.rb:89:in `asset_path'
actionview (4.1.4) lib/action_view/helpers/asset_url_helper.rb:281:in `image_path'
actionview (4.1.4) lib/action_view/helpers/asset_tag_helper.rb:204:in `image_tag'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml:3:in `___pplications_______xamppfiles_htdocs_polygallery_app_views_polygallery_photos__simple_fields_for_html_haml__1050443661508550915_70320612273660'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:35:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1845:in `block in fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1843:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.0.2) lib/simple_form/action_view_extensions/builder.rb:26:in `simple_fields_for'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:6:in `block in ___pplications_______xamppfiles_htdocs_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__4064044226623002471_70320611572160'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1849:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.0.2) lib/simple_form/action_view_extensions/builder.rb:26:in `simple_fields_for'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:1:in `___pplications_______xamppfiles_htdocs_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__4064044226623002471_70320611572160'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/view_helpers.rb:17:in `simple_fields_for_polygallery'
app/views/home/index.html.haml:20:in `block in _app_views_home_index_html_haml___3679381201250633792_70320613175320'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:434:in `form_for'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:22:in `block in simple_form_for'
simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:41:in `with_simple_form_field_error_proc'
simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:21:in `simple_form_for'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml___3679381201250633792_70320613175320'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70320635616060/variables" for 127.0.0.1 at 2014-09-26 15:44:02 -0600
Started GET "/" for 127.0.0.1 at 2014-09-26 15:44:58 -0600
[1m[36mActiveRecord::SchemaMigration Load (1.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (161.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (237.9ms)
Rendered home/index.html.haml within layouts/application (1331.2ms)
Completed 500 Internal Server Error in 2323ms
Sprockets::Rails::Helper::AbsoluteAssetPathError - Asset names passed to helpers should not include the "/" prefix. Instead of "/polygallery/thumbnail-missing.jpg", use "polygallery/thumbnail-missing.jpg":
sprockets-rails (2.1.4) lib/sprockets/rails/helper.rb:200:in `check_errors_for'
sprockets-rails (2.1.4) lib/sprockets/rails/helper.rb:89:in `asset_path'
actionview (4.1.4) lib/action_view/helpers/asset_url_helper.rb:281:in `image_path'
actionview (4.1.4) lib/action_view/helpers/asset_tag_helper.rb:204:in `image_tag'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml:3:in `___pplications_______xamppfiles_htdocs_polygallery_app_views_polygallery_photos__simple_fields_for_html_haml__2619038194414249836_70122353132380'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:35:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1845:in `block in fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1843:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.0.2) lib/simple_form/action_view_extensions/builder.rb:26:in `simple_fields_for'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:6:in `block in ___pplications_______xamppfiles_htdocs_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__4332537412390706311_70122352479700'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1849:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.0.2) lib/simple_form/action_view_extensions/builder.rb:26:in `simple_fields_for'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:1:in `___pplications_______xamppfiles_htdocs_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__4332537412390706311_70122352479700'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/view_helpers.rb:17:in `simple_fields_for_polygallery'
app/views/home/index.html.haml:20:in `block in _app_views_home_index_html_haml__2610272445414061301_70122383410040'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:434:in `form_for'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:22:in `block in simple_form_for'
simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:41:in `with_simple_form_field_error_proc'
simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:21:in `simple_form_for'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml__2610272445414061301_70122383410040'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70122353803760/variables" for 127.0.0.1 at 2014-09-26 15:45:04 -0600
Started GET "/" for 127.0.0.1 at 2014-09-26 15:46:32 -0600
[1m[36mActiveRecord::SchemaMigration Load (1.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (153.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (236.2ms)
Rendered home/index.html.haml within layouts/application (1551.5ms)
Completed 500 Internal Server Error in 3080ms
Sprockets::Rails::Helper::AbsoluteAssetPathError - Asset names passed to helpers should not include the "/" prefix. Instead of "/polygallery/thumbnail-missing.jpg", use "polygallery/thumbnail-missing.jpg":
sprockets-rails (2.1.4) lib/sprockets/rails/helper.rb:200:in `check_errors_for'
sprockets-rails (2.1.4) lib/sprockets/rails/helper.rb:89:in `asset_path'
actionview (4.1.4) lib/action_view/helpers/asset_url_helper.rb:281:in `image_path'
actionview (4.1.4) lib/action_view/helpers/asset_tag_helper.rb:204:in `image_tag'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml:3:in `___pplications_______xamppfiles_htdocs_polygallery_app_views_polygallery_photos__simple_fields_for_html_haml__2428340109212775718_70161941277660'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:35:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1845:in `block in fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1843:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.0.2) lib/simple_form/action_view_extensions/builder.rb:26:in `simple_fields_for'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:6:in `block in ___pplications_______xamppfiles_htdocs_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml___2837505246280433549_70161945054300'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1849:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.0.2) lib/simple_form/action_view_extensions/builder.rb:26:in `simple_fields_for'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:1:in `___pplications_______xamppfiles_htdocs_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml___2837505246280433549_70161945054300'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/view_helpers.rb:17:in `simple_fields_for_polygallery'
app/views/home/index.html.haml:20:in `block in _app_views_home_index_html_haml__4008062407698261339_70161938068040'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:434:in `form_for'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:22:in `block in simple_form_for'
simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:41:in `with_simple_form_field_error_proc'
simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:21:in `simple_form_for'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml__4008062407698261339_70161938068040'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70161937869840/variables" for 127.0.0.1 at 2014-09-26 15:46:37 -0600
Started POST "/__better_errors/70161937869840/variables" for 127.0.0.1 at 2014-09-26 15:46:52 -0600
Started POST "/__better_errors/70161937869840/variables" for 127.0.0.1 at 2014-09-26 15:46:56 -0600
Started POST "/__better_errors/70161937869840/variables" for 127.0.0.1 at 2014-09-26 15:47:08 -0600
Started GET "/" for 127.0.0.1 at 2014-09-26 15:48:18 -0600
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (11.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (23.6ms)
Rendered home/index.html.haml within layouts/application (40.6ms)
Completed 500 Internal Server Error in 55ms
Sprockets::Rails::Helper::AbsoluteAssetPathError - Asset names passed to helpers should not include the "/" prefix. Instead of "/polygallery/thumbnail-missing.jpg", use "polygallery/thumbnail-missing.jpg":
sprockets-rails (2.1.4) lib/sprockets/rails/helper.rb:200:in `check_errors_for'
sprockets-rails (2.1.4) lib/sprockets/rails/helper.rb:89:in `asset_path'
actionview (4.1.4) lib/action_view/helpers/asset_url_helper.rb:281:in `image_path'
actionview (4.1.4) lib/action_view/helpers/asset_tag_helper.rb:204:in `image_tag'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml:3:in `___pplications_______xamppfiles_htdocs_polygallery_app_views_polygallery_photos__simple_fields_for_html_haml__2428340109212775718_70161941277660'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:35:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1845:in `block in fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1843:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.0.2) lib/simple_form/action_view_extensions/builder.rb:26:in `simple_fields_for'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:6:in `block in ___pplications_______xamppfiles_htdocs_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml___2837505246280433549_70161945054300'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1849:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.0.2) lib/simple_form/action_view_extensions/builder.rb:26:in `simple_fields_for'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:1:in `___pplications_______xamppfiles_htdocs_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml___2837505246280433549_70161945054300'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/view_helpers.rb:17:in `simple_fields_for_polygallery'
app/views/home/index.html.haml:20:in `block in _app_views_home_index_html_haml__4008062407698261339_70161938068040'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:434:in `form_for'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:22:in `block in simple_form_for'
simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:41:in `with_simple_form_field_error_proc'
simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:21:in `simple_form_for'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml__4008062407698261339_70161938068040'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70161937869720/variables" for 127.0.0.1 at 2014-09-26 15:48:18 -0600
Started GET "/" for 127.0.0.1 at 2014-09-26 15:49:04 -0600
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (55.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (14.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (108.4ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (5.2ms)
Rendered home/index.html.haml within layouts/application (374.4ms)
Completed 200 OK in 8935ms (Views: 8719.1ms | ActiveRecord: 11.6ms)
Started GET "/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-09-26 15:49:13 -0600
Started GET "/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-09-26 15:49:13 -0600
Started GET "/events.css?body=1" for 127.0.0.1 at 2014-09-26 15:49:13 -0600
Started GET "/home.css?body=1" for 127.0.0.1 at 2014-09-26 15:49:13 -0600
Started GET "/application.css?body=1" for 127.0.0.1 at 2014-09-26 15:49:13 -0600
Started GET "/jquery.js?body=1" for 127.0.0.1 at 2014-09-26 15:49:13 -0600
Started GET "/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-09-26 15:49:13 -0600
Started GET "/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-09-26 15:49:13 -0600
Started GET "/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-09-26 15:49:13 -0600
Started GET "/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-09-26 15:49:13 -0600
Started GET "/cocoon.js?body=1" for 127.0.0.1 at 2014-09-26 15:49:13 -0600
Started GET "/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-09-26 15:49:13 -0600
Started GET "/polygallery/init.js?body=1" for 127.0.0.1 at 2014-09-26 15:49:13 -0600
Started GET "/events.js?body=1" for 127.0.0.1 at 2014-09-26 15:49:13 -0600
Started GET "/home.js?body=1" for 127.0.0.1 at 2014-09-26 15:49:13 -0600
Started GET "/application.js?body=1" for 127.0.0.1 at 2014-09-26 15:49:13 -0600
Started GET "/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-09-26 15:49:13 -0600
Started POST "/events" for 127.0.0.1 at 2014-09-26 15:50:37 -0600
[1m[36m (75.6ms)[0m [1mSELECT COUNT(*) FROM "events"[0m
[1m[35mEvent Load (195.0ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1
[1m[36mPolygallery::Gallery Load (196.6ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (79.5ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mEvent Load (0.8ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" ASC LIMIT 1[0m
[1m[35mPolygallery::Gallery Load (0.7ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 1]]
[1m[35mEvent Load (1.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."title" = 'Test'
Started GET "/" for 127.0.0.1 at 2014-09-26 15:56:03 -0600
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (10.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (8.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (88.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.7ms)
Rendered home/index.html.haml within layouts/application (212.9ms)
Completed 200 OK in 1420ms (Views: 1132.2ms | ActiveRecord: 21.5ms)
Started GET "/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-09-26 15:56:06 -0600
Started GET "/events.css?body=1" for 127.0.0.1 at 2014-09-26 15:56:06 -0600
Started GET "/home.css?body=1" for 127.0.0.1 at 2014-09-26 15:56:06 -0600
Started GET "/application.css?body=1" for 127.0.0.1 at 2014-09-26 15:56:06 -0600
Started GET "/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-09-26 15:56:06 -0600
Started GET "/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-09-26 15:56:06 -0600
Started GET "/jquery.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:06 -0600
Started GET "/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:06 -0600
Started GET "/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:06 -0600
Started GET "/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:06 -0600
Started GET "/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:06 -0600
Started GET "/cocoon.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:06 -0600
Started GET "/home.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:06 -0600
Started GET "/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:06 -0600
Started GET "/polygallery/init.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:06 -0600
Started GET "/events.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:06 -0600
Started GET "/application.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:06 -0600
Started GET "/" for 127.0.0.1 at 2014-09-26 15:56:10 -0600
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (14.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (9.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (98.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.6ms)
Rendered home/index.html.haml within layouts/application (159.4ms)
Completed 200 OK in 1020ms (Views: 998.8ms | ActiveRecord: 0.0ms)
Started GET "/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-09-26 15:56:11 -0600
Started GET "/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-09-26 15:56:11 -0600
Started GET "/events.css?body=1" for 127.0.0.1 at 2014-09-26 15:56:11 -0600
Started GET "/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-09-26 15:56:11 -0600
Started GET "/application.css?body=1" for 127.0.0.1 at 2014-09-26 15:56:11 -0600
Started GET "/home.css?body=1" for 127.0.0.1 at 2014-09-26 15:56:11 -0600
Started GET "/jquery.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:11 -0600
Started GET "/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:11 -0600
Started GET "/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:11 -0600
Started GET "/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:11 -0600
Started GET "/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:11 -0600
Started GET "/cocoon.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:12 -0600
Started GET "/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:12 -0600
Started GET "/polygallery/init.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:12 -0600
Started GET "/events.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:12 -0600
Started GET "/home.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:12 -0600
Started GET "/application.js?body=1" for 127.0.0.1 at 2014-09-26 15:56:12 -0600
Started POST "/events" for 127.0.0.1 at 2014-09-26 15:56:25 -0600
Started POST "/events" for 127.0.0.1 at 2014-09-26 15:56:56 -0600
Started POST "/events" for 127.0.0.1 at 2014-09-26 15:57:14 -0600
Started POST "/events" for 127.0.0.1 at 2014-09-26 15:57:24 -0600
Started POST "/events" for 127.0.0.1 at 2014-09-26 15:57:28 -0600
Started GET "/" for 127.0.0.1 at 2014-09-26 15:57:30 -0600
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (7.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (7.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (81.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.5ms)
Rendered home/index.html.haml within layouts/application (267.0ms)
Completed 200 OK in 1616ms (Views: 1349.4ms | ActiveRecord: 17.4ms)
Started GET "/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-09-26 15:57:32 -0600
Started GET "/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-09-26 15:57:32 -0600
Started GET "/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-09-26 15:57:32 -0600
Started GET "/application.css?body=1" for 127.0.0.1 at 2014-09-26 15:57:32 -0600
Started GET "/home.css?body=1" for 127.0.0.1 at 2014-09-26 15:57:32 -0600
Started GET "/events.css?body=1" for 127.0.0.1 at 2014-09-26 15:57:32 -0600
Started GET "/jquery.js?body=1" for 127.0.0.1 at 2014-09-26 15:57:32 -0600
Started GET "/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-09-26 15:57:32 -0600
Started GET "/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-09-26 15:57:32 -0600
Started GET "/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-09-26 15:57:32 -0600
Started GET "/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-09-26 15:57:32 -0600
Started GET "/cocoon.js?body=1" for 127.0.0.1 at 2014-09-26 15:57:32 -0600
Started GET "/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-09-26 15:57:32 -0600
Started GET "/events.js?body=1" for 127.0.0.1 at 2014-09-26 15:57:32 -0600
Started GET "/polygallery/init.js?body=1" for 127.0.0.1 at 2014-09-26 15:57:32 -0600
Started GET "/home.js?body=1" for 127.0.0.1 at 2014-09-26 15:57:32 -0600
Started GET "/application.js?body=1" for 127.0.0.1 at 2014-09-26 15:57:32 -0600
Started POST "/events" for 127.0.0.1 at 2014-09-26 15:57:35 -0600
Started GET "/" for 127.0.0.1 at 2014-09-26 15:58:02 -0600
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (9.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (8.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (47.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.7ms)
Rendered home/index.html.haml within layouts/application (118.2ms)
Completed 200 OK in 1004ms (Views: 989.1ms | ActiveRecord: 0.0ms)
Started GET "/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-09-26 15:58:04 -0600
Started GET "/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-09-26 15:58:04 -0600
Started GET "/events.css?body=1" for 127.0.0.1 at 2014-09-26 15:58:04 -0600
Started GET "/application.css?body=1" for 127.0.0.1 at 2014-09-26 15:58:04 -0600
Started GET "/home.css?body=1" for 127.0.0.1 at 2014-09-26 15:58:04 -0600
Started GET "/jquery.js?body=1" for 127.0.0.1 at 2014-09-26 15:58:04 -0600
Started GET "/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-09-26 15:58:04 -0600
Started GET "/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-09-26 15:58:04 -0600
Started GET "/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-09-26 15:58:04 -0600
Started GET "/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-09-26 15:58:04 -0600
Started GET "/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-09-26 15:58:04 -0600
Started GET "/cocoon.js?body=1" for 127.0.0.1 at 2014-09-26 15:58:04 -0600
Started GET "/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-09-26 15:58:04 -0600
Started GET "/polygallery/init.js?body=1" for 127.0.0.1 at 2014-09-26 15:58:04 -0600
Started GET "/events.js?body=1" for 127.0.0.1 at 2014-09-26 15:58:04 -0600
Started GET "/home.js?body=1" for 127.0.0.1 at 2014-09-26 15:58:04 -0600
Started GET "/application.js?body=1" for 127.0.0.1 at 2014-09-26 15:58:04 -0600
Started POST "/events" for 127.0.0.1 at 2014-09-26 15:58:21 -0600
Started GET "/" for 127.0.0.1 at 2014-09-26 15:59:40 -0600
[1m[36mActiveRecord::SchemaMigration Load (1.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (70.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (18.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (189.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (5.7ms)
Rendered home/index.html.haml within layouts/application (1171.5ms)
Completed 200 OK in 3312ms (Views: 2862.6ms | ActiveRecord: 13.6ms)
Started GET "/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-09-26 15:59:44 -0600
Started GET "/events.css?body=1" for 127.0.0.1 at 2014-09-26 15:59:44 -0600
Started GET "/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-09-26 15:59:44 -0600
Started GET "/application.css?body=1" for 127.0.0.1 at 2014-09-26 15:59:44 -0600
Started GET "/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-09-26 15:59:44 -0600
Started GET "/home.css?body=1" for 127.0.0.1 at 2014-09-26 15:59:44 -0600
Started GET "/jquery.js?body=1" for 127.0.0.1 at 2014-09-26 15:59:44 -0600
Started GET "/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-09-26 15:59:44 -0600
Started GET "/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-09-26 15:59:44 -0600
Started GET "/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-09-26 15:59:44 -0600
Started GET "/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-09-26 15:59:44 -0600
Started GET "/cocoon.js?body=1" for 127.0.0.1 at 2014-09-26 15:59:44 -0600
Started GET "/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-09-26 15:59:44 -0600
Started GET "/polygallery/init.js?body=1" for 127.0.0.1 at 2014-09-26 15:59:44 -0600
Started GET "/events.js?body=1" for 127.0.0.1 at 2014-09-26 15:59:44 -0600
Started GET "/home.js?body=1" for 127.0.0.1 at 2014-09-26 15:59:44 -0600
Started GET "/application.js?body=1" for 127.0.0.1 at 2014-09-26 15:59:45 -0600
Started POST "/events" for 127.0.0.1 at 2014-09-26 15:59:50 -0600
Started GET "/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-09-26 16:00:02 -0600
Started GET "/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-09-26 16:00:02 -0600
Started GET "/events.css?body=1" for 127.0.0.1 at 2014-09-26 16:00:02 -0600
Started GET "/application.css?body=1" for 127.0.0.1 at 2014-09-26 16:00:02 -0600
Started GET "/home.css?body=1" for 127.0.0.1 at 2014-09-26 16:00:02 -0600
Started POST "/events" for 127.0.0.1 at 2014-09-26 16:02:51 -0600
Started GET "/" for 127.0.0.1 at 2014-09-26 16:03:53 -0600
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (10.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (9.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (67.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (2.7ms)
Rendered home/index.html.haml within layouts/application (227.2ms)
Completed 200 OK in 1046ms (Views: 1030.8ms | ActiveRecord: 0.0ms)
Started GET "/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-09-26 16:03:54 -0600
Started GET "/home.css?body=1" for 127.0.0.1 at 2014-09-26 16:03:54 -0600
Started GET "/events.css?body=1" for 127.0.0.1 at 2014-09-26 16:03:55 -0600
Started GET "/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-09-26 16:03:55 -0600
Started GET "/jquery.js?body=1" for 127.0.0.1 at 2014-09-26 16:03:55 -0600
Started GET "/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-09-26 16:03:55 -0600
Started GET "/application.css?body=1" for 127.0.0.1 at 2014-09-26 16:03:55 -0600
Started GET "/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-09-26 16:03:55 -0600
Started GET "/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-09-26 16:03:55 -0600
Started GET "/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-09-26 16:03:55 -0600
Started GET "/cocoon.js?body=1" for 127.0.0.1 at 2014-09-26 16:03:55 -0600
Started GET "/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-09-26 16:03:55 -0600
Started GET "/polygallery/init.js?body=1" for 127.0.0.1 at 2014-09-26 16:03:55 -0600
Started GET "/events.js?body=1" for 127.0.0.1 at 2014-09-26 16:03:55 -0600
Started GET "/home.js?body=1" for 127.0.0.1 at 2014-09-26 16:03:55 -0600
Started GET "/application.js?body=1" for 127.0.0.1 at 2014-09-26 16:03:55 -0600
Started GET "/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-09-26 16:03:55 -0600
Started GET "/" for 127.0.0.1 at 2014-09-26 16:06:25 -0600
[1m[36mActiveRecord::SchemaMigration Load (1.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (82.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (17.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (179.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (6.4ms)
Rendered home/index.html.haml within layouts/application (683.8ms)
Completed 200 OK in 2512ms (Views: 2032.9ms | ActiveRecord: 16.8ms)
Started GET "/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-09-26 16:06:29 -0600
Started GET "/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-09-26 16:06:29 -0600
Started GET "/application.css?body=1" for 127.0.0.1 at 2014-09-26 16:06:29 -0600
Started GET "/home.css?body=1" for 127.0.0.1 at 2014-09-26 16:06:29 -0600
Started GET "/events.css?body=1" for 127.0.0.1 at 2014-09-26 16:06:29 -0600
Started GET "/jquery.js?body=1" for 127.0.0.1 at 2014-09-26 16:06:29 -0600
Started GET "/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-09-26 16:06:29 -0600
Started GET "/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-09-26 16:06:29 -0600
Started GET "/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-09-26 16:06:29 -0600
Started GET "/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-09-26 16:06:29 -0600
Started GET "/cocoon.js?body=1" for 127.0.0.1 at 2014-09-26 16:06:29 -0600
Started GET "/polygallery/init.js?body=1" for 127.0.0.1 at 2014-09-26 16:06:29 -0600
Started GET "/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-09-26 16:06:29 -0600
Started GET "/events.js?body=1" for 127.0.0.1 at 2014-09-26 16:06:29 -0600
Started GET "/home.js?body=1" for 127.0.0.1 at 2014-09-26 16:06:29 -0600
Started GET "/application.js?body=1" for 127.0.0.1 at 2014-09-26 16:06:29 -0600
Started GET "/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-09-26 16:06:29 -0600
Started POST "/events" for 127.0.0.1 at 2014-09-26 16:06:35 -0600
Started POST "/events" for 127.0.0.1 at 2014-09-26 16:08:06 -0600
Started POST "/events" for 127.0.0.1 at 2014-09-26 16:08:24 -0600
Started GET "/" for 127.0.0.1 at 2014-10-01 11:31:57 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (20.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (65.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (4.2ms)
Rendered home/index.html.haml within layouts/application (412.6ms)
Completed 200 OK in 1160ms (Views: 980.2ms | ActiveRecord: 32.9ms)
Started GET "/events.css?body=1" for 127.0.0.1 at 2014-10-01 11:31:59 -0600
Started GET "/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:31:59 -0600
Started GET "/application.css?body=1" for 127.0.0.1 at 2014-10-01 11:31:59 -0600
Started GET "/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 11:31:59 -0600
Started GET "/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:31:59 -0600
Started GET "/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 11:31:59 -0600
Started GET "/home.css?body=1" for 127.0.0.1 at 2014-10-01 11:31:59 -0600
Started GET "/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 11:31:59 -0600
Started GET "/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 11:31:59 -0600
Started GET "/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 11:31:59 -0600
Started GET "/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:31:59 -0600
Started GET "/application.js?body=1" for 127.0.0.1 at 2014-10-01 11:31:59 -0600
Started GET "/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:31:59 -0600
Started GET "/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 11:31:59 -0600
Started GET "/events.js?body=1" for 127.0.0.1 at 2014-10-01 11:31:59 -0600
Started GET "/home.js?body=1" for 127.0.0.1 at 2014-10-01 11:31:59 -0600
Started GET "/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-10-01 11:31:59 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:32:19 -0600
Started GET "/pieces/83" for 127.0.0.1 at 2014-10-01 11:33:00 -0600
ActionController::RoutingError (No route matches [GET] "/pieces/83"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (17.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (108.8ms)
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:33:05 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:33:13 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:33:20 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:33:27 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:34:01 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:34:18 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:35:15 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:36:04 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:36:18 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:36:28 -0600
NameError - undefined local variable or method `params' for #<#:0x007ff5a8310a10>
(in /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/app/assets/javascripts/events.js.erb):
app/assets/javascripts/events.js.erb:3:in `block in singleton class'
app/assets/javascripts/events.js.erb:65531:in `singleton class'
app/assets/javascripts/events.js.erb:65529:in `__tilt_70346532607060'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/tilt-1.4.1/lib/tilt/template.rb:170:in `evaluate'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/tilt-1.4.1/lib/tilt/template.rb:103:in `render'
sprockets (2.12.1) lib/sprockets/context.rb:197:in `block in evaluate'
sprockets (2.12.1) lib/sprockets/context.rb:194:in `evaluate'
sprockets (2.12.1) lib/sprockets/processed_asset.rb:12:in `initialize'
sprockets (2.12.1) lib/sprockets/base.rb:374:in `block in build_asset'
sprockets (2.12.1) lib/sprockets/base.rb:395:in `circular_call_protection'
sprockets (2.12.1) lib/sprockets/base.rb:373:in `build_asset'
sprockets (2.12.1) lib/sprockets/index.rb:94:in `block in build_asset'
sprockets (2.12.1) lib/sprockets/caching.rb:58:in `cache_asset'
sprockets (2.12.1) lib/sprockets/index.rb:93:in `build_asset'
sprockets (2.12.1) lib/sprockets/base.rb:287:in `find_asset'
sprockets (2.12.1) lib/sprockets/index.rb:61:in `find_asset'
sprockets (2.12.1) lib/sprockets/bundled_asset.rb:37:in `init_with'
sprockets (2.12.1) lib/sprockets/asset.rb:24:in `from_hash'
sprockets (2.12.1) lib/sprockets/caching.rb:54:in `cache_asset'
sprockets (2.12.1) lib/sprockets/index.rb:93:in `build_asset'
sprockets (2.12.1) lib/sprockets/base.rb:287:in `find_asset'
sprockets (2.12.1) lib/sprockets/index.rb:61:in `find_asset'
sprockets (2.12.1) lib/sprockets/environment.rb:75:in `find_asset'
sprockets (2.12.1) lib/sprockets/server.rb:47:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70346532935160/variables" for 127.0.0.1 at 2014-10-01 11:36:28 -0600
Started POST "/__better_errors/70346532935160/eval" for 127.0.0.1 at 2014-10-01 11:36:37 -0600
Started POST "/__better_errors/70346532935160/eval" for 127.0.0.1 at 2014-10-01 11:36:41 -0600
Started POST "/__better_errors/70346532935160/eval" for 127.0.0.1 at 2014-10-01 11:36:43 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:37:00 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:37:33 -0600
Started GET "/events" for 127.0.0.1 at 2014-10-01 11:37:46 -0600
Started GET "/events" for 127.0.0.1 at 2014-10-01 11:37:54 -0600
Started GET "/events" for 127.0.0.1 at 2014-10-01 11:37:58 -0600
Started GET "/events" for 127.0.0.1 at 2014-10-01 11:39:01 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by EventsController#index as HTML
Completed 500 Internal Server Error in 64ms
ActionView::MissingTemplate - Missing template events/index, application/index with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml]}. Searched in:
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/app/views"
* "/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views"
:
actionview (4.1.4) lib/action_view/path_set.rb:46:in `find'
actionview (4.1.4) lib/action_view/lookup_context.rb:124:in `find'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:41:in `determine_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70094499092280/variables" for 127.0.0.1 at 2014-10-01 11:39:01 -0600
Started GET "/" for 127.0.0.1 at 2014-10-01 11:39:03 -0600
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (34.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (91.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (2.4ms)
Rendered home/index.html.haml within layouts/application (421.2ms)
Completed 200 OK in 1197ms (Views: 954.8ms | ActiveRecord: 5.0ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 11:39:04 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:39:04 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 11:39:04 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 11:39:04 -0600
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:39:04 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 11:39:04 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 11:39:04 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 11:39:04 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 11:39:04 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:39:04 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 11:39:04 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 11:39:04 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:39:04 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 11:39:04 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 11:39:04 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 11:39:04 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-10-01 11:39:04 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:39:30 -0600
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Test Event", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece2.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece2.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Completed 500 Internal Server Error in 2ms
RuntimeError - BOOM:
app/controllers/events_controller.rb:5:in `create'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70094505426220/variables" for 127.0.0.1 at 2014-10-01 11:39:30 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:39:45 -0600
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Test Event", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece2.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece2.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Completed 500 Internal Server Error in 122ms
ActiveRecord::UnknownAttributeError - unknown attribute: photo:
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:50:in `rescue in _assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:32:in `block in assign_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:26:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:130:in `build'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:465:in `block in assign_nested_attributes_for_collection_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:460:in `assign_nested_attributes_for_collection_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:343:in `photos_attributes='
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `block in assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:36:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:29:in `build'
activerecord (4.1.4) lib/active_record/associations/builder/singular_association.rb:18:in `build_gallery'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:398:in `assign_nested_attributes_for_one_to_one_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:343:in `gallery_attributes='
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `block in assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:36:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
app/controllers/events_controller.rb:5:in `create'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70094547014240/variables" for 127.0.0.1 at 2014-10-01 11:39:46 -0600
Started POST "/__better_errors/70094547014240/eval" for 127.0.0.1 at 2014-10-01 11:39:53 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
Started POST "/__better_errors/70094547014240/eval" for 127.0.0.1 at 2014-10-01 11:40:31 -0600
Started POST "/__better_errors/70094547014240/eval" for 127.0.0.1 at 2014-10-01 11:40:37 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:40:53 -0600
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Test Event", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece2.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece2.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Completed 500 Internal Server Error in 122ms
ActiveRecord::UnknownAttributeError - unknown attribute: photo:
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:50:in `rescue in _assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:32:in `block in assign_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:26:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:130:in `build'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:465:in `block in assign_nested_attributes_for_collection_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:460:in `assign_nested_attributes_for_collection_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:343:in `photos_attributes='
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `block in assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:36:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:29:in `build'
activerecord (4.1.4) lib/active_record/associations/builder/singular_association.rb:18:in `build_gallery'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:398:in `assign_nested_attributes_for_one_to_one_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:343:in `gallery_attributes='
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `block in assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:36:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
app/controllers/events_controller.rb:5:in `create'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70094547162200/variables" for 127.0.0.1 at 2014-10-01 11:40:54 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:42:05 -0600
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Test Event", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece2.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece2.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/9c0e875da7fa033200b81ae8fb8a200220141001-78491-15w10z0.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/9c0e875da7fa033200b81ae8fb8a200220141001-78491-1cqe8so.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/9c0e875da7fa033200b81ae8fb8a200220141001-78491-1cqe8so.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/9c0e875da7fa033200b81ae8fb8a200220141001-78491-1cqe8so.jpg[0]' -auto-orient -resize "x300" -crop "300x300+90+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/9c0e875da7fa033200b81ae8fb8a200220141001-78491-1cqe8so20141001-78491-xv36uv'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/9c0e875da7fa033200b81ae8fb8a200220141001-78491-1cqe8so20141001-78491-xv36uv'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/9c0e875da7fa033200b81ae8fb8a200220141001-78491-1cqe8so.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/9c0e875da7fa033200b81ae8fb8a200220141001-78491-1cqe8so.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/9c0e875da7fa033200b81ae8fb8a200220141001-78491-1cqe8so.jpg[0]' -auto-orient -resize "x100" -crop "100x100+30+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/9c0e875da7fa033200b81ae8fb8a200220141001-78491-1cqe8so20141001-78491-mo0e2m'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/9c0e875da7fa033200b81ae8fb8a200220141001-78491-1cqe8so20141001-78491-mo0e2m'
[1m[35m (0.2ms)[0m BEGIN
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/9c0e875da7fa033200b81ae8fb8a200220141001-78491-qu2vfi.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/9c0e875da7fa033200b81ae8fb8a200220141001-78491-nxuz3i.jpg'
[1m[36mSQL (21.6ms)[0m [1mINSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-10-01 17:42:06.841669"], ["title", "Test Event"], ["updated_at", "2014-10-01 17:42:06.841669"]]
[1m[35mSQL (17.5ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-10-01 17:42:06.931911"], ["galleryable_id", 6], ["galleryable_type", "Event"], ["updated_at", "2014-10-01 17:42:06.931911"]]
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["caption", ""], ["created_at", "2014-10-01 17:42:06.953811"], ["gallery_id", 6], ["photo_content_type", "image/jpeg"], ["photo_file_name", "piece2.jpg"], ["photo_file_size", 797561], ["photo_updated_at", "2014-10-01 17:42:05.615966"], ["updated_at", "2014-10-01 17:42:06.953811"]]
[1m[35m (34.9ms)[0m COMMIT
Redirected to http://localhost:3000/
Completed 302 Found in 1671ms (ActiveRecord: 80.5ms)
Started GET "/" for 127.0.0.1 at 2014-10-01 11:42:07 -0600
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (34.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.1ms)
Rendered home/index.html.haml within layouts/application (88.1ms)
Completed 200 OK in 347ms (Views: 339.6ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:42:07 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:42:07 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 11:42:07 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 11:42:07 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 11:42:07 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 11:42:07 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 11:42:07 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 11:42:07 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 11:42:07 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:42:07 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 11:42:07 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 11:42:07 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:42:07 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 11:42:07 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 11:42:07 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 11:42:07 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-10-01 11:42:07 -0600
Started GET "/events" for 127.0.0.1 at 2014-10-01 11:44:18 -0600
Processing by EventsController#index as HTML
Rendered events/index.html.haml within layouts/application (1.9ms)
Completed 200 OK in 305ms (Views: 245.4ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:44:18 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:44:18 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 11:44:18 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 11:44:18 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 11:44:18 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 11:44:18 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 11:44:18 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 11:44:18 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:44:18 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 11:44:18 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 11:44:18 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:44:18 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 11:44:18 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 11:44:18 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 11:44:19 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 11:44:19 -0600
Started GET "/events" for 127.0.0.1 at 2014-10-01 11:45:13 -0600
Processing by EventsController#index as HTML
Rendered events/index.html.haml within layouts/application (1.7ms)
Completed 200 OK in 225ms (Views: 224.2ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:45:13 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 11:45:13 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:45:13 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 11:45:13 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 11:45:13 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 11:45:13 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 11:45:13 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 11:45:13 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 11:45:13 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:45:13 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 11:45:13 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 11:45:13 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:45:13 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 11:45:13 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 11:45:13 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 11:45:13 -0600
Started GET "/events" for 127.0.0.1 at 2014-10-01 11:48:29 -0600
Processing by EventsController#index as HTML
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "events"[0m
[1m[35mEvent Load (33.6ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."updated_at" DESC
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 2]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mPolygallery::Photo Load (0.5ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" IN (6, 5, 4, 3, 2, 1)[0m
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 1]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 1]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 1]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 2]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.4ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 6]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 6]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
Rendered events/index.html.haml within layouts/application (313.8ms)
Completed 200 OK in 584ms (Views: 489.1ms | ActiveRecord: 47.1ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:48:30 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 11:48:30 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:48:30 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 11:48:30 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 11:48:30 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 11:48:30 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 11:48:30 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 11:48:30 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 11:48:30 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:48:30 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 11:48:30 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 11:48:30 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:48:30 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 11:48:30 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 11:48:30 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 11:48:30 -0600
Started GET "/events" for 127.0.0.1 at 2014-10-01 11:49:58 -0600
Processing by EventsController#index as HTML
[1m[36m (0.9ms)[0m [1mSELECT COUNT(*) FROM "events"[0m
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."updated_at" DESC
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mPolygallery::Gallery Load (1.9ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 2]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mPolygallery::Photo Load (0.4ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" IN (6, 5, 4, 3, 2, 1)[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 1]]
[1m[36mCACHE (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 1]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 1]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 2]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 6]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 6]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 6]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 5]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 4]]
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 3]]
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 2]]
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 1]]
Rendered events/index.html.haml within layouts/application (201.1ms)
Completed 200 OK in 420ms (Views: 408.0ms | ActiveRecord: 11.4ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:49:58 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:49:58 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 11:49:58 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 11:49:58 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 11:49:58 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 11:49:58 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 11:49:58 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 11:49:58 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:49:58 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 11:49:58 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 11:49:58 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 11:49:58 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:49:58 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 11:49:58 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 11:49:58 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 11:49:58 -0600
Started GET "/events/6" for 127.0.0.1 at 2014-10-01 11:50:03 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 6]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
Rendered events/show.html.haml within layouts/application (1.1ms)
Completed 200 OK in 224ms (Views: 217.3ms | ActiveRecord: 0.5ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:50:03 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:50:03 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 11:50:03 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:03 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 11:50:03 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 11:50:03 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:03 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:04 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:04 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:04 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:04 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:04 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:04 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:04 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:04 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:04 -0600
Started GET "/events/6" for 127.0.0.1 at 2014-10-01 11:50:22 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"6"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 6]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
Rendered events/show.html.haml within layouts/application (2.1ms)
Completed 200 OK in 229ms (Views: 222.7ms | ActiveRecord: 0.5ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:50:22 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:22 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 11:50:22 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:50:22 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 11:50:22 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 11:50:22 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:22 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:22 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:22 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:22 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:22 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:22 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:22 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:22 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:22 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 11:50:22 -0600
Started GET "/events/6" for 127.0.0.1 at 2014-10-01 11:51:04 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 6]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 6]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
Rendered events/show.html.haml within layouts/application (39.8ms)
Completed 200 OK in 275ms (Views: 266.3ms | ActiveRecord: 1.6ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:51:04 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 11:51:05 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:51:05 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 11:51:05 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 11:51:05 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:05 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:05 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:05 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:05 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:05 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:05 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:05 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:05 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:05 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:05 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:05 -0600
Started GET "/events/6" for 127.0.0.1 at 2014-10-01 11:51:17 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"6"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 6]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36mPolygallery::Photo Load (0.4ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 6]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 6]]
[1m[36mCACHE (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 6]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
Rendered events/show.html.haml within layouts/application (22.6ms)
Completed 200 OK in 249ms (Views: 239.3ms | ActiveRecord: 1.9ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:51:17 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 11:51:17 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 11:51:17 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 11:51:17 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:51:17 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:17 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:17 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:17 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:17 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:17 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:17 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:17 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:17 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:18 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:18 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 11:51:18 -0600
Started GET "/events/6" for 127.0.0.1 at 2014-10-01 11:52:47 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 6]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 6]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 6]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 6]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
Rendered events/show.html.haml within layouts/application (26.5ms)
Completed 200 OK in 374ms (Views: 245.6ms | ActiveRecord: 6.3ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:52:48 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:52:48 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 11:52:48 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 11:52:48 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 11:52:48 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 11:52:48 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 11:52:48 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 11:52:48 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 11:52:48 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:52:48 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 11:52:48 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 11:52:48 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:52:48 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 11:52:48 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 11:52:48 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 11:52:48 -0600
Started GET "/events/" for 127.0.0.1 at 2014-10-01 11:53:51 -0600
Processing by EventsController#index as HTML
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "events"
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."updated_at" DESC[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mPolygallery::Gallery Load (0.5ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" IN (6, 5, 4, 3, 2, 1)
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 1]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mEvent Load (0.1ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 1]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 1]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 2]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 6]]
Rendered events/index.html.haml within layouts/application (309.5ms)
Completed 500 Internal Server Error in 313ms
NoMethodError - undefined method `custom_photos' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
app/views/events/index.html.haml:21:in `block in _app_views_events_index_html_haml___4545694559173618445_70094505259440'
activerecord (4.1.4) lib/active_record/relation/delegation.rb:46:in `each'
app/views/events/index.html.haml:13:in `_app_views_events_index_html_haml___4545694559173618445_70094505259440'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70094549025000/variables" for 127.0.0.1 at 2014-10-01 11:53:52 -0600
Started GET "/events/" for 127.0.0.1 at 2014-10-01 11:54:03 -0600
Processing by EventsController#index as HTML
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "events"
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."updated_at" DESC[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Load (0.4ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" IN (6, 5, 4, 3, 2, 1)
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 1]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 1]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 1]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 2]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 6]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 5]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 4]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 3]]
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 2]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 1]]
Rendered events/index.html.haml within layouts/application (373.2ms)
Completed 200 OK in 590ms (Views: 578.3ms | ActiveRecord: 10.2ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:04 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:04 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:04 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:04 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:04 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:04 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:04 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:04 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:04 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:04 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:04 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:04 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:04 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:04 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:04 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:04 -0600
Started GET "/" for 127.0.0.1 at 2014-10-01 11:54:12 -0600
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (37.4ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.6ms)
Rendered home/index.html.haml within layouts/application (86.5ms)
Completed 200 OK in 342ms (Views: 324.5ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:12 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:13 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-10-01 11:54:13 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:13 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:13 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:13 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:13 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:13 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:13 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:13 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:13 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:13 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:13 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:13 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:13 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:13 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:13 -0600
Started GET "/" for 127.0.0.1 at 2014-10-01 11:54:15 -0600
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (20.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.5ms)
Rendered home/index.html.haml within layouts/application (33.8ms)
Completed 200 OK in 264ms (Views: 246.5ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:15 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:15 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:15 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:15 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-10-01 11:54:15 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:15 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:15 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:15 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:15 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:15 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:15 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:15 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:15 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:15 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:15 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:15 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:15 -0600
Started GET "/" for 127.0.0.1 at 2014-10-01 11:54:16 -0600
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (21.4ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.5ms)
Rendered home/index.html.haml within layouts/application (34.9ms)
Completed 200 OK in 270ms (Views: 252.0ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:16 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:16 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:16 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-10-01 11:54:16 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:17 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:17 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:17 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:17 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:17 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:17 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:17 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:17 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:17 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:17 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:17 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:17 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:17 -0600
Started GET "/" for 127.0.0.1 at 2014-10-01 11:54:34 -0600
Processing by HomeController#index as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (20.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (21.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.5ms)
Rendered home/index.html.haml within layouts/application (65.0ms)
Completed 200 OK in 297ms (Views: 278.9ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:34 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:34 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:34 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:34 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 11:54:34 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-10-01 11:54:34 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:35 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:35 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:35 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:35 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:35 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:35 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:35 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:35 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:35 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:35 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 11:54:35 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:54:56 -0600
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Another Test Event", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece6.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece6.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece7.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece7.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Unpermitted parameters: custom_gallery_attributes
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-14a34od.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1iyr0an.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1iyr0an.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1iyr0an.jpg[0]' -auto-orient -resize "x300" -crop "300x300+53+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1iyr0an20141001-78491-ly9oyv'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1iyr0an20141001-78491-ly9oyv'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1iyr0an.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1iyr0an.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1iyr0an.jpg[0]' -auto-orient -resize "x100" -crop "100x100+17+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1iyr0an20141001-78491-1rxmnek'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1iyr0an20141001-78491-1rxmnek'
[1m[36m (0.2ms)[0m [1mBEGIN[0m
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1lpmr3b.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-g2ae0o.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-wy55vy.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1i37s.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-j9qqxo.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-z2qyz.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-199dznp.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1kb4cgo.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-w8k8sc.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-10ngksm.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-103wxz5.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-v0j1mr.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-lp3ff.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1c6uw1e.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-670yy1.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-tswl8.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-26rncf.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1q3dzmf.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-4tfhkv.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-ueozk6.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1prrh3a.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1ww0m4u.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1k9ymkf.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-q7lonv.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1bzz4gv.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1wkb27k.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-tqa6j2.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-kwg4om.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-6w3isg.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-13cnrf0.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1omoh35.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-wb9fnr.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-12rsi9r.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1j5zo0h.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1vmk1qt.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-14v4p95.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-ei50ww.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-tg94fv.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1mvbd5k.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-ki4q0j.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1mi8qj4.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-yl1qqw.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1bpwzde.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-ofn2jw.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-12ne2ed.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-fharw1.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-d9ai8q.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-bdgqxp.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-z4e149.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1mg6inc.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1ox8dmq.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1eks0c9.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1xj5srt.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1atjd9r.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1j7lffy.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-urkfn.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-8o0a6x.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-n0wsu5.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1ti7rep.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-ic8tml.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1d9q1x9.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-nx3ja7.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1lg6uhj.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1hg071h.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-14tbaww.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-iccmxh.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-15k56xt.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-11hhutx.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1tur9g0.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1v48o8q.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1nozu28.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-5tvur9.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1n0lxdh.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-arp2hq.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-vxc3bb.jpg'
[1m[35mSQL (0.3ms)[0m INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-10-01 17:54:59.663196"], ["title", "Another Test Event"], ["updated_at", "2014-10-01 17:54:59.663196"]]
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2014-10-01 17:54:59.666967"], ["galleryable_id", 7], ["galleryable_type", "Event"], ["updated_at", "2014-10-01 17:54:59.666967"]]
[1m[35mSQL (0.3ms)[0m INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", ""], ["created_at", "2014-10-01 17:54:59.671109"], ["gallery_id", 7], ["photo_content_type", "image/jpeg"], ["photo_file_name", "piece6.jpg"], ["photo_file_size", 478350], ["photo_updated_at", "2014-10-01 17:54:56.349319"], ["updated_at", "2014-10-01 17:54:59.671109"]]
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2014-10-01 17:54:59.872205"], ["galleryable_id", 7], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2014-10-01 17:54:59.872205"]]
[1m[35mSQL (0.2ms)[0m INSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-10-01 17:54:59.875163"], ["gallery_id", 8], ["updated_at", "2014-10-01 17:54:59.875163"]]
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
Completed 500 Internal Server Error in 3582ms
RuntimeError - CREATE BOOM:
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:28:in `block in has_polygallery'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/callbacks.rb:306:in `_create_record'
activerecord (4.1.4) lib/active_record/timestamp.rb:57:in `_create_record'
activerecord (4.1.4) lib/active_record/persistence.rb:482:in `create_or_update'
activerecord (4.1.4) lib/active_record/callbacks.rb:302:in `block in create_or_update'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/callbacks.rb:302:in `create_or_update'
activerecord (4.1.4) lib/active_record/persistence.rb:103:in `save'
activerecord (4.1.4) lib/active_record/validations.rb:51:in `save'
activerecord (4.1.4) lib/active_record/attribute_methods/dirty.rb:21:in `save'
activerecord (4.1.4) lib/active_record/transactions.rb:268:in `block (2 levels) in save'
activerecord (4.1.4) lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
activerecord (4.1.4) lib/active_record/transactions.rb:208:in `transaction'
activerecord (4.1.4) lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
activerecord (4.1.4) lib/active_record/transactions.rb:268:in `block in save'
activerecord (4.1.4) lib/active_record/transactions.rb:283:in `rollback_active_record_state!'
activerecord (4.1.4) lib/active_record/transactions.rb:267:in `save'
app/controllers/events_controller.rb:7:in `create'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70094546018040/variables" for 127.0.0.1 at 2014-10-01 11:54:59 -0600
Started POST "/__better_errors/70094546018040/eval" for 127.0.0.1 at 2014-10-01 11:55:09 -0600
Started POST "/__better_errors/70094546018040/eval" for 127.0.0.1 at 2014-10-01 11:55:10 -0600
Started POST "/__better_errors/70094546018040/variables" for 127.0.0.1 at 2014-10-01 11:55:25 -0600
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' [["galleryable_id", nil], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery'[0m [["galleryable_id", nil], ["galleryable_type", "Event"]]
Started POST "/__better_errors/70094546018040/eval" for 127.0.0.1 at 2014-10-01 11:55:52 -0600
Started POST "/__better_errors/70094546018040/eval" for 127.0.0.1 at 2014-10-01 11:55:56 -0600
Started POST "/__better_errors/70094546018040/eval" for 127.0.0.1 at 2014-10-01 11:56:00 -0600
Started POST "/__better_errors/70094546018040/eval" for 127.0.0.1 at 2014-10-01 11:56:02 -0600
Started POST "/__better_errors/70094546018040/eval" for 127.0.0.1 at 2014-10-01 11:56:05 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:56:20 -0600
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Another Test Event", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece6.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece6.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece7.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece7.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Unpermitted parameters: custom_gallery_attributes
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1tg18el.jpg'
Completed 500 Internal Server Error in 50ms
TypeError - can't dup NilClass:
paperclip (4.2.0) lib/paperclip/attachment.rb:199:in `styles'
paperclip (4.2.0) lib/paperclip/attachment.rb:513:in `post_process_styles'
paperclip (4.2.0) lib/paperclip/attachment.rb:506:in `block (2 levels) in post_process'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
paperclip (4.2.0) lib/paperclip/callbacks.rb:36:in `run_paperclip_callbacks'
paperclip (4.2.0) lib/paperclip/attachment.rb:504:in `block in post_process'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
paperclip (4.2.0) lib/paperclip/callbacks.rb:36:in `run_paperclip_callbacks'
paperclip (4.2.0) lib/paperclip/attachment.rb:503:in `post_process'
paperclip (4.2.0) lib/paperclip/attachment.rb:459:in `post_process_file'
paperclip (4.2.0) lib/paperclip/attachment.rb:107:in `assign'
paperclip (4.2.0) lib/paperclip/has_attached_file.rb:66:in `block in define_setter'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:32:in `block in assign_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:26:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:130:in `build'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:465:in `block in assign_nested_attributes_for_collection_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:460:in `assign_nested_attributes_for_collection_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:343:in `photos_attributes='
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `block in assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:36:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:29:in `build'
activerecord (4.1.4) lib/active_record/associations/builder/singular_association.rb:18:in `build_gallery'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:398:in `assign_nested_attributes_for_one_to_one_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:343:in `gallery_attributes='
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `block in assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:36:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
app/controllers/events_controller.rb:6:in `create'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70094517516640/variables" for 127.0.0.1 at 2014-10-01 11:56:20 -0600
Started POST "/__better_errors/70094517516640/eval" for 127.0.0.1 at 2014-10-01 11:56:28 -0600
Unpermitted parameters: custom_gallery_attributes
Started POST "/__better_errors/70094517516640/eval" for 127.0.0.1 at 2014-10-01 11:56:34 -0600
Unpermitted parameters: custom_gallery_attributes
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-1m9sfx8.jpg'
Started POST "/__better_errors/70094517516640/variables" for 127.0.0.1 at 2014-10-01 11:56:39 -0600
Started POST "/__better_errors/70094517516640/variables" for 127.0.0.1 at 2014-10-01 11:56:46 -0600
Started POST "/__better_errors/70094517516640/variables" for 127.0.0.1 at 2014-10-01 11:56:48 -0600
Started POST "/__better_errors/70094517516640/variables" for 127.0.0.1 at 2014-10-01 11:56:50 -0600
Started POST "/__better_errors/70094517516640/variables" for 127.0.0.1 at 2014-10-01 11:56:51 -0600
Started POST "/__better_errors/70094517516640/variables" for 127.0.0.1 at 2014-10-01 11:56:52 -0600
Started POST "/__better_errors/70094517516640/variables" for 127.0.0.1 at 2014-10-01 11:56:54 -0600
Started POST "/__better_errors/70094517516640/variables" for 127.0.0.1 at 2014-10-01 11:56:58 -0600
Started POST "/__better_errors/70094517516640/variables" for 127.0.0.1 at 2014-10-01 11:57:03 -0600
Started POST "/__better_errors/70094517516640/variables" for 127.0.0.1 at 2014-10-01 11:57:08 -0600
Started POST "/__better_errors/70094517516640/eval" for 127.0.0.1 at 2014-10-01 11:57:56 -0600
Started POST "/__better_errors/70094517516640/eval" for 127.0.0.1 at 2014-10-01 11:58:01 -0600
Started POST "/__better_errors/70094517516640/eval" for 127.0.0.1 at 2014-10-01 11:58:02 -0600
Started POST "/__better_errors/70094517516640/eval" for 127.0.0.1 at 2014-10-01 11:58:13 -0600
Started POST "/__better_errors/70094517516640/eval" for 127.0.0.1 at 2014-10-01 11:58:30 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:59:06 -0600
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Another Test Event", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece6.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece6.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece7.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece7.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Unpermitted parameters: custom_gallery_attributes
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78491-czf6e8.jpg'
Completed 500 Internal Server Error in 50ms
TypeError - can't dup NilClass:
paperclip (4.2.0) lib/paperclip/attachment.rb:199:in `styles'
paperclip (4.2.0) lib/paperclip/attachment.rb:513:in `post_process_styles'
paperclip (4.2.0) lib/paperclip/attachment.rb:506:in `block (2 levels) in post_process'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
paperclip (4.2.0) lib/paperclip/callbacks.rb:36:in `run_paperclip_callbacks'
paperclip (4.2.0) lib/paperclip/attachment.rb:504:in `block in post_process'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
paperclip (4.2.0) lib/paperclip/callbacks.rb:36:in `run_paperclip_callbacks'
paperclip (4.2.0) lib/paperclip/attachment.rb:503:in `post_process'
paperclip (4.2.0) lib/paperclip/attachment.rb:459:in `post_process_file'
paperclip (4.2.0) lib/paperclip/attachment.rb:107:in `assign'
paperclip (4.2.0) lib/paperclip/has_attached_file.rb:66:in `block in define_setter'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:32:in `block in assign_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:26:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:130:in `build'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:465:in `block in assign_nested_attributes_for_collection_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:460:in `assign_nested_attributes_for_collection_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:343:in `photos_attributes='
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `block in assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:36:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:29:in `build'
activerecord (4.1.4) lib/active_record/associations/builder/singular_association.rb:18:in `build_gallery'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:398:in `assign_nested_attributes_for_one_to_one_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:343:in `gallery_attributes='
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `block in assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:36:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
app/controllers/events_controller.rb:6:in `create'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70094497906720/variables" for 127.0.0.1 at 2014-10-01 11:59:06 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 11:59:43 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Another Test Event", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece6.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece6.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece7.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece7.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Unpermitted parameters: custom_gallery_attributes
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78867-6d306v.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78867-8kewqv.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78867-8kewqv.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78867-8kewqv.jpg[0]' -auto-orient -resize "x300" -crop "300x300+53+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78867-8kewqv20141001-78867-1qvcgah'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78867-8kewqv20141001-78867-1qvcgah'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78867-8kewqv.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78867-8kewqv.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78867-8kewqv.jpg[0]' -auto-orient -resize "x100" -crop "100x100+17+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78867-8kewqv20141001-78867-1n0u4zd'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78867-8kewqv20141001-78867-1n0u4zd'
[1m[35m (0.2ms)[0m BEGIN
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78867-1ad4kfq.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78867-1yl2alw.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-78867-ia0ptp.jpg'
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-10-01 17:59:44.655369"], ["title", "Another Test Event"], ["updated_at", "2014-10-01 17:59:44.655369"]]
[1m[35mSQL (0.3ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-10-01 17:59:44.670210"], ["galleryable_id", 8], ["galleryable_type", "Event"], ["updated_at", "2014-10-01 17:59:44.670210"]]
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["caption", ""], ["created_at", "2014-10-01 17:59:44.673524"], ["gallery_id", 9], ["photo_content_type", "image/jpeg"], ["photo_file_name", "piece6.jpg"], ["photo_file_size", 478350], ["photo_updated_at", "2014-10-01 17:59:44.154229"], ["updated_at", "2014-10-01 17:59:44.673524"]]
[1m[35mSQL (0.3ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-10-01 17:59:44.766796"], ["galleryable_id", 8], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2014-10-01 17:59:44.766796"]]
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-10-01 17:59:44.770012"], ["gallery_id", 10], ["updated_at", "2014-10-01 17:59:44.770012"]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 10]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 10]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 10]]
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 8]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 9]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 10]]
[1m[35m (0.7ms)[0m COMMIT
Redirected to http://localhost:3000/events/8
Completed 302 Found in 884ms (ActiveRecord: 9.5ms)
Started GET "/events/8" for 127.0.0.1 at 2014-10-01 11:59:44 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mEvent Load (0.5ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 8]]
[1m[35mPolygallery::Gallery Load (5.7ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 9]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 10]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 9]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 9]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 9]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 9]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 8]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 9]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 10]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 10]]
[1m[35mPolygallery::Photo Load (0.4ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 10]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 10]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 10]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 8]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 9]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 10]]
Rendered events/show.html.haml within layouts/application (45.9ms)
Completed 200 OK in 593ms (Views: 569.6ms | ActiveRecord: 9.1ms)
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:59:45 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 11:59:45 -0600
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 11:59:45 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 11:59:45 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 11:59:45 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 11:59:45 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 11:59:45 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 11:59:45 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 11:59:45 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:59:45 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 11:59:45 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 11:59:45 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 11:59:45 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 11:59:45 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 11:59:45 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 11:59:45 -0600
Started GET "/images/large/missing.png" for 127.0.0.1 at 2014-10-01 11:59:45 -0600
ActionController::RoutingError (No route matches [GET] "/images/large/missing.png"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (7.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (76.1ms)
Started GET "/events/8" for 127.0.0.1 at 2014-10-01 12:00:32 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"8"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 8]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 9]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 10]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 9]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 9]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 9]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 9]]
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 8]]
[1m[35mCACHE (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 9]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 10]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 10]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 10]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 10]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 10]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 8]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 9]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 10]]
Rendered events/show.html.haml within layouts/application (49.9ms)
Completed 200 OK in 284ms (Views: 268.3ms | ActiveRecord: 3.5ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:00:33 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:00:33 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:00:33 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:00:33 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:00:33 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:00:33 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:00:33 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:00:33 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:00:33 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:00:33 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:00:33 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:00:33 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:00:33 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:00:33 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:00:33 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:00:33 -0600
Started GET "/images/large/missing.png" for 127.0.0.1 at 2014-10-01 12:00:33 -0600
ActionController::RoutingError (No route matches [GET] "/images/large/missing.png"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (57.4ms)
Started GET "/events/8" for 127.0.0.1 at 2014-10-01 12:01:02 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mEvent Load (0.4ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 8]]
[1m[35mPolygallery::Gallery Load (0.5ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 9]]
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 10]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 9]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 9]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 9]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 9]]
[1m[35mEvent Load (0.4ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 8]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 9]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 10]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 10]]
[1m[35mPolygallery::Photo Load (0.4ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 10]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 10]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 10]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 8]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 9]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 10]]
Rendered events/show.html.haml within layouts/application (47.1ms)
Completed 200 OK in 295ms (Views: 275.1ms | ActiveRecord: 3.8ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:03 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:03 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:03 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:03 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:03 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:03 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:03 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:03 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:03 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:03 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:03 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:03 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:03 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:03 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:03 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:03 -0600
Started GET "/images/large/missing.png" for 127.0.0.1 at 2014-10-01 12:01:03 -0600
ActionController::RoutingError (No route matches [GET] "/images/large/missing.png"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (51.9ms)
Started GET "/events/8" for 127.0.0.1 at 2014-10-01 12:01:15 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"8"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 8]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 9]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 10]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 9]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 9]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 9]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 9]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 8]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 9]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 10]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 10]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 10]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 10]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 10]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 8]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 9]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 10]]
Rendered events/show.html.haml within layouts/application (45.8ms)
Completed 200 OK in 285ms (Views: 271.5ms | ActiveRecord: 2.6ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:16 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:16 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:16 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:16 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:16 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:16 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:16 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:16 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:16 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:16 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:16 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:16 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:16 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:16 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:16 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:16 -0600
Started GET "/images/large/missing.png" for 127.0.0.1 at 2014-10-01 12:01:16 -0600
ActionController::RoutingError (No route matches [GET] "/images/large/missing.png"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (51.6ms)
Started GET "/events/8" for 127.0.0.1 at 2014-10-01 12:01:25 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 8]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 9]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 10]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 9]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 9]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 9]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 9]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 8]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 9]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 10]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 10]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 10]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 10]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 10]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 8]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 9]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 10]]
Rendered events/show.html.haml within layouts/application (51.4ms)
Completed 200 OK in 284ms (Views: 271.6ms | ActiveRecord: 2.7ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:25 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:25 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:25 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:25 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:25 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:25 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:25 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:25 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:25 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:25 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:25 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:25 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:26 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:26 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:26 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:26 -0600
Started GET "/images/large/missing.png" for 127.0.0.1 at 2014-10-01 12:01:26 -0600
ActionController::RoutingError (No route matches [GET] "/images/large/missing.png"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (56.1ms)
Started GET "/events/8" for 127.0.0.1 at 2014-10-01 12:01:31 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"8"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 8]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 9]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 10]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 9]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 9]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 9]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 9]]
[1m[36mEvent Load (0.8ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 8]]
[1m[35mCACHE (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 9]]
[1m[35mCACHE (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 10]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 10]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 10]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 10]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 10]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 8]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 9]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 10]]
Rendered events/show.html.haml within layouts/application (57.1ms)
Completed 200 OK in 288ms (Views: 274.6ms | ActiveRecord: 3.2ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:31 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:31 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:31 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:31 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:31 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:31 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:31 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:31 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:31 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:31 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:31 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:31 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:31 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:31 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:31 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:31 -0600
Started GET "/images/large/missing.png" for 127.0.0.1 at 2014-10-01 12:01:31 -0600
ActionController::RoutingError (No route matches [GET] "/images/large/missing.png"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (51.3ms)
Started DELETE "/events/8" for 127.0.0.1 at 2014-10-01 12:01:36 -0600
Processing by EventsController#destroy as HTML
Parameters: {"authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "id"=>"8"}
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 8]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 9]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 10]]
[1m[35m (0.1ms)[0m BEGIN
[1m[36mPolygallery::Photo Load (0.1ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 9]]
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 9]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 9]]
[1m[35mEvent Load (0.1ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 8]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 9]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 10]]
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "polygallery_photos" WHERE "polygallery_photos"."id" = $1[0m [["id", 14]]
[1m[35mSQL (0.2ms)[0m DELETE FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 [["id", 9]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 10]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 10]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 10]]
[1m[35mEvent Load (0.1ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 8]]
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 8], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 10]]
[1m[35mSQL (0.2ms)[0m DELETE FROM "polygallery_photos" WHERE "polygallery_photos"."id" = $1 [["id", 15]]
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1[0m [["id", 10]]
[1m[35mSQL (0.2ms)[0m DELETE FROM "events" WHERE "events"."id" = $1 [["id", 8]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/014/original/piece6.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/014/medium/piece6.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/014/thumb/piece6.jpg
Redirected to http://localhost:3000/events
Completed 302 Found in 74ms (ActiveRecord: 4.2ms)
Started GET "/events" for 127.0.0.1 at 2014-10-01 12:01:36 -0600
Processing by EventsController#index as HTML
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "events"
[1m[36mEvent Load (0.5ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."updated_at" DESC[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Load (0.6ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" IN (6, 5, 4, 3, 2, 1)
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 1]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 1]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 1]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 2]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 6]]
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 5]]
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 4]]
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 3]]
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 2]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 1]]
Rendered events/index.html.haml within layouts/application (440.5ms)
Completed 200 OK in 666ms (Views: 654.4ms | ActiveRecord: 11.1ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:37 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:37 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:37 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:37 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:37 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:37 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:37 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:37 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:37 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:37 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:37 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:37 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:37 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:37 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:37 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:37 -0600
Started GET "/events" for 127.0.0.1 at 2014-10-01 12:01:57 -0600
Processing by EventsController#index as HTML
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "events"[0m
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."updated_at" DESC
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 2]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 1]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Load (0.4ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" IN (6, 5, 4, 3, 2, 1)[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 1]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 1]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 1]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 2]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 2]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 2]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 6]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 6]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 6]]
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 5]]
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 4]]
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 3]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 2]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 1]]
Rendered events/index.html.haml within layouts/application (417.6ms)
Completed 200 OK in 650ms (Views: 619.5ms | ActiveRecord: 15.9ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:58 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:58 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:58 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:58 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:58 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:01:58 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:58 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:58 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:58 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:58 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:58 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:58 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:58 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:58 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:58 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:01:58 -0600
Started GET "/events" for 127.0.0.1 at 2014-10-01 12:03:45 -0600
Processing by EventsController#index as HTML
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "events"
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."updated_at" DESC[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Load (0.4ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" IN (6, 5, 4, 3, 2, 1)
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 1]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 1]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 1]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 2]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 6]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 5]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 4]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 3]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 2]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 1]]
Rendered events/index.html.haml within layouts/application (424.5ms)
Completed 200 OK in 657ms (Views: 627.5ms | ActiveRecord: 15.4ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:03:46 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:03:46 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:03:46 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:03:46 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:03:46 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:03:46 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:03:46 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:03:46 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:03:46 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:03:46 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:03:46 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:03:46 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:03:46 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:03:46 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:03:46 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:03:46 -0600
Started GET "/events" for 127.0.0.1 at 2014-10-01 12:04:19 -0600
Processing by EventsController#index as HTML
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "events"[0m
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."updated_at" DESC
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 2]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 1]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Load (0.4ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" IN (6, 5, 4, 3, 2, 1)[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 1]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 1]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 1]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 2]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 2]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 2]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.5ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 6]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 6]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 6]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 5]]
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 4]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 3]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 2]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 1]]
Rendered events/index.html.haml within layouts/application (383.1ms)
Completed 200 OK in 565ms (Views: 553.8ms | ActiveRecord: 10.4ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:04:20 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:04:20 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:04:20 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:04:20 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:04:20 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:20 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:20 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:20 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:20 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:20 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:20 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:20 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:20 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:20 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:20 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:20 -0600
Started GET "/events" for 127.0.0.1 at 2014-10-01 12:04:53 -0600
Processing by EventsController#index as HTML
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "events"
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."updated_at" DESC[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Load (0.4ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" IN (6, 5, 4, 3, 2, 1)
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 1]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 1]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 1]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (5.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 2]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 6]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 5]]
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 4]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 3]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 2]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 1]]
Rendered events/index.html.haml within layouts/application (381.8ms)
Completed 200 OK in 599ms (Views: 583.1ms | ActiveRecord: 14.9ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:04:53 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:04:53 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:53 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:04:53 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:04:53 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:04:53 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:53 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:54 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:54 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:54 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:54 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:54 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:54 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:54 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:54 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:54 -0600
Started GET "/events/new" for 127.0.0.1 at 2014-10-01 12:04:56 -0600
Processing by EventsController#new as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (34.4ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (7.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (92.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (21.7ms)
Rendered events/_simple_form.html.haml (392.0ms)
Rendered events/new.html.haml within layouts/application (413.1ms)
Completed 200 OK in 641ms (Views: 622.2ms | ActiveRecord: 0.0ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:04:56 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:04:56 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:04:56 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-10-01 12:04:56 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:04:56 -0600
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:04:56 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:56 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:56 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:56 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:56 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:56 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:56 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:56 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:57 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:57 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:57 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:04:57 -0600
Started GET "/events/new" for 127.0.0.1 at 2014-10-01 12:05:34 -0600
Processing by EventsController#new as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (22.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.4ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (23.4ms)
Rendered events/_simple_form.html.haml (56.8ms)
Rendered events/new.html.haml within layouts/application (60.3ms)
Completed 200 OK in 307ms (Views: 288.0ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:05:35 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:05:35 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:05:35 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:05:35 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:05:35 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-10-01 12:05:35 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:05:35 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:05:35 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:05:35 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:05:35 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:05:35 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:05:35 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:05:35 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:05:35 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:05:35 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:05:35 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:05:35 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 12:06:06 -0600
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"This one with Custom GALLERY!", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece7.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece7.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece4.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece4.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-t0ei7e.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-113wu3q.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-113wu3q.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-113wu3q.jpg[0]' -auto-orient -resize "x300" -crop "300x300+50+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-113wu3q20141001-78867-1yzpttm'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-113wu3q20141001-78867-1yzpttm'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-113wu3q.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-113wu3q.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-113wu3q.jpg[0]' -auto-orient -resize "x100" -crop "100x100+16+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-113wu3q20141001-78867-xlka24'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-113wu3q20141001-78867-xlka24'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1y3rurc.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-zo9c9w.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-zo9c9w.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-zo9c9w.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-zo9c9w20141001-78867-r52y2q'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-zo9c9w20141001-78867-r52y2q'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-zo9c9w.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-zo9c9w.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-zo9c9w.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-zo9c9w20141001-78867-aj62rc'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-zo9c9w20141001-78867-aj62rc'
[1m[36m (0.2ms)[0m [1mBEGIN[0m
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-sob6na.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1vryjv9.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-12hitu6.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1wo6ng7.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1fo5uek.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-qwqr0p.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-2x7999.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1v7epzp.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-k6avcn.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-113vx1x.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-k0av0a.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-x4b1bk.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1sbhg7p.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1kkz89f.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1np7dk4.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-111zhwi.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-33klh9.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-i6eeso.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-thpk8c.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-nfoaph.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-ajggl7.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1emz6em.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1bui4f3.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-dqadu5.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-xejvjz.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-11wnbqi.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-3naurq.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-2pybar.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1xj40kq.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-11f0s0n.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1av0dqm.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1yxv5b8.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-hhdzy5.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1xbi2f3.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-63o31s.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1k50yh8.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-3nkycc.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-191zinf.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1yor79y.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1bzgj5h.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1iyunaj.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-6myd0a.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-v3aknw.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1fj18om.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1lwix3r.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-g33tsy.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1kfep7x.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-j6oclw.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-w4sou6.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-wxzca9.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1j3t1gz.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1due0sp.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-a2x8a2.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1hdewiq.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1vra3i8.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1j4ynab.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-12dsgpr.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-10xokku.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1sgnw1j.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-16koiba.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-h2dkk8.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1gvwgz1.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-oxczl7.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-sypknk.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-e8n28q.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1d770yp.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-iqgl11.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-11iaey4.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-fgg8r0.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-dfhond.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-zmalw2.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-oihx7h.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1i6lmih.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-9ees5v.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1jsz1y9.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-jufyhz.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-fk1a99.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-12m8iec.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-xfv7cq.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1m4nank.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-e6n4f7.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-j1mzd.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-fhg4ad.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-cesy71.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-snay1b.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-kyyope.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1ia4det.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-ba0ji.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1rsoid2.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-c7fz9h.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-2d85fu.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-11vk62f.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-18h4dgd.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-850eqb.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-78867-1cvg78e.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1ou2hjl.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1irvsuc.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1u3svsb.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1g4tbw3.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-k01t64.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-i949j.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1k5dxgu.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-17t1eer.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-vnlcik.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-zct410.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-16qqy16.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-owj78w.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-wgdju9.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-y0gogo.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-11i8xz2.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-b0tqpt.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1gs51op.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-kkvbzf.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1nxvefz.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1d3mvqj.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-4c8hn1.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-j9uk5e.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-qtaudt.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1vv56p1.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1eau04x.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-9dlt32.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1svoicu.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-3bgscz.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-xe609z.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-186fmre.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-pcib8v.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1xtn2dg.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-14ydyvt.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-tovxke.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-yf2oyw.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1688mf0.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-4gq1ms.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1u539vh.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1ufvz59.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-q9fyxi.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-u1n279.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-2mvds5.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-14l9ypp.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-13qusx6.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-dj8eyu.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1f5qsfv.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-14kuzvz.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1feu4bu.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-fd9byp.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1mtxhs4.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-136qk91.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-e47599.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-e9gbom.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-7hubas.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-kwz770.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1fx4rvy.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-13ximw1.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1faa5nq.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-14sodu2.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-8kh7k5.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-i3x1l7.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1wi0wq7.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1q2bf5a.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1e8fk78.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-kucw0p.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-vrkrds.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-7g5z74.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-puatnh.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1mpzo40.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1qmr1na.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1m0mlnt.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1i7xt73.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1d71ws8.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-xlgwf6.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-457oap.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-jn8gdt.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1vfdl3i.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-lxqzk0.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-8mmtlu.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1fi8ekq.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-11hyqiz.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-tws7z2.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-hdfmo0.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1ig2qh7.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1w8zgfy.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-k8pmvf.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-pa4y5w.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-makmmf.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-o4vwjp.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-kamfnz.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-cqy1lk.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-iz3vsn.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1h7od92.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-eql2f0.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-16suxu0.jpg'
[1m[35mSQL (0.3ms)[0m INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-10-01 18:06:13.298372"], ["title", "This one with Custom GALLERY!"], ["updated_at", "2014-10-01 18:06:13.298372"]]
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2014-10-01 18:06:13.302398"], ["galleryable_id", 9], ["galleryable_type", "Event"], ["updated_at", "2014-10-01 18:06:13.302398"]]
[1m[35mSQL (0.2ms)[0m INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", ""], ["created_at", "2014-10-01 18:06:13.307783"], ["gallery_id", 11], ["photo_content_type", "image/jpeg"], ["photo_file_name", "piece7.jpg"], ["photo_file_size", 263091], ["photo_updated_at", "2014-10-01 18:06:06.131509"], ["updated_at", "2014-10-01 18:06:13.307783"]]
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", "2014-10-01 18:06:13.461810"], ["galleryable_id", 9], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2014-10-01 18:06:13.461810"]]
[1m[35mSQL (0.3ms)[0m INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", ""], ["created_at", "2014-10-01 18:06:13.464499"], ["gallery_id", 12], ["photo_content_type", "image/jpeg"], ["photo_file_name", "piece4.jpg"], ["photo_file_size", 300340], ["photo_updated_at", "2014-10-01 18:06:06.607608"], ["updated_at", "2014-10-01 18:06:13.464499"]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 12]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 12]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 12]]
[1m[35mEvent Load (0.1ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 9]]
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 9], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 11]]
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 9], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 12]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1uynbe8.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-ryb4rd.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-ryb4rd.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-ryb4rd.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-ryb4rd20141001-78867-1tyy14m'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-ryb4rd20141001-78867-1tyy14m'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-ryb4rd.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-ryb4rd.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-ryb4rd.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-ryb4rd20141001-78867-1adchda'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-ryb4rd20141001-78867-1adchda'
[1m[36mSQL (0.3ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 17[0m [["photo_file_name", "piece4.jpg"], ["photo_updated_at", "2014-10-01 18:06:13.669887"], ["updated_at", "2014-10-01 18:06:14.120485"]]
[1m[35m (15.8ms)[0m COMMIT
Redirected to http://localhost:3000/events/9
Completed 302 Found in 8110ms (ActiveRecord: 19.3ms)
Started GET "/events/9" for 127.0.0.1 at 2014-10-01 12:06:14 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 9]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 11]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 12]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 11]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 11]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 11]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 11]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 9]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 9], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 11]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 9], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 12]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 12]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 12]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 12]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 12]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 9]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 11]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 9], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 12]]
Rendered events/show.html.haml within layouts/application (45.7ms)
Completed 200 OK in 294ms (Views: 279.9ms | ActiveRecord: 2.2ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:06:14 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:06:14 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:06:14 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:06:14 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:06:14 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:06:14 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:06:14 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:06:14 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:06:14 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:06:14 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:06:14 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:06:14 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:06:14 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:06:14 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:06:14 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:06:14 -0600
Started GET "/system/polygallery/photos/photos/000/000/017/large/piece4.jpg?1412186773" for 127.0.0.1 at 2014-10-01 12:06:14 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/017/large/piece4.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (53.0ms)
Started DELETE "/events/9" for 127.0.0.1 at 2014-10-01 12:07:43 -0600
Processing by EventsController#destroy as HTML
Parameters: {"authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "id"=>"9"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 9]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 9], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 11]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 9], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 12]]
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35mPolygallery::Photo Load (0.1ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 11]]
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
Completed 500 Internal Server Error in 74ms
ArgumentError - wrong number of arguments (1 for 0):
paperclip (4.2.0) lib/paperclip/attachment.rb:197:in `styles'
paperclip (4.2.0) lib/paperclip/attachment.rb:552:in `queue_all_for_delete'
paperclip (4.2.0) lib/paperclip/has_attached_file.rb:90:in `block in add_active_record_callbacks'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:160:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/callbacks.rb:292:in `destroy'
activerecord (4.1.4) lib/active_record/transactions.rb:263:in `block in destroy'
activerecord (4.1.4) lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:199:in `transaction'
activerecord (4.1.4) lib/active_record/transactions.rb:208:in `transaction'
activerecord (4.1.4) lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
activerecord (4.1.4) lib/active_record/transactions.rb:263:in `destroy'
activerecord (4.1.4) lib/active_record/persistence.rb:167:in `destroy!'
activerecord (4.1.4) lib/active_record/associations/has_many_association.rb:112:in `delete_records'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:492:in `remove_records'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:485:in `block in delete_or_destroy'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:168:in `block in transaction'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:199:in `transaction'
activerecord (4.1.4) lib/active_record/transactions.rb:208:in `transaction'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:167:in `transaction'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:485:in `delete_or_destroy'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:270:in `destroy'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:208:in `destroy_all'
activerecord (4.1.4) lib/active_record/associations/has_many_association.rb:26:in `handle_dependency'
activerecord (4.1.4) lib/active_record/associations/builder/association.rb:135:in `block in add_before_destroy_callbacks'
activesupport (4.1.4) lib/active_support/callbacks.rb:440:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:160:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/callbacks.rb:292:in `destroy'
activerecord (4.1.4) lib/active_record/transactions.rb:263:in `block in destroy'
activerecord (4.1.4) lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:199:in `transaction'
activerecord (4.1.4) lib/active_record/transactions.rb:208:in `transaction'
activerecord (4.1.4) lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
activerecord (4.1.4) lib/active_record/transactions.rb:263:in `destroy'
activerecord (4.1.4) lib/active_record/associations/has_one_association.rb:59:in `delete'
activerecord (4.1.4) lib/active_record/associations/has_one_association.rb:20:in `handle_dependency'
activerecord (4.1.4) lib/active_record/associations/builder/association.rb:135:in `block in add_before_destroy_callbacks'
activesupport (4.1.4) lib/active_support/callbacks.rb:440:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:160:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/callbacks.rb:292:in `destroy'
activerecord (4.1.4) lib/active_record/transactions.rb:263:in `block in destroy'
activerecord (4.1.4) lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
activerecord (4.1.4) lib/active_record/transactions.rb:208:in `transaction'
activerecord (4.1.4) lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
activerecord (4.1.4) lib/active_record/transactions.rb:263:in `destroy'
app/controllers/events_controller.rb:39:in `destroy'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70346720451100/variables" for 127.0.0.1 at 2014-10-01 12:07:44 -0600
Started POST "/__better_errors/70346720451100/variables" for 127.0.0.1 at 2014-10-01 12:07:53 -0600
Started POST "/__better_errors/70346720451100/variables" for 127.0.0.1 at 2014-10-01 12:08:00 -0600
Started POST "/__better_errors/70346720451100/variables" for 127.0.0.1 at 2014-10-01 12:08:00 -0600
Started POST "/__better_errors/70346720451100/variables" for 127.0.0.1 at 2014-10-01 12:08:01 -0600
Started POST "/__better_errors/70346720451100/variables" for 127.0.0.1 at 2014-10-01 12:08:02 -0600
Started POST "/__better_errors/70346720451100/variables" for 127.0.0.1 at 2014-10-01 12:08:04 -0600
Started POST "/__better_errors/70346720451100/variables" for 127.0.0.1 at 2014-10-01 12:08:05 -0600
Started POST "/__better_errors/70346720451100/variables" for 127.0.0.1 at 2014-10-01 12:08:06 -0600
Started POST "/__better_errors/70346720451100/variables" for 127.0.0.1 at 2014-10-01 12:08:07 -0600
[1m[35mPolygallery::Photo Load (0.4ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos"
Started POST "/__better_errors/70346720451100/variables" for 127.0.0.1 at 2014-10-01 12:08:08 -0600
Started POST "/__better_errors/70346720451100/variables" for 127.0.0.1 at 2014-10-01 12:08:10 -0600
Started POST "/__better_errors/70346720451100/variables" for 127.0.0.1 at 2014-10-01 12:08:11 -0600
Started POST "/__better_errors/70346720451100/variables" for 127.0.0.1 at 2014-10-01 12:08:14 -0600
Started POST "/__better_errors/70346720451100/variables" for 127.0.0.1 at 2014-10-01 12:08:24 -0600
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 11]]
Started POST "/__better_errors/70346720451100/variables" for 127.0.0.1 at 2014-10-01 12:08:58 -0600
Started POST "/__better_errors/70346720451100/variables" for 127.0.0.1 at 2014-10-01 12:09:01 -0600
Started POST "/__better_errors/70346720451100/variables" for 127.0.0.1 at 2014-10-01 12:09:11 -0600
Started POST "/__better_errors/70346720451100/variables" for 127.0.0.1 at 2014-10-01 12:09:14 -0600
Started DELETE "/events/9" for 127.0.0.1 at 2014-10-01 12:09:31 -0600
Processing by EventsController#destroy as HTML
Parameters: {"authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "id"=>"9"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 9]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 9], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 11]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 9], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 12]]
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 11]]
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "polygallery_photos" WHERE "polygallery_photos"."id" = $1[0m [["id", 16]]
[1m[35mSQL (0.2ms)[0m DELETE FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 [["id", 11]]
[1m[36mPolygallery::Photo Load (0.1ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 12]]
[1m[35mSQL (0.3ms)[0m DELETE FROM "polygallery_photos" WHERE "polygallery_photos"."id" = $1 [["id", 17]]
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1[0m [["id", 12]]
[1m[35mSQL (0.2ms)[0m DELETE FROM "events" WHERE "events"."id" = $1 [["id", 9]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/016/original/piece7.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/016/medium/piece7.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/016/thumb/piece7.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/017/original/piece4.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/017/medium/piece4.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/017/thumb/piece4.jpg
Redirected to http://localhost:3000/events
Completed 302 Found in 143ms (ActiveRecord: 7.4ms)
Started GET "/events" for 127.0.0.1 at 2014-10-01 12:09:32 -0600
Processing by EventsController#index as HTML
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "events"
[1m[36mEvent Load (0.6ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."updated_at" DESC[0m
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Load (0.5ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" IN (6, 5, 4, 3, 2, 1)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 6]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 5]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 4]]
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 3]]
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 2]]
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 1]]
Rendered events/index.html.haml within layouts/application (106.2ms)
Completed 200 OK in 343ms (Views: 331.2ms | ActiveRecord: 11.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:09:32 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:09:32 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:09:32 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:09:32 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:09:32 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:09:32 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:09:32 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:09:32 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:09:32 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:09:32 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:09:32 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:09:32 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:09:32 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:09:32 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:09:32 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:09:32 -0600
Started GET "/events/new" for 127.0.0.1 at 2014-10-01 12:20:16 -0600
Processing by EventsController#new as HTML
Completed 500 Internal Server Error in 161ms
SyntaxError - /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/photo.rb:5: syntax error, unexpected '|'
... :styles => -> {|a| raise "BOOM" }, # Gallery:...
... ^
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/photo.rb:5: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
... :styles => -> {|a| raise "BOOM" }, # Gallery::DEFAULTS[...
... ^:
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/inflector/methods.rb:240:in `block in constantize'
activesupport (4.1.4) lib/active_support/inflector/methods.rb:236:in `constantize'
activesupport (4.1.4) lib/active_support/dependencies.rb:552:in `get'
activesupport (4.1.4) lib/active_support/dependencies.rb:583:in `constantize'
activerecord (4.1.4) lib/active_record/inheritance.rb:124:in `block in compute_type'
activerecord (4.1.4) lib/active_record/inheritance.rb:122:in `compute_type'
activerecord (4.1.4) lib/active_record/reflection.rb:221:in `klass'
activerecord (4.1.4) lib/active_record/associations/association.rb:118:in `klass'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:36:in `reader'
activerecord (4.1.4) lib/active_record/associations/builder/association.rb:110:in `photos'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:17:in `block in has_polyphotos'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:201:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:29:in `build'
activerecord (4.1.4) lib/active_record/associations/builder/singular_association.rb:18:in `build_gallery'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:36:in `block in has_polygallery'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:201:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
app/controllers/events_controller.rb:6:in `new'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70346691928420/variables" for 127.0.0.1 at 2014-10-01 12:20:16 -0600
Started GET "/pieces/83" for 127.0.0.1 at 2014-10-01 12:21:08 -0600
ActionController::RoutingError (No route matches [GET] "/pieces/83"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (53.6ms)
Started GET "/events/new" for 127.0.0.1 at 2014-10-01 12:21:13 -0600
Processing by EventsController#new as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (23.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (15.2ms)
Rendered events/_simple_form.html.haml (65.9ms)
Rendered events/new.html.haml within layouts/application (78.0ms)
Completed 200 OK in 419ms (Views: 358.9ms | ActiveRecord: 3.6ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:21:14 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:21:14 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:21:14 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:21:14 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:21:14 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-10-01 12:21:14 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:21:14 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:21:14 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:21:14 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:21:14 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:21:14 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:21:14 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:21:14 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:21:14 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:21:14 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:21:14 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:21:14 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 12:21:33 -0600
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Test Event with Custom Gallery", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece4.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece4.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece5.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece5.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-w1besr.jpg'
Completed 500 Internal Server Error in 81ms
RuntimeError - BOOM:
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/photo.rb:5:in `block in '
paperclip (4.2.0) lib/paperclip/attachment.rb:197:in `styles'
paperclip (4.2.0) lib/paperclip/attachment.rb:513:in `post_process_styles'
paperclip (4.2.0) lib/paperclip/attachment.rb:506:in `block (2 levels) in post_process'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
paperclip (4.2.0) lib/paperclip/callbacks.rb:36:in `run_paperclip_callbacks'
paperclip (4.2.0) lib/paperclip/attachment.rb:504:in `block in post_process'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
paperclip (4.2.0) lib/paperclip/callbacks.rb:36:in `run_paperclip_callbacks'
paperclip (4.2.0) lib/paperclip/attachment.rb:503:in `post_process'
paperclip (4.2.0) lib/paperclip/attachment.rb:459:in `post_process_file'
paperclip (4.2.0) lib/paperclip/attachment.rb:107:in `assign'
paperclip (4.2.0) lib/paperclip/has_attached_file.rb:66:in `block in define_setter'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:32:in `block in assign_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:26:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:130:in `build'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:465:in `block in assign_nested_attributes_for_collection_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:460:in `assign_nested_attributes_for_collection_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:343:in `photos_attributes='
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `block in assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:36:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:29:in `build'
activerecord (4.1.4) lib/active_record/associations/builder/singular_association.rb:18:in `build_gallery'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:398:in `assign_nested_attributes_for_one_to_one_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:343:in `gallery_attributes='
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `block in assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:36:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
app/controllers/events_controller.rb:10:in `create'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70346692083120/variables" for 127.0.0.1 at 2014-10-01 12:21:33 -0600
Started POST "/__better_errors/70346692083120/variables" for 127.0.0.1 at 2014-10-01 12:21:37 -0600
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos"[0m
Started POST "/__better_errors/70346692083120/eval" for 127.0.0.1 at 2014-10-01 12:21:40 -0600
Started POST "/__better_errors/70346692083120/eval" for 127.0.0.1 at 2014-10-01 12:22:02 -0600
Started POST "/__better_errors/70346692083120/eval" for 127.0.0.1 at 2014-10-01 12:22:17 -0600
Started POST "/__better_errors/70346692083120/eval" for 127.0.0.1 at 2014-10-01 12:22:21 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 12:29:29 -0600
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Test Event with Custom Gallery", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece4.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece4.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece5.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece5.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-3schca.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1y4hpcg.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1y4hpcg.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1y4hpcg.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1y4hpcg20141001-78867-19ljjsx'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1y4hpcg20141001-78867-19ljjsx'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1y4hpcg.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1y4hpcg.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1y4hpcg.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1y4hpcg20141001-78867-1xz8xpo'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1y4hpcg20141001-78867-1xz8xpo'
Completed 500 Internal Server Error in 1095ms
RuntimeError - BOOM:
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/photo.rb:32:in `init_attachment'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:201:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:130:in `build'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:465:in `block in assign_nested_attributes_for_collection_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:460:in `assign_nested_attributes_for_collection_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:343:in `photos_attributes='
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `block in assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:36:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:29:in `build'
activerecord (4.1.4) lib/active_record/associations/builder/singular_association.rb:18:in `build_gallery'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:398:in `assign_nested_attributes_for_one_to_one_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:343:in `gallery_attributes='
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `block in assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:36:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
app/controllers/events_controller.rb:10:in `create'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70346692996580/variables" for 127.0.0.1 at 2014-10-01 12:29:31 -0600
Started POST "/__better_errors/70346692996580/variables" for 127.0.0.1 at 2014-10-01 12:29:34 -0600
Started POST "/__better_errors/70346692996580/eval" for 127.0.0.1 at 2014-10-01 12:29:47 -0600
Started POST "/__better_errors/70346692996580/eval" for 127.0.0.1 at 2014-10-01 12:29:51 -0600
Started POST "/__better_errors/70346692996580/eval" for 127.0.0.1 at 2014-10-01 12:31:31 -0600
Started POST "/__better_errors/70346692996580/eval" for 127.0.0.1 at 2014-10-01 12:31:42 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 12:34:30 -0600
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Test Event with Custom Gallery", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece4.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece4.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece5.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece5.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-oedblj.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-s7ep37.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-s7ep37.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-s7ep37.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-s7ep3720141001-78867-1qxjuii'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-s7ep3720141001-78867-1qxjuii'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-s7ep37.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-s7ep37.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-s7ep37.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-s7ep3720141001-78867-1brkmiw'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-s7ep3720141001-78867-1brkmiw'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-1vngo4x.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-29l3z9.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-29l3z9.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-29l3z9.jpg[0]' -auto-orient -resize "x300" -crop "300x300+64+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-29l3z920141001-78867-3nn9wl'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-29l3z920141001-78867-3nn9wl'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-29l3z9.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-29l3z9.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-29l3z9.jpg[0]' -auto-orient -resize "x100" -crop "100x100+21+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-29l3z920141001-78867-1wlncty'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-29l3z920141001-78867-1wlncty'
[1m[35m (0.2ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
Completed 500 Internal Server Error in 1433ms
RuntimeError - BOOM:
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/photo.rb:33:in `init_attachment'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:160:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activemodel (4.1.4) lib/active_model/validations/callbacks.rb:111:in `run_validations!'
activemodel (4.1.4) lib/active_model/validations.rb:317:in `valid?'
activerecord (4.1.4) lib/active_record/validations.rb:70:in `valid?'
activerecord (4.1.4) lib/active_record/autosave_association.rb:308:in `association_valid?'
activerecord (4.1.4) lib/active_record/autosave_association.rb:297:in `block in validate_collection_association'
activerecord (4.1.4) lib/active_record/autosave_association.rb:297:in `validate_collection_association'
activerecord (4.1.4) lib/active_record/autosave_association.rb:209:in `block in add_autosave_association_callbacks'
activerecord (4.1.4) lib/active_record/autosave_association.rb:157:in `block in define_non_cyclic_method'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:184:in `block in simple'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activemodel (4.1.4) lib/active_model/validations.rb:376:in `run_validations!'
activemodel (4.1.4) lib/active_model/validations/callbacks.rb:111:in `block in run_validations!'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
activemodel (4.1.4) lib/active_model/validations/callbacks.rb:111:in `run_validations!'
activemodel (4.1.4) lib/active_model/validations.rb:317:in `valid?'
activerecord (4.1.4) lib/active_record/validations.rb:70:in `valid?'
activerecord (4.1.4) lib/active_record/autosave_association.rb:308:in `association_valid?'
activerecord (4.1.4) lib/active_record/autosave_association.rb:288:in `validate_single_association'
activerecord (4.1.4) lib/active_record/autosave_association.rb:209:in `block in add_autosave_association_callbacks'
activerecord (4.1.4) lib/active_record/autosave_association.rb:157:in `block in define_non_cyclic_method'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:184:in `block in simple'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activemodel (4.1.4) lib/active_model/validations.rb:376:in `run_validations!'
activemodel (4.1.4) lib/active_model/validations/callbacks.rb:111:in `block in run_validations!'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
activemodel (4.1.4) lib/active_model/validations/callbacks.rb:111:in `run_validations!'
activemodel (4.1.4) lib/active_model/validations.rb:317:in `valid?'
activerecord (4.1.4) lib/active_record/validations.rb:70:in `valid?'
activerecord (4.1.4) lib/active_record/validations.rb:77:in `perform_validations'
activerecord (4.1.4) lib/active_record/validations.rb:51:in `save'
activerecord (4.1.4) lib/active_record/attribute_methods/dirty.rb:21:in `save'
activerecord (4.1.4) lib/active_record/transactions.rb:268:in `block (2 levels) in save'
activerecord (4.1.4) lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
activerecord (4.1.4) lib/active_record/transactions.rb:208:in `transaction'
activerecord (4.1.4) lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
activerecord (4.1.4) lib/active_record/transactions.rb:268:in `block in save'
activerecord (4.1.4) lib/active_record/transactions.rb:283:in `rollback_active_record_state!'
activerecord (4.1.4) lib/active_record/transactions.rb:267:in `save'
app/controllers/events_controller.rb:11:in `create'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70346694472420/variables" for 127.0.0.1 at 2014-10-01 12:34:32 -0600
Started POST "/__better_errors/70346694472420/variables" for 127.0.0.1 at 2014-10-01 12:34:35 -0600
Started POST "/__better_errors/70346694472420/eval" for 127.0.0.1 at 2014-10-01 12:34:38 -0600
Started POST "/__better_errors/70346694472420/eval" for 127.0.0.1 at 2014-10-01 12:34:41 -0600
Started POST "/__better_errors/70346694472420/eval" for 127.0.0.1 at 2014-10-01 12:34:46 -0600
Started POST "/__better_errors/70346694472420/eval" for 127.0.0.1 at 2014-10-01 12:34:53 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 12:35:42 -0600
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Test Event with Custom Gallery", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece4.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece4.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece5.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece5.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-lsw0i8.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1juwghx.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1juwghx.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1juwghx.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1juwghx20141001-78867-36ehhr'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1juwghx20141001-78867-36ehhr'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1juwghx.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1juwghx.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1juwghx.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1juwghx20141001-78867-gcj697'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1juwghx20141001-78867-gcj697'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-7s81cy.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-111nd5f.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-111nd5f.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-111nd5f.jpg[0]' -auto-orient -resize "x300" -crop "300x300+64+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-111nd5f20141001-78867-3qgnx9'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-111nd5f20141001-78867-3qgnx9'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-111nd5f.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-111nd5f.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-111nd5f.jpg[0]' -auto-orient -resize "x100" -crop "100x100+21+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-111nd5f20141001-78867-1wiucj7'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-111nd5f20141001-78867-1wiucj7'
[1m[35m (0.2ms)[0m BEGIN
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1t6ye4c.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1swpy6e.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-gy5i6t.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1s81g59.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-1h623c8.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-y0zt01.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-1ocmg4k.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-19181xz.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-1h17eb6.jpg'
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-10-01 18:35:43.738066"], ["title", "Test Event with Custom Gallery"], ["updated_at", "2014-10-01 18:35:43.738066"]]
[1m[35mSQL (0.4ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-10-01 18:35:43.743304"], ["galleryable_id", 10], ["galleryable_type", "Event"], ["updated_at", "2014-10-01 18:35:43.743304"]]
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["caption", ""], ["created_at", "2014-10-01 18:35:43.747920"], ["gallery_id", 13], ["photo_content_type", "image/jpeg"], ["photo_file_name", "piece4.jpg"], ["photo_file_size", 300340], ["photo_updated_at", "2014-10-01 18:35:42.433881"], ["updated_at", "2014-10-01 18:35:43.747920"]]
[1m[35mSQL (0.5ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-10-01 18:35:43.901479"], ["galleryable_id", 10], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2014-10-01 18:35:43.901479"]]
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["caption", ""], ["created_at", "2014-10-01 18:35:43.906411"], ["gallery_id", 14], ["photo_content_type", "image/jpeg"], ["photo_file_name", "piece5.jpg"], ["photo_file_size", 335109], ["photo_updated_at", "2014-10-01 18:35:43.066510"], ["updated_at", "2014-10-01 18:35:43.906411"]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 14]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 14]]
[1m[35mPolygallery::Photo Exists (0.4ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 14]]
[1m[36mEvent Load (0.4ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 10]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 13]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 14]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-5vasjx.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-1l8r153.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-1l8r153.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-1l8r153.jpg[0]' -auto-orient -resize "x300" -crop "300x300+64+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-1l8r15320141001-78867-19p3acz'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-1l8r15320141001-78867-19p3acz'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-1l8r153.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-1l8r153.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-1l8r153.jpg[0]' -auto-orient -resize "x100" -crop "100x100+21+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-1l8r15320141001-78867-j3edfa'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-1l8r15320141001-78867-j3edfa'
[1m[35mSQL (0.5ms)[0m UPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 19 [["photo_file_name", "piece5.jpg"], ["photo_updated_at", "2014-10-01 18:35:44.041707"], ["updated_at", "2014-10-01 18:35:44.554436"]]
[1m[36m (15.9ms)[0m [1mCOMMIT[0m
Redirected to http://localhost:3000/events/10
Completed 302 Found in 2291ms (ActiveRecord: 29.0ms)
Started GET "/events/10" for 127.0.0.1 at 2014-10-01 12:35:44 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"10"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 10]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 10], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.5ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 13]]
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 10], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 14]]
[1m[36mCACHE (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 13]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 13]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 13]]
[1m[35mCACHE (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 13]]
[1m[36mEvent Load (0.4ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 10]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 13]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 14]]
[1m[35mCACHE (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 14]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 14]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 14]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 14]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 10]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 10], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 13]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 10], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 14]]
Rendered events/show.html.haml within layouts/application (52.5ms)
Completed 200 OK in 387ms (Views: 364.9ms | ActiveRecord: 4.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:35:45 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:35:45 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:35:45 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:35:45 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:35:45 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:35:45 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:35:45 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:35:45 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:35:45 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:35:45 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:35:45 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:35:45 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:35:45 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:35:45 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:35:45 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:35:45 -0600
Started GET "/system/polygallery/photos/photos/000/000/019/large/piece5.jpg?1412188544" for 127.0.0.1 at 2014-10-01 12:35:45 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/019/large/piece5.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.1ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (61.5ms)
Started DELETE "/events/10" for 127.0.0.1 at 2014-10-01 12:36:30 -0600
Processing by EventsController#destroy as HTML
Parameters: {"authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "id"=>"10"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 10]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 13]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 14]]
[1m[35m (0.1ms)[0m BEGIN
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 13]]
[1m[35m (0.2ms)[0m ROLLBACK
Completed 500 Internal Server Error in 138ms
ArgumentError - wrong number of arguments (1 for 0):
paperclip (4.2.0) lib/paperclip/attachment.rb:197:in `styles'
paperclip (4.2.0) lib/paperclip/attachment.rb:552:in `queue_all_for_delete'
paperclip (4.2.0) lib/paperclip/has_attached_file.rb:90:in `block in add_active_record_callbacks'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:160:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/callbacks.rb:292:in `destroy'
activerecord (4.1.4) lib/active_record/transactions.rb:263:in `block in destroy'
activerecord (4.1.4) lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:199:in `transaction'
activerecord (4.1.4) lib/active_record/transactions.rb:208:in `transaction'
activerecord (4.1.4) lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
activerecord (4.1.4) lib/active_record/transactions.rb:263:in `destroy'
activerecord (4.1.4) lib/active_record/persistence.rb:167:in `destroy!'
activerecord (4.1.4) lib/active_record/associations/has_many_association.rb:112:in `delete_records'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:492:in `remove_records'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:485:in `block in delete_or_destroy'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:168:in `block in transaction'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:199:in `transaction'
activerecord (4.1.4) lib/active_record/transactions.rb:208:in `transaction'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:167:in `transaction'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:485:in `delete_or_destroy'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:270:in `destroy'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:208:in `destroy_all'
activerecord (4.1.4) lib/active_record/associations/has_many_association.rb:26:in `handle_dependency'
activerecord (4.1.4) lib/active_record/associations/builder/association.rb:135:in `block in add_before_destroy_callbacks'
activesupport (4.1.4) lib/active_support/callbacks.rb:440:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:160:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/callbacks.rb:292:in `destroy'
activerecord (4.1.4) lib/active_record/transactions.rb:263:in `block in destroy'
activerecord (4.1.4) lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:199:in `transaction'
activerecord (4.1.4) lib/active_record/transactions.rb:208:in `transaction'
activerecord (4.1.4) lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
activerecord (4.1.4) lib/active_record/transactions.rb:263:in `destroy'
activerecord (4.1.4) lib/active_record/associations/has_one_association.rb:59:in `delete'
activerecord (4.1.4) lib/active_record/associations/has_one_association.rb:20:in `handle_dependency'
activerecord (4.1.4) lib/active_record/associations/builder/association.rb:135:in `block in add_before_destroy_callbacks'
activesupport (4.1.4) lib/active_support/callbacks.rb:440:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:160:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/callbacks.rb:292:in `destroy'
activerecord (4.1.4) lib/active_record/transactions.rb:263:in `block in destroy'
activerecord (4.1.4) lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
activerecord (4.1.4) lib/active_record/transactions.rb:208:in `transaction'
activerecord (4.1.4) lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
activerecord (4.1.4) lib/active_record/transactions.rb:263:in `destroy'
app/controllers/events_controller.rb:39:in `destroy'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70346705733280/variables" for 127.0.0.1 at 2014-10-01 12:36:30 -0600
Started DELETE "/events/10" for 127.0.0.1 at 2014-10-01 12:36:42 -0600
Processing by EventsController#destroy as HTML
Parameters: {"authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "id"=>"10"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 10]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 13]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 14]]
[1m[35m (0.1ms)[0m BEGIN
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 13]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 13]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 13]]
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 10]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 10], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 13]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 10], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 14]]
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "polygallery_photos" WHERE "polygallery_photos"."id" = $1[0m [["id", 18]]
[1m[35mSQL (0.2ms)[0m DELETE FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 [["id", 13]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 14]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 14]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 14]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 10]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 10], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 10], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 14]]
[1m[35mSQL (0.3ms)[0m DELETE FROM "polygallery_photos" WHERE "polygallery_photos"."id" = $1 [["id", 19]]
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1[0m [["id", 14]]
[1m[35mSQL (0.2ms)[0m DELETE FROM "events" WHERE "events"."id" = $1 [["id", 10]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/018/original/piece4.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/018/medium/piece4.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/018/thumb/piece4.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/019/original/piece5.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/019/medium/piece5.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/019/thumb/piece5.jpg
Redirected to http://localhost:3000/events
Completed 302 Found in 191ms (ActiveRecord: 10.9ms)
Started GET "/events" for 127.0.0.1 at 2014-10-01 12:36:42 -0600
Processing by EventsController#index as HTML
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "events"
[1m[36mEvent Load (0.4ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."updated_at" DESC[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Load (0.5ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" IN (6, 5, 4, 3, 2, 1)
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 1]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 1]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 1]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 2]]
[1m[36mEvent Load (0.4ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 6]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 5]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 4]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 3]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 2]]
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 1]]
Rendered events/index.html.haml within layouts/application (388.4ms)
Completed 200 OK in 593ms (Views: 580.2ms | ActiveRecord: 11.7ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:36:43 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:36:43 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:36:43 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:43 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:36:43 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:36:43 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:43 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:43 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:43 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:43 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:43 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:43 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:43 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:43 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:43 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:43 -0600
Started GET "/events/new" for 127.0.0.1 at 2014-10-01 12:36:47 -0600
Processing by EventsController#new as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (35.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (18.7ms)
Rendered events/_simple_form.html.haml (81.7ms)
Rendered events/new.html.haml within layouts/application (93.2ms)
Completed 200 OK in 344ms (Views: 327.0ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:36:47 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:36:47 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:36:47 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:36:47 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:36:47 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-10-01 12:36:47 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:47 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:47 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:47 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:47 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:47 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:47 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:47 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:47 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:47 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:47 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:36:47 -0600
Started GET "/events/new" for 127.0.0.1 at 2014-10-01 12:37:51 -0600
Processing by EventsController#new as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (18.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (17.7ms)
Rendered events/_simple_form.html.haml (103.1ms)
Rendered events/new.html.haml within layouts/application (104.3ms)
Completed 200 OK in 398ms (Views: 328.7ms | ActiveRecord: 5.7ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:37:52 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:37:52 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-10-01 12:37:52 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:37:52 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:37:52 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:37:52 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:37:52 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:37:52 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:37:52 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:37:52 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:37:52 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:37:52 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:37:52 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:37:52 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:37:52 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:37:52 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:37:52 -0600
Started GET "/events/new" for 127.0.0.1 at 2014-10-01 12:38:00 -0600
Processing by EventsController#new as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (16.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (17.5ms)
Rendered events/_simple_form.html.haml (45.0ms)
Rendered events/new.html.haml within layouts/application (46.1ms)
Completed 200 OK in 282ms (Views: 268.6ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:38:00 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:38:00 -0600
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:38:00 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-10-01 12:38:00 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:38:00 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:38:00 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:00 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:00 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:00 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:00 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:00 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:00 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:00 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:00 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:00 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:00 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:00 -0600
Started GET "/events/new" for 127.0.0.1 at 2014-10-01 12:38:06 -0600
Processing by EventsController#new as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (19.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (19.0ms)
Rendered events/_simple_form.html.haml (55.3ms)
Rendered events/new.html.haml within layouts/application (56.7ms)
Completed 200 OK in 419ms (Views: 286.3ms | ActiveRecord: 5.2ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:38:07 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:38:07 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:38:07 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:38:07 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:38:07 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-10-01 12:38:07 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:07 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:07 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:07 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:07 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:07 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:07 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:07 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:07 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:07 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:07 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:07 -0600
Started GET "/events/new" for 127.0.0.1 at 2014-10-01 12:38:10 -0600
Processing by EventsController#new as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (17.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (70.4ms)
Rendered events/_simple_form.html.haml (103.6ms)
Rendered events/new.html.haml within layouts/application (104.7ms)
Completed 200 OK in 339ms (Views: 275.9ms | ActiveRecord: 4.3ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:38:11 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:38:11 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:38:11 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:38:11 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:38:11 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-10-01 12:38:11 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:11 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:11 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:11 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:11 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:11 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:11 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:11 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:11 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:11 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:11 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:38:11 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 12:38:29 -0600
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Trying again", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece5.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece5.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece4.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece4.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-fk111e.jpg'
Completed 500 Internal Server Error in 88ms
ArgumentError - wrong number of arguments (1 for 0):
paperclip (4.2.0) lib/paperclip/attachment.rb:197:in `styles'
paperclip (4.2.0) lib/paperclip/attachment.rb:513:in `post_process_styles'
paperclip (4.2.0) lib/paperclip/attachment.rb:506:in `block (2 levels) in post_process'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
paperclip (4.2.0) lib/paperclip/callbacks.rb:36:in `run_paperclip_callbacks'
paperclip (4.2.0) lib/paperclip/attachment.rb:504:in `block in post_process'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
paperclip (4.2.0) lib/paperclip/callbacks.rb:36:in `run_paperclip_callbacks'
paperclip (4.2.0) lib/paperclip/attachment.rb:503:in `post_process'
paperclip (4.2.0) lib/paperclip/attachment.rb:459:in `post_process_file'
paperclip (4.2.0) lib/paperclip/attachment.rb:107:in `assign'
paperclip (4.2.0) lib/paperclip/has_attached_file.rb:66:in `block in define_setter'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:32:in `block in assign_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:26:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:130:in `build'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:465:in `block in assign_nested_attributes_for_collection_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:460:in `assign_nested_attributes_for_collection_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:343:in `photos_attributes='
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `block in assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:36:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:29:in `build'
activerecord (4.1.4) lib/active_record/associations/builder/singular_association.rb:18:in `build_gallery'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:398:in `assign_nested_attributes_for_one_to_one_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:343:in `gallery_attributes='
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `block in assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:36:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
app/controllers/events_controller.rb:10:in `create'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70346720482640/variables" for 127.0.0.1 at 2014-10-01 12:38:29 -0600
Started POST "/__better_errors/70346720482640/variables" for 127.0.0.1 at 2014-10-01 12:38:33 -0600
Started POST "/__better_errors/70346720482640/eval" for 127.0.0.1 at 2014-10-01 12:38:40 -0600
Started POST "/__better_errors/70346720482640/eval" for 127.0.0.1 at 2014-10-01 12:39:01 -0600
Started POST "/__better_errors/70346720482640/eval" for 127.0.0.1 at 2014-10-01 12:39:06 -0600
Started POST "/__better_errors/70346720482640/eval" for 127.0.0.1 at 2014-10-01 12:39:10 -0600
Started POST "/__better_errors/70346720482640/eval" for 127.0.0.1 at 2014-10-01 12:39:19 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 12:39:53 -0600
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Trying again", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece5.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece5.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece4.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece4.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Completed 500 Internal Server Error in 154ms
ActiveRecord::UnknownAttributeError - unknown attribute: photo:
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:50:in `rescue in _assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:32:in `block in assign_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:26:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:130:in `build'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:465:in `block in assign_nested_attributes_for_collection_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:460:in `assign_nested_attributes_for_collection_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:343:in `photos_attributes='
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `block in assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:36:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:29:in `build'
activerecord (4.1.4) lib/active_record/associations/builder/singular_association.rb:18:in `build_gallery'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:398:in `assign_nested_attributes_for_one_to_one_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:343:in `gallery_attributes='
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `block in assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:36:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
app/controllers/events_controller.rb:10:in `create'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70346693392380/variables" for 127.0.0.1 at 2014-10-01 12:39:53 -0600
Started POST "/__better_errors/70346693392380/variables" for 127.0.0.1 at 2014-10-01 12:39:57 -0600
Started POST "/__better_errors/70346693392380/variables" for 127.0.0.1 at 2014-10-01 12:40:01 -0600
Started POST "/__better_errors/70346693392380/variables" for 127.0.0.1 at 2014-10-01 12:40:02 -0600
Started POST "/__better_errors/70346693392380/variables" for 127.0.0.1 at 2014-10-01 12:40:03 -0600
[1m[36mPolygallery::Photo Load (0.4ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos"[0m
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 1]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 1]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 1]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 2]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 2]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 2]]
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mEvent Load (0.1ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mEvent Load (0.1ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 3]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mEvent Load (0.1ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 4]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 6]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mEvent Load (0.1ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 6]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
Started POST "/__better_errors/70346693392380/variables" for 127.0.0.1 at 2014-10-01 12:40:12 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 12:40:44 -0600
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Trying again", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece5.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece5.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece4.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece4.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Completed 500 Internal Server Error in 91ms
Paperclip::Errors::MissingRequiredValidatorError - Paperclip::Errors::MissingRequiredValidatorError:
paperclip (4.2.0) lib/paperclip/attachment.rb:402:in `ensure_required_validations!'
paperclip (4.2.0) lib/paperclip/attachment.rb:98:in `assign'
paperclip (4.2.0) lib/paperclip/has_attached_file.rb:66:in `block in define_setter'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:32:in `block in assign_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:26:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:130:in `build'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:465:in `block in assign_nested_attributes_for_collection_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:460:in `assign_nested_attributes_for_collection_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:343:in `photos_attributes='
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `block in assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:36:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:29:in `build'
activerecord (4.1.4) lib/active_record/associations/builder/singular_association.rb:18:in `build_gallery'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:398:in `assign_nested_attributes_for_one_to_one_association'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:343:in `gallery_attributes='
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `block in assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:56:in `assign_nested_parameter_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:36:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
app/controllers/events_controller.rb:10:in `create'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70346721348460/variables" for 127.0.0.1 at 2014-10-01 12:40:44 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 12:40:58 -0600
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Trying again", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece5.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece5.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece4.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece4.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-9dbzdm.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-kr2khl.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1vox1ea.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1vox1ea.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1vox1ea.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1vox1ea20141001-78867-1i3s3xi'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1vox1ea20141001-78867-1i3s3xi'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1vox1ea.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1vox1ea.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1vox1ea.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1vox1ea20141001-78867-4iorb6'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1vox1ea20141001-78867-4iorb6'
[1m[35m (0.2ms)[0m BEGIN
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-16rn1za.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-18am4x.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-1tka3qc.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-78867-bmwbcl.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1sumfx0.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1cmpb6o.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1iwknch.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1r2j6d2.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-1xibdwh.jpg'
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-10-01 18:40:59.940601"], ["title", "Trying again"], ["updated_at", "2014-10-01 18:40:59.940601"]]
[1m[35mSQL (0.3ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-10-01 18:40:59.944682"], ["galleryable_id", 11], ["galleryable_type", "Event"], ["updated_at", "2014-10-01 18:40:59.944682"]]
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["caption", ""], ["created_at", "2014-10-01 18:40:59.947753"], ["gallery_id", 15], ["photo_content_type", "image/jpeg"], ["photo_file_name", "piece5.jpg"], ["photo_file_size", 335109], ["photo_updated_at", "2014-10-01 18:40:58.837078"], ["updated_at", "2014-10-01 18:40:59.947753"]]
[1m[35mSQL (0.3ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-10-01 18:41:00.135546"], ["galleryable_id", 11], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2014-10-01 18:41:00.135546"]]
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["caption", ""], ["created_at", "2014-10-01 18:41:00.138466"], ["gallery_id", 16], ["photo_content_type", "image/jpeg"], ["photo_file_name", "piece4.jpg"], ["photo_file_size", 300340], ["photo_updated_at", "2014-10-01 18:40:58.941963"], ["updated_at", "2014-10-01 18:41:00.138466"]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 16]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 16]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
[1m[36mEvent Load (0.1ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 11]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-bu9ay1.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-p5w2ip.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-p5w2ip.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-p5w2ip.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-p5w2ip20141001-78867-yekme0'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-p5w2ip20141001-78867-yekme0'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-p5w2ip.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-p5w2ip.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-p5w2ip.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-p5w2ip20141001-78867-1d33bvs'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-78867-p5w2ip20141001-78867-1d33bvs'
[1m[35mSQL (0.3ms)[0m UPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 21 [["photo_file_name", "piece4.jpg"], ["photo_updated_at", "2014-10-01 18:41:00.288062"], ["updated_at", "2014-10-01 18:41:00.732470"]]
[1m[36m (16.5ms)[0m [1mCOMMIT[0m
Redirected to http://localhost:3000/events/11
Completed 302 Found in 2012ms (ActiveRecord: 25.8ms)
Started GET "/events/11" for 127.0.0.1 at 2014-10-01 12:41:00 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"11"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 15]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 11]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 16]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 16]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
Rendered events/show.html.haml within layouts/application (45.9ms)
Completed 200 OK in 339ms (Views: 325.5ms | ActiveRecord: 2.7ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:01 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:01 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:01 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:01 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:01 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:01 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:01 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:01 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:01 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:01 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:01 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:01 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:01 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:01 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:01 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:01 -0600
Started GET "/system/polygallery/photos/photos/000/000/021/large/piece4.jpg?1412188860" for 127.0.0.1 at 2014-10-01 12:41:01 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/021/large/piece4.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (54.1ms)
Started GET "/events/11/edit" for 127.0.0.1 at 2014-10-01 12:41:20 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"11"}
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 11]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 15]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.2ms)
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 15]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (130.5ms)
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 16]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 11]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 16]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 16]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 11]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (48.4ms)
Rendered events/_simple_form.html.haml (206.3ms)
Rendered events/edit.html.haml within layouts/application (229.7ms)
Completed 200 OK in 583ms (Views: 518.3ms | ActiveRecord: 9.3ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:21 -0600
Started GET "/system/polygallery/photos/photos/000/000/020/thumb/piece5.jpg?1412188858" for 127.0.0.1 at 2014-10-01 12:41:21 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/020/thumb/piece5.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (51.2ms)
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:21 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:21 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:21 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:21 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:21 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:21 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:21 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:21 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:21 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:21 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:21 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:21 -0600
Started PATCH "/events/11" for 127.0.0.1 at 2014-10-01 12:41:24 -0600
Processing by EventsController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Trying againn", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false", "id"=>"20"}}, "id"=>"15"}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false", "id"=>"21"}}, "id"=>"16"}}, "commit"=>"Update Event", "id"=>"11"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 AND "polygallery_photos"."id" IN (20) [["gallery_id", 15]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 11]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 AND "polygallery_photos"."id" IN (21) [["gallery_id", 16]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 16]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 11]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
[1m[35mSQL (0.4ms)[0m UPDATE "events" SET "title" = $1, "updated_at" = $2 WHERE "events"."id" = 11 [["title", "Trying againn"], ["updated_at", "2014-10-01 18:41:24.905127"]]
[1m[36m (18.5ms)[0m [1mCOMMIT[0m
Redirected to http://localhost:3000/events/11
Completed 302 Found in 75ms (ActiveRecord: 21.6ms)
Started GET "/events/11" for 127.0.0.1 at 2014-10-01 12:41:24 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"11"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 15]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 11]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 16]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 16]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
Rendered events/show.html.haml within layouts/application (41.1ms)
Completed 200 OK in 301ms (Views: 288.3ms | ActiveRecord: 2.4ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:25 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:25 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:25 -0600
Started GET "/system/polygallery/photos/photos/000/000/021/large/piece4.jpg?1412188860" for 127.0.0.1 at 2014-10-01 12:41:25 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/021/large/piece4.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (51.3ms)
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:25 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:25 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:25 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:25 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:25 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:25 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:25 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:25 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:25 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:25 -0600
Started GET "/events/11/edit" for 127.0.0.1 at 2014-10-01 12:41:27 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"11"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 11]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 15]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (56.0ms)
[1m[36mPolygallery::Photo Load (0.4ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 15]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.4ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (102.8ms)
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 16]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 11]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.3ms)
[1m[35mPolygallery::Photo Load (0.4ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 16]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 16]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 11]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.4ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (50.4ms)
Rendered events/_simple_form.html.haml (164.4ms)
Rendered events/edit.html.haml within layouts/application (165.6ms)
Completed 200 OK in 402ms (Views: 389.2ms | ActiveRecord: 3.4ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:28 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:28 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:28 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:28 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:28 -0600
Started GET "/system/polygallery/photos/photos/000/000/020/thumb/piece5.jpg?1412188858" for 127.0.0.1 at 2014-10-01 12:41:28 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/020/thumb/piece5.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (50.0ms)
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:28 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:28 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:28 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:28 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:28 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:28 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:28 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:28 -0600
Started GET "/events/11/edit" for 127.0.0.1 at 2014-10-01 12:41:33 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"11"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 11]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.1ms)
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 15]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 11]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (49.4ms)
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 16]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.2ms)
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 16]]
[1m[35mCACHE (0.0ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 16]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
[1m[35mCACHE (0.0ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (48.5ms)
Rendered events/_simple_form.html.haml (108.9ms)
Rendered events/edit.html.haml within layouts/application (110.0ms)
Completed 200 OK in 355ms (Views: 338.8ms | ActiveRecord: 3.2ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:33 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:33 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:33 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 12:41:33 -0600
Started GET "/system/polygallery/photos/photos/000/000/020/thumb/piece5.jpg?1412188858" for 127.0.0.1 at 2014-10-01 12:41:33 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/020/thumb/piece5.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (49.1ms)
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:33 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:33 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:33 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:33 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:33 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:33 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:33 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:33 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 12:41:33 -0600
Started GET "/events/11/edit" for 127.0.0.1 at 2014-10-01 12:56:51 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"11"}
Completed 500 Internal Server Error in 36ms
ArgumentError - No association found for name `'. Has it been defined yet?:
activerecord (4.1.4) lib/active_record/nested_attributes.rb:319:in `block in accepts_nested_attributes_for'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:307:in `accepts_nested_attributes_for'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:11:in `has_polyphotos'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:24:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:16:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70346720510380/variables" for 127.0.0.1 at 2014-10-01 12:56:52 -0600
Started POST "/__better_errors/70346720510380/variables" for 127.0.0.1 at 2014-10-01 12:57:05 -0600
Started POST "/__better_errors/70346720510380/variables" for 127.0.0.1 at 2014-10-01 12:57:07 -0600
Started POST "/__better_errors/70346720510380/variables" for 127.0.0.1 at 2014-10-01 12:57:08 -0600
Started POST "/__better_errors/70346720510380/variables" for 127.0.0.1 at 2014-10-01 12:57:09 -0600
Started POST "/__better_errors/70346720510380/variables" for 127.0.0.1 at 2014-10-01 12:57:25 -0600
Started POST "/__better_errors/70346720510380/variables" for 127.0.0.1 at 2014-10-01 12:57:25 -0600
Started POST "/__better_errors/70346720510380/eval" for 127.0.0.1 at 2014-10-01 12:58:21 -0600
Started POST "/__better_errors/70346720510380/eval" for 127.0.0.1 at 2014-10-01 12:58:29 -0600
Started POST "/__better_errors/70346720510380/eval" for 127.0.0.1 at 2014-10-01 12:58:35 -0600
Started POST "/__better_errors/70346720510380/eval" for 127.0.0.1 at 2014-10-01 12:58:39 -0600
Started POST "/__better_errors/70346720510380/eval" for 127.0.0.1 at 2014-10-01 12:58:47 -0600
Started GET "/events/11/edit" for 127.0.0.1 at 2014-10-01 12:59:41 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"11"}
Completed 500 Internal Server Error in 8ms
ArgumentError - No association found for name `'. Has it been defined yet?:
activerecord (4.1.4) lib/active_record/nested_attributes.rb:319:in `block in accepts_nested_attributes_for'
activerecord (4.1.4) lib/active_record/nested_attributes.rb:307:in `accepts_nested_attributes_for'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:11:in `has_polyphotos'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:24:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:16:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70346694454160/variables" for 127.0.0.1 at 2014-10-01 12:59:41 -0600
Started POST "/__better_errors/70346694454160/variables" for 127.0.0.1 at 2014-10-01 12:59:51 -0600
Started POST "/__better_errors/70346694454160/variables" for 127.0.0.1 at 2014-10-01 12:59:52 -0600
Started POST "/__better_errors/70346694454160/variables" for 127.0.0.1 at 2014-10-01 12:59:54 -0600
Started POST "/__better_errors/70346694454160/variables" for 127.0.0.1 at 2014-10-01 13:00:00 -0600
Started POST "/__better_errors/70346694454160/variables" for 127.0.0.1 at 2014-10-01 13:00:01 -0600
Started POST "/__better_errors/70346694454160/eval" for 127.0.0.1 at 2014-10-01 13:00:08 -0600
Started POST "/__better_errors/70346694454160/eval" for 127.0.0.1 at 2014-10-01 13:00:28 -0600
Started POST "/__better_errors/70346694454160/eval" for 127.0.0.1 at 2014-10-01 13:00:36 -0600
Started POST "/__better_errors/70346694454160/eval" for 127.0.0.1 at 2014-10-01 13:00:40 -0600
Started GET "/events/11/edit" for 127.0.0.1 at 2014-10-01 13:01:08 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by EventsController#edit as HTML
Parameters: {"id"=>"11"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]]
[1m[36mPolygallery::Gallery Load (0.7ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.4ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (34.5ms)
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 15]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (7.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (117.6ms)
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 16]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 16]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (56.3ms)
Rendered events/_simple_form.html.haml (411.9ms)
Rendered events/edit.html.haml within layouts/application (424.4ms)
Completed 200 OK in 1206ms (Views: 1044.9ms | ActiveRecord: 9.1ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:01:10 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:01:10 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:01:10 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:01:10 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:01:10 -0600
Started GET "/system/polygallery/photos/photos/000/000/020/thumb/piece5.jpg?1412188858" for 127.0.0.1 at 2014-10-01 13:01:10 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/020/thumb/piece5.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (97.8ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:10 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:10 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:10 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:10 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:10 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:10 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:10 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:10 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:10 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:10 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:10 -0600
Started PATCH "/events/11" for 127.0.0.1 at 2014-10-01 13:01:18 -0600
Processing by EventsController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Trying again", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false", "id"=>"20"}}, "id"=>"15"}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false", "id"=>"21"}}, "id"=>"16"}}, "commit"=>"Update Event", "id"=>"11"}
[1m[36mEvent Load (0.4ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 11]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
[1m[35m (0.1ms)[0m BEGIN
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 AND "polygallery_photos"."id" IN (20)[0m [["gallery_id", 15]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 AND "polygallery_photos"."id" IN (21) [["gallery_id", 16]]
[1m[36mSQL (0.3ms)[0m [1mUPDATE "events" SET "title" = $1, "updated_at" = $2 WHERE "events"."id" = 11[0m [["title", "Trying again"], ["updated_at", "2014-10-01 19:01:18.111777"]]
[1m[35m (0.6ms)[0m COMMIT
Redirected to http://localhost:3000/events/11
Completed 302 Found in 64ms (ActiveRecord: 2.9ms)
Started GET "/events/11" for 127.0.0.1 at 2014-10-01 13:01:18 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"11"}
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 11]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 16]]
Rendered events/show.html.haml within layouts/application (16.8ms)
Completed 200 OK in 251ms (Views: 239.5ms | ActiveRecord: 1.6ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:01:18 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:01:18 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:01:18 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:01:18 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:01:18 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:18 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:18 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:18 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:18 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:18 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:18 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:18 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:18 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:18 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:18 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:01:18 -0600
Started GET "/system/polygallery/photos/photos/000/000/021/large/piece4.jpg?1412188860" for 127.0.0.1 at 2014-10-01 13:01:18 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/021/large/piece4.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (54.5ms)
[1m[36mEvent Load (0.6ms)[0m [1mSELECT "events".* FROM "events"[0m
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 1]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.6ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 2]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
[1m[35mEvent Load (0.8ms)[0m SELECT "events".* FROM "events"
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mPolygallery::Gallery Load (0.1ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
[1m[36m (0.3ms)[0m [1mBEGIN[0m
[1m[35mSQL (34.4ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-10-01 19:02:13.282765"], ["galleryable_id", 1], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2014-10-01 19:02:13.282765"]]
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-10-01 19:02:13.319327"], ["gallery_id", 17], ["updated_at", "2014-10-01 19:02:13.319327"]]
[1m[35m (0.6ms)[0m COMMIT
[1m[36m (0.3ms)[0m [1mBEGIN[0m
[1m[35mSQL (0.5ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-10-01 19:02:13.349251"], ["galleryable_id", 2], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2014-10-01 19:02:13.349251"]]
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-10-01 19:02:13.350807"], ["gallery_id", 18], ["updated_at", "2014-10-01 19:02:13.350807"]]
[1m[35m (0.5ms)[0m COMMIT
[1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35mSQL (0.4ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-10-01 19:02:13.379761"], ["galleryable_id", 3], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2014-10-01 19:02:13.379761"]]
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-10-01 19:02:13.381170"], ["gallery_id", 19], ["updated_at", "2014-10-01 19:02:13.381170"]]
[1m[35m (0.5ms)[0m COMMIT
[1m[36m (0.3ms)[0m [1mBEGIN[0m
[1m[35mSQL (0.5ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-10-01 19:02:13.409978"], ["galleryable_id", 4], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2014-10-01 19:02:13.409978"]]
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-10-01 19:02:13.411760"], ["gallery_id", 20], ["updated_at", "2014-10-01 19:02:13.411760"]]
[1m[35m (0.5ms)[0m COMMIT
[1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35mSQL (0.4ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-10-01 19:02:13.440244"], ["galleryable_id", 5], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2014-10-01 19:02:13.440244"]]
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-10-01 19:02:13.441765"], ["gallery_id", 21], ["updated_at", "2014-10-01 19:02:13.441765"]]
[1m[35m (0.4ms)[0m COMMIT
[1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35mSQL (0.2ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-10-01 19:02:13.474133"], ["galleryable_id", 6], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2014-10-01 19:02:13.474133"]]
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "polygallery_photos" ("created_at", "gallery_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-10-01 19:02:13.475407"], ["gallery_id", 22], ["updated_at", "2014-10-01 19:02:13.475407"]]
[1m[35m (0.3ms)[0m COMMIT
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 16]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79911-cy41i9.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79911-1fgyeur.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79911-1fgyeur.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79911-1fgyeur.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79911-1fgyeur20141001-79911-1sqa40w'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79911-1fgyeur20141001-79911-1sqa40w'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79911-1fgyeur.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79911-1fgyeur.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79911-1fgyeur.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79911-1fgyeur20141001-79911-1syrhzz'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79911-1fgyeur20141001-79911-1syrhzz'
[1m[35m (0.2ms)[0m BEGIN
[1m[36mSQL (0.2ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 21[0m [["photo_file_name", "piece4.jpg"], ["photo_updated_at", "2014-10-01 19:02:13.527423"], ["updated_at", "2014-10-01 19:02:14.614353"]]
[1m[35m (15.5ms)[0m COMMIT
Started GET "/events/11" for 127.0.0.1 at 2014-10-01 13:02:16 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"11"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 15]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 16]]
Rendered events/show.html.haml within layouts/application (11.0ms)
Completed 200 OK in 235ms (Views: 222.9ms | ActiveRecord: 1.7ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:02:16 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:02:16 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:02:16 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:02:16 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:02:16 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:16 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:16 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:16 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:16 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:16 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:16 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:16 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:16 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:16 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:16 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:16 -0600
Started GET "/system/polygallery/photos/photos/000/000/021/large/piece4.jpg?1412190133" for 127.0.0.1 at 2014-10-01 13:02:16 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/021/large/piece4.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (56.5ms)
Started GET "/events/11" for 127.0.0.1 at 2014-10-01 13:02:20 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"11"}
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 11]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 15]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 16]]
Rendered events/show.html.haml within layouts/application (10.8ms)
Completed 200 OK in 236ms (Views: 224.6ms | ActiveRecord: 1.5ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:02:20 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:02:20 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:02:20 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:02:20 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:02:20 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:20 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:20 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:20 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:20 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:20 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:20 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:20 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:20 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:20 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:20 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:02:20 -0600
Started GET "/system/polygallery/photos/photos/000/000/021/large/piece4.jpg?1412190133" for 127.0.0.1 at 2014-10-01 13:02:20 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/021/large/piece4.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (58.9ms)
Started GET "/events/11" for 127.0.0.1 at 2014-10-01 13:06:07 -0600
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
ActiveRecord::PendingMigrationError -
Migrations are pending. To resolve this issue, run:
bin/rake db:migrate RAILS_ENV=development
:
activerecord (4.1.4) lib/active_record/migration.rb:389:in `check_pending!'
activerecord (4.1.4) lib/active_record/migration.rb:377:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70281470526600/variables" for 127.0.0.1 at 2014-10-01 13:06:07 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateCustomPhotos (20141001190321)
[1m[35m (0.2ms)[0m BEGIN
[1m[36m (888.4ms)[0m [1mCREATE TABLE "custom_photos" ("id" serial primary key, "gallery_id" integer, "photo_file_name" character varying(255), "photo_content_type" character varying(255), "photo_file_size" integer, "photo_updated_at" timestamp, "title" character varying(255), "caption" text, "created_at" timestamp, "updated_at" timestamp) [0m
[1m[35mSQL (17.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141001190321"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
Started GET "/events/11" for 127.0.0.1 at 2014-10-01 13:10:10 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by EventsController#show as HTML
Parameters: {"id"=>"11"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 11]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 15]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 16]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 15]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 16]]
Rendered events/show.html.haml within layouts/application (21.8ms)
Completed 200 OK in 413ms (Views: 283.7ms | ActiveRecord: 6.6ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:11 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:11 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:11 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:11 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:11 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:11 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:11 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:11 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:11 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:11 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:11 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:11 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:11 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:11 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:11 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:11 -0600
Started GET "/system/polygallery/photos/photos/000/000/021/large/piece4.jpg?1412190133" for 127.0.0.1 at 2014-10-01 13:10:11 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/021/large/piece4.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (53.9ms)
Started DELETE "/events/11" for 127.0.0.1 at 2014-10-01 13:10:19 -0600
Processing by EventsController#destroy as HTML
Parameters: {"authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "id"=>"11"}
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 11]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 15]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 11], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 16]]
[1m[35m (0.1ms)[0m BEGIN
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 15]]
[1m[35mSQL (0.3ms)[0m DELETE FROM "polygallery_photos" WHERE "polygallery_photos"."id" = $1 [["id", 20]]
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1[0m [["id", 15]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 16]]
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "polygallery_photos" WHERE "polygallery_photos"."id" = $1[0m [["id", 21]]
[1m[35mSQL (0.2ms)[0m DELETE FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 [["id", 16]]
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "events" WHERE "events"."id" = $1[0m [["id", 11]]
[1m[35m (0.5ms)[0m COMMIT
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/020/original/piece5.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/021/original/piece4.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/021/medium/piece4.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/021/thumb/piece4.jpg
Redirected to http://localhost:3000/events
Completed 302 Found in 89ms (ActiveRecord: 3.4ms)
Started GET "/events" for 127.0.0.1 at 2014-10-01 13:10:19 -0600
Processing by EventsController#index as HTML
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "events"[0m
[1m[35mEvent Load (0.6ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."updated_at" DESC
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 22]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 21]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mPolygallery::Gallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 20]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 19]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 2]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 18]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 17]]
[1m[36mPolygallery::Photo Load (0.5ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" IN (6, 5, 4, 3, 2, 1)[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 6]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 22]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 5]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 21]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 4]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 20]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 3]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 19]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 2]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 18]]
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 1]]
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 17]]
Rendered events/index.html.haml within layouts/application (123.6ms)
Completed 200 OK in 360ms (Views: 351.5ms | ActiveRecord: 7.4ms)
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:19 -0600
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:19 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:19 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:19 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:19 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:19 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:19 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:19 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:19 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:19 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:19 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:19 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:19 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:19 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:19 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:19 -0600
Started GET "/events/new" for 127.0.0.1 at 2014-10-01 13:10:21 -0600
Processing by EventsController#new as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (22.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (56.4ms)
Rendered events/_simple_form.html.haml (106.4ms)
Rendered events/new.html.haml within layouts/application (117.8ms)
Completed 200 OK in 375ms (Views: 361.8ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:22 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:22 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:22 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:22 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:22 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:22 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:22 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:22 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:22 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:22 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:22 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:22 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:22 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:22 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:22 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:22 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-10-01 13:10:22 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 13:10:35 -0600
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Trying again", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece3.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece3.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece4.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece4.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1f0dcdf7b640d4b094d30aa88fab98f020141001-79902-i0iox.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1f0dcdf7b640d4b094d30aa88fab98f020141001-79902-137cq8r.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1f0dcdf7b640d4b094d30aa88fab98f020141001-79902-137cq8r.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1f0dcdf7b640d4b094d30aa88fab98f020141001-79902-137cq8r.jpg[0]' -auto-orient -resize "x300" -crop "300x300+75+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1f0dcdf7b640d4b094d30aa88fab98f020141001-79902-137cq8r20141001-79902-1q4faf6'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1f0dcdf7b640d4b094d30aa88fab98f020141001-79902-137cq8r20141001-79902-1q4faf6'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1f0dcdf7b640d4b094d30aa88fab98f020141001-79902-137cq8r.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1f0dcdf7b640d4b094d30aa88fab98f020141001-79902-137cq8r.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1f0dcdf7b640d4b094d30aa88fab98f020141001-79902-137cq8r.jpg[0]' -auto-orient -resize "x100" -crop "100x100+25+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1f0dcdf7b640d4b094d30aa88fab98f020141001-79902-137cq8r20141001-79902-3329l3'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1f0dcdf7b640d4b094d30aa88fab98f020141001-79902-137cq8r20141001-79902-3329l3'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-1g4pa6p.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-1re7uis.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-1re7uis.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-1re7uis.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-1re7uis20141001-79902-1pms80l'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-1re7uis20141001-79902-1pms80l'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-1re7uis.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-1re7uis.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-1re7uis.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-1re7uis20141001-79902-15pydx2'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-1re7uis20141001-79902-15pydx2'
[1m[35m (0.2ms)[0m BEGIN
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1f0dcdf7b640d4b094d30aa88fab98f020141001-79902-1fjhzm6.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-au7wk6.jpg'
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-10-01 19:10:36.844285"], ["title", "Trying again"], ["updated_at", "2014-10-01 19:10:36.844285"]]
[1m[35mSQL (0.2ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-10-01 19:10:36.848303"], ["galleryable_id", 12], ["galleryable_type", "Event"], ["updated_at", "2014-10-01 19:10:36.848303"]]
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["caption", ""], ["created_at", "2014-10-01 19:10:36.850972"], ["gallery_id", 23], ["photo_content_type", "image/jpeg"], ["photo_file_name", "piece3.jpg"], ["photo_file_size", 53550], ["photo_updated_at", "2014-10-01 19:10:35.449988"], ["updated_at", "2014-10-01 19:10:36.850972"]]
[1m[35mSQL (0.3ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", "2014-10-01 19:10:36.960597"], ["galleryable_id", 12], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2014-10-01 19:10:36.960597"]]
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["caption", ""], ["created_at", "2014-10-01 19:10:36.963625"], ["gallery_id", 24], ["photo_content_type", "image/jpeg"], ["photo_file_name", "piece4.jpg"], ["photo_file_size", 300340], ["photo_updated_at", "2014-10-01 19:10:36.345373"], ["updated_at", "2014-10-01 19:10:36.963625"]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 24]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-1axd8lb.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-jbdig.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-jbdig.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-jbdig.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-jbdig20141001-79902-1yvya4p'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-jbdig20141001-79902-1yvya4p'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-jbdig.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-jbdig.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-jbdig.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-jbdig20141001-79902-19sckz7'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-79902-jbdig20141001-79902-19sckz7'
[1m[36mSQL (0.3ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_updated_at" = $2, "updated_at" = $3 WHERE "polygallery_photos"."id" = 29[0m [["photo_file_name", "piece4.jpg"], ["photo_updated_at", "2014-10-01 19:10:37.075590"], ["updated_at", "2014-10-01 19:10:37.541043"]]
[1m[35m (16.0ms)[0m COMMIT
Redirected to http://localhost:3000/events/12
Completed 302 Found in 2146ms (ActiveRecord: 18.2ms)
Started GET "/events/12" for 127.0.0.1 at 2014-10-01 13:10:37 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"12"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 12]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 23]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 24]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 23]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 23]]
[1m[35mCACHE (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 24]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 24]]
Rendered events/show.html.haml within layouts/application (14.0ms)
Completed 200 OK in 259ms (Views: 247.5ms | ActiveRecord: 1.3ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:37 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:37 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:38 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:38 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:10:38 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:38 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:38 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:38 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:38 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:38 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:38 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:38 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:38 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:38 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:38 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:10:38 -0600
Started GET "/system/polygallery/photos/photos/000/000/029/large/piece4.jpg?1412190637" for 127.0.0.1 at 2014-10-01 13:10:38 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/029/large/piece4.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (51.1ms)
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
Migrating to CreateCustomPhotos (20141001190321)
[1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (104.7ms)[0m DROP TABLE "custom_photos"
[1m[36mSQL (0.6ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20141001190321'[0m
[1m[35m (74.4ms)[0m COMMIT
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to AddStiToGalleriesAndPhotos (20141001192141)
[1m[35m (0.2ms)[0m BEGIN
[1m[36m (47.2ms)[0m [1mALTER TABLE "polygallery_galleries" ADD COLUMN "class_name" character varying(255)[0m
[1m[35m (0.3ms)[0m ALTER TABLE "polygallery_photos" ADD COLUMN "class_name" character varying(255)
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141001192141"]]
[1m[35m (31.3ms)[0m COMMIT
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Started GET "/pieces/83" for 127.0.0.1 at 2014-10-01 13:24:50 -0600
ActionController::RoutingError (No route matches [GET] "/pieces/83"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (41.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (93.5ms)
Started GET "/events/12" for 127.0.0.1 at 2014-10-01 13:26:55 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"12"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 12]]
[1m[36mPolygallery::Gallery Load (44.9ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 12], ["galleryable_type", "Event"]]
PG::FeatureNotSupported: ERROR: cached plan must not change result type
: SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1
[1m[35mPolygallery::Gallery Load (0.6ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 23]]
[1m[35mPolygallery::Gallery Load (1.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]]
PG::FeatureNotSupported: ERROR: cached plan must not change result type
: SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 12], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 24]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 23]]
[1m[35mPolygallery::Photo Load (1.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 23]]
PG::FeatureNotSupported: ERROR: cached plan must not change result type
: SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 23]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 24]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 24]]
Rendered events/show.html.haml within layouts/application (27.6ms)
Completed 200 OK in 462ms (Views: 285.9ms | ActiveRecord: 54.8ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:26:55 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:26:55 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:26:55 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:26:55 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:26:55 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:26:55 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:26:55 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:26:55 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:26:55 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:26:55 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:26:55 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:26:55 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:26:55 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:26:55 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:26:55 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:26:55 -0600
Started GET "/system/polygallery/photos/photos/000/000/029/large/piece4.jpg?1412190637" for 127.0.0.1 at 2014-10-01 13:26:55 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/029/large/piece4.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (6.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (62.1ms)
Started GET "/events/12" for 127.0.0.1 at 2014-10-01 13:35:32 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"12"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 12]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 12], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 23]]
Completed 500 Internal Server Error in 203ms
NameError - uninitialized constant Event::CustomGallery:
activerecord (4.1.4) lib/active_record/inheritance.rb:133:in `compute_type'
activerecord (4.1.4) lib/active_record/reflection.rb:221:in `klass'
activerecord (4.1.4) lib/active_record/associations/association.rb:118:in `klass'
activerecord (4.1.4) lib/active_record/associations/association.rb:176:in `find_target?'
activerecord (4.1.4) lib/active_record/associations/association.rb:138:in `load_target'
activerecord (4.1.4) lib/active_record/associations/association.rb:53:in `reload'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:9:in `reader'
activerecord (4.1.4) lib/active_record/associations/builder/association.rb:110:in `custom_gallery'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:36:in `block in has_polygallery'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:226:in `init_with'
activerecord (4.1.4) lib/active_record/persistence.rb:52:in `instantiate'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `block in find_by_sql'
activerecord (4.1.4) lib/active_record/result.rb:55:in `block in each'
activerecord (4.1.4) lib/active_record/result.rb:55:in `each'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `find_by_sql'
activerecord (4.1.4) lib/active_record/relation.rb:604:in `exec_queries'
activerecord (4.1.4) lib/active_record/relation.rb:486:in `load'
activerecord (4.1.4) lib/active_record/relation.rb:231:in `to_a'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:451:in `find_take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:98:in `take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:418:in `find_one'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:404:in `find_with_ids'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:68:in `find'
activerecord (4.1.4) lib/active_record/querying.rb:3:in `find'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70281506900480/variables" for 127.0.0.1 at 2014-10-01 13:35:33 -0600
Started GET "/events/12" for 127.0.0.1 at 2014-10-01 13:36:24 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"12"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 12]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 23]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 23]]
[1m[36mPolygallery::Photo Load (0.6ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 23]]
Rendered events/show.html.haml within layouts/application (111.2ms)
Completed 500 Internal Server Error in 216ms
NoMethodError - undefined method `custom_gallery' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
app/views/events/show.html.haml:18:in `_app_views_events_show_html_haml___1333246657649052194_70281489994360'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70281472973860/variables" for 127.0.0.1 at 2014-10-01 13:36:24 -0600
Started GET "/events/12" for 127.0.0.1 at 2014-10-01 13:36:28 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"12"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 12]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 12], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 23]]
Completed 500 Internal Server Error in 95ms
NameError - uninitialized constant Event::CustomGallery:
activerecord (4.1.4) lib/active_record/inheritance.rb:133:in `compute_type'
activerecord (4.1.4) lib/active_record/reflection.rb:221:in `klass'
activerecord (4.1.4) lib/active_record/associations/association.rb:118:in `klass'
activerecord (4.1.4) lib/active_record/associations/association.rb:176:in `find_target?'
activerecord (4.1.4) lib/active_record/associations/association.rb:138:in `load_target'
activerecord (4.1.4) lib/active_record/associations/association.rb:53:in `reload'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:9:in `reader'
activerecord (4.1.4) lib/active_record/associations/builder/association.rb:110:in `custom_gallery'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:36:in `block in has_polygallery'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:226:in `init_with'
activerecord (4.1.4) lib/active_record/persistence.rb:52:in `instantiate'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `block in find_by_sql'
activerecord (4.1.4) lib/active_record/result.rb:55:in `block in each'
activerecord (4.1.4) lib/active_record/result.rb:55:in `each'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `find_by_sql'
activerecord (4.1.4) lib/active_record/relation.rb:604:in `exec_queries'
activerecord (4.1.4) lib/active_record/relation.rb:486:in `load'
activerecord (4.1.4) lib/active_record/relation.rb:231:in `to_a'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:451:in `find_take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:98:in `take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:418:in `find_one'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:404:in `find_with_ids'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:68:in `find'
activerecord (4.1.4) lib/active_record/querying.rb:3:in `find'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70281520727020/variables" for 127.0.0.1 at 2014-10-01 13:36:28 -0600
Started GET "/events/12" for 127.0.0.1 at 2014-10-01 13:36:43 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"12"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 12]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 12], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 23]]
Completed 500 Internal Server Error in 100ms
NameError - uninitialized constant Polygallery::CustomizedGallery:
activesupport (4.1.4) lib/active_support/dependencies.rb:518:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/models/custom_gallery.rb:2:in `'
app/models/custom_gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/inflector/methods.rb:238:in `block in constantize'
activesupport (4.1.4) lib/active_support/inflector/methods.rb:236:in `constantize'
activesupport (4.1.4) lib/active_support/dependencies.rb:552:in `get'
activesupport (4.1.4) lib/active_support/dependencies.rb:583:in `constantize'
activerecord (4.1.4) lib/active_record/inheritance.rb:115:in `compute_type'
activerecord (4.1.4) lib/active_record/reflection.rb:221:in `klass'
activerecord (4.1.4) lib/active_record/associations/association.rb:118:in `klass'
activerecord (4.1.4) lib/active_record/associations/association.rb:176:in `find_target?'
activerecord (4.1.4) lib/active_record/associations/association.rb:138:in `load_target'
activerecord (4.1.4) lib/active_record/associations/association.rb:53:in `reload'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:9:in `reader'
activerecord (4.1.4) lib/active_record/associations/builder/association.rb:110:in `custom_gallery'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:36:in `block in has_polygallery'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:226:in `init_with'
activerecord (4.1.4) lib/active_record/persistence.rb:52:in `instantiate'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `block in find_by_sql'
activerecord (4.1.4) lib/active_record/result.rb:55:in `block in each'
activerecord (4.1.4) lib/active_record/result.rb:55:in `each'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `find_by_sql'
activerecord (4.1.4) lib/active_record/relation.rb:604:in `exec_queries'
activerecord (4.1.4) lib/active_record/relation.rb:486:in `load'
activerecord (4.1.4) lib/active_record/relation.rb:231:in `to_a'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:451:in `find_take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:98:in `take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:418:in `find_one'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:404:in `find_with_ids'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:68:in `find'
activerecord (4.1.4) lib/active_record/querying.rb:3:in `find'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70281487898620/variables" for 127.0.0.1 at 2014-10-01 13:36:43 -0600
Started GET "/events/12" for 127.0.0.1 at 2014-10-01 13:37:27 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by EventsController#show as HTML
Parameters: {"id"=>"12"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 12]]
[1m[36mPolygallery::Gallery Load (0.6ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 12], ["galleryable_type", "Event"]]
Completed 500 Internal Server Error in 135ms
RuntimeError - Event:
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:14:in `block in has_polyphotos'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:226:in `init_with'
activerecord (4.1.4) lib/active_record/persistence.rb:52:in `instantiate'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `block in find_by_sql'
activerecord (4.1.4) lib/active_record/result.rb:55:in `block in each'
activerecord (4.1.4) lib/active_record/result.rb:55:in `each'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `find_by_sql'
activerecord (4.1.4) lib/active_record/relation.rb:604:in `exec_queries'
activerecord (4.1.4) lib/active_record/association_relation.rb:19:in `exec_queries'
activerecord (4.1.4) lib/active_record/relation.rb:486:in `load'
activerecord (4.1.4) lib/active_record/relation.rb:231:in `to_a'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:451:in `find_take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:98:in `take'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:42:in `find_target'
activerecord (4.1.4) lib/active_record/associations/association.rb:138:in `load_target'
activerecord (4.1.4) lib/active_record/associations/association.rb:53:in `reload'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:9:in `reader'
activerecord (4.1.4) lib/active_record/associations/builder/association.rb:110:in `gallery'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:36:in `block in has_polygallery'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:226:in `init_with'
activerecord (4.1.4) lib/active_record/persistence.rb:52:in `instantiate'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `block in find_by_sql'
activerecord (4.1.4) lib/active_record/result.rb:55:in `block in each'
activerecord (4.1.4) lib/active_record/result.rb:55:in `each'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `find_by_sql'
activerecord (4.1.4) lib/active_record/relation.rb:604:in `exec_queries'
activerecord (4.1.4) lib/active_record/relation.rb:486:in `load'
activerecord (4.1.4) lib/active_record/relation.rb:231:in `to_a'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:451:in `find_take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:98:in `take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:418:in `find_one'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:404:in `find_with_ids'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:68:in `find'
activerecord (4.1.4) lib/active_record/querying.rb:3:in `find'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70327267465120/variables" for 127.0.0.1 at 2014-10-01 13:37:27 -0600
Started GET "/events/12" for 127.0.0.1 at 2014-10-01 13:37:30 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"12"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 12]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 12], ["galleryable_type", "Event"]]
Completed 500 Internal Server Error in 5ms
RuntimeError - Event:
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:14:in `block in has_polyphotos'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:226:in `init_with'
activerecord (4.1.4) lib/active_record/persistence.rb:52:in `instantiate'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `block in find_by_sql'
activerecord (4.1.4) lib/active_record/result.rb:55:in `block in each'
activerecord (4.1.4) lib/active_record/result.rb:55:in `each'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `find_by_sql'
activerecord (4.1.4) lib/active_record/relation.rb:604:in `exec_queries'
activerecord (4.1.4) lib/active_record/association_relation.rb:19:in `exec_queries'
activerecord (4.1.4) lib/active_record/relation.rb:486:in `load'
activerecord (4.1.4) lib/active_record/relation.rb:231:in `to_a'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:451:in `find_take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:98:in `take'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:42:in `find_target'
activerecord (4.1.4) lib/active_record/associations/association.rb:138:in `load_target'
activerecord (4.1.4) lib/active_record/associations/association.rb:53:in `reload'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:9:in `reader'
activerecord (4.1.4) lib/active_record/associations/builder/association.rb:110:in `gallery'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:36:in `block in has_polygallery'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:226:in `init_with'
activerecord (4.1.4) lib/active_record/persistence.rb:52:in `instantiate'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `block in find_by_sql'
activerecord (4.1.4) lib/active_record/result.rb:55:in `block in each'
activerecord (4.1.4) lib/active_record/result.rb:55:in `each'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `find_by_sql'
activerecord (4.1.4) lib/active_record/relation.rb:604:in `exec_queries'
activerecord (4.1.4) lib/active_record/relation.rb:486:in `load'
activerecord (4.1.4) lib/active_record/relation.rb:231:in `to_a'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:451:in `find_take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:98:in `take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:418:in `find_one'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:404:in `find_with_ids'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:68:in `find'
activerecord (4.1.4) lib/active_record/querying.rb:3:in `find'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70327236284900/variables" for 127.0.0.1 at 2014-10-01 13:37:30 -0600
Started POST "/__better_errors/70327236284900/variables" for 127.0.0.1 at 2014-10-01 13:37:32 -0600
Started POST "/__better_errors/70327236284900/eval" for 127.0.0.1 at 2014-10-01 13:37:55 -0600
Started GET "/events/12" for 127.0.0.1 at 2014-10-01 13:38:13 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"12"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 12]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 12], ["galleryable_type", "Event"]]
Completed 500 Internal Server Error in 5ms
RuntimeError - Event:
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:14:in `block in has_polyphotos'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:226:in `init_with'
activerecord (4.1.4) lib/active_record/persistence.rb:52:in `instantiate'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `block in find_by_sql'
activerecord (4.1.4) lib/active_record/result.rb:55:in `block in each'
activerecord (4.1.4) lib/active_record/result.rb:55:in `each'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `find_by_sql'
activerecord (4.1.4) lib/active_record/relation.rb:604:in `exec_queries'
activerecord (4.1.4) lib/active_record/association_relation.rb:19:in `exec_queries'
activerecord (4.1.4) lib/active_record/relation.rb:486:in `load'
activerecord (4.1.4) lib/active_record/relation.rb:231:in `to_a'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:451:in `find_take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:98:in `take'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:42:in `find_target'
activerecord (4.1.4) lib/active_record/associations/association.rb:138:in `load_target'
activerecord (4.1.4) lib/active_record/associations/association.rb:53:in `reload'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:9:in `reader'
activerecord (4.1.4) lib/active_record/associations/builder/association.rb:110:in `gallery'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:36:in `block in has_polygallery'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:226:in `init_with'
activerecord (4.1.4) lib/active_record/persistence.rb:52:in `instantiate'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `block in find_by_sql'
activerecord (4.1.4) lib/active_record/result.rb:55:in `block in each'
activerecord (4.1.4) lib/active_record/result.rb:55:in `each'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `find_by_sql'
activerecord (4.1.4) lib/active_record/relation.rb:604:in `exec_queries'
activerecord (4.1.4) lib/active_record/relation.rb:486:in `load'
activerecord (4.1.4) lib/active_record/relation.rb:231:in `to_a'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:451:in `find_take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:98:in `take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:418:in `find_one'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:404:in `find_with_ids'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:68:in `find'
activerecord (4.1.4) lib/active_record/querying.rb:3:in `find'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70327280143740/variables" for 127.0.0.1 at 2014-10-01 13:38:13 -0600
Started GET "/events/12" for 127.0.0.1 at 2014-10-01 13:38:40 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"12"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 12]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 12], ["galleryable_type", "Event"]]
Completed 500 Internal Server Error in 6ms
RuntimeError - Event:
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:14:in `block in has_polyphotos'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:226:in `init_with'
activerecord (4.1.4) lib/active_record/persistence.rb:52:in `instantiate'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `block in find_by_sql'
activerecord (4.1.4) lib/active_record/result.rb:55:in `block in each'
activerecord (4.1.4) lib/active_record/result.rb:55:in `each'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `find_by_sql'
activerecord (4.1.4) lib/active_record/relation.rb:604:in `exec_queries'
activerecord (4.1.4) lib/active_record/association_relation.rb:19:in `exec_queries'
activerecord (4.1.4) lib/active_record/relation.rb:486:in `load'
activerecord (4.1.4) lib/active_record/relation.rb:231:in `to_a'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:451:in `find_take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:98:in `take'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:42:in `find_target'
activerecord (4.1.4) lib/active_record/associations/association.rb:138:in `load_target'
activerecord (4.1.4) lib/active_record/associations/association.rb:53:in `reload'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:9:in `reader'
activerecord (4.1.4) lib/active_record/associations/builder/association.rb:110:in `gallery'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:36:in `block in has_polygallery'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:226:in `init_with'
activerecord (4.1.4) lib/active_record/persistence.rb:52:in `instantiate'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `block in find_by_sql'
activerecord (4.1.4) lib/active_record/result.rb:55:in `block in each'
activerecord (4.1.4) lib/active_record/result.rb:55:in `each'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `find_by_sql'
activerecord (4.1.4) lib/active_record/relation.rb:604:in `exec_queries'
activerecord (4.1.4) lib/active_record/relation.rb:486:in `load'
activerecord (4.1.4) lib/active_record/relation.rb:231:in `to_a'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:451:in `find_take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:98:in `take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:418:in `find_one'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:404:in `find_with_ids'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:68:in `find'
activerecord (4.1.4) lib/active_record/querying.rb:3:in `find'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70327231234200/variables" for 127.0.0.1 at 2014-10-01 13:38:40 -0600
Started GET "/events/12" for 127.0.0.1 at 2014-10-01 13:39:03 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by EventsController#show as HTML
Parameters: {"id"=>"12"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 12]]
[1m[36mPolygallery::Gallery Load (0.6ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 12], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (15.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 23]]
[1m[36mCustomGallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 12], ["galleryable_type", "Event"]]
[1m[35mCACHE (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 23]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 23]]
Rendered events/show.html.haml within layouts/application (18.1ms)
Completed 200 OK in 1882ms (Views: 1561.6ms | ActiveRecord: 23.3ms)
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:39:05 -0600
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:39:05 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:39:05 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:39:05 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:39:05 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:05 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:05 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:05 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:05 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:05 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:05 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:05 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:05 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:05 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:05 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:05 -0600
Started GET "/images/large/missing.png" for 127.0.0.1 at 2014-10-01 13:39:05 -0600
ActionController::RoutingError (No route matches [GET] "/images/large/missing.png"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (57.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (125.4ms)
Started DELETE "/events/12" for 127.0.0.1 at 2014-10-01 13:39:25 -0600
Processing by EventsController#destroy as HTML
Parameters: {"authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "id"=>"12"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 12]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 12], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 23]]
[1m[36mCustomGallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 12], ["galleryable_type", "Event"]]
[1m[35m (0.1ms)[0m BEGIN
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 23]]
[1m[35mSQL (0.3ms)[0m DELETE FROM "polygallery_photos" WHERE "polygallery_photos"."id" = $1 [["id", 28]]
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1[0m [["id", 23]]
[1m[35mSQL (0.2ms)[0m DELETE FROM "events" WHERE "events"."id" = $1 [["id", 12]]
[1m[36m (16.1ms)[0m [1mCOMMIT[0m
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/028/original/piece3.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/028/medium/piece3.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/028/thumb/piece3.jpg
Redirected to http://localhost:3000/events
Completed 302 Found in 53ms (ActiveRecord: 18.2ms)
Started GET "/events" for 127.0.0.1 at 2014-10-01 13:39:25 -0600
Processing by EventsController#index as HTML
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "events"
[1m[36mEvent Load (0.5ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."updated_at" DESC[0m
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 6]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 5]]
[1m[36mCustomGallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 4]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 3]]
[1m[36mCustomGallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 2]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mCustomGallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Load (0.5ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" IN (6, 5, 4, 3, 2, 1)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 6]]
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 5]]
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 4]]
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 3]]
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 2]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 1]]
Rendered events/index.html.haml within layouts/application (144.0ms)
Completed 200 OK in 391ms (Views: 383.0ms | ActiveRecord: 7.1ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:39:26 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:39:26 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:39:26 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:39:26 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:26 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:39:26 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:26 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:26 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:26 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:26 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:26 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:26 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:26 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:26 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:26 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:26 -0600
Started GET "/events/new" for 127.0.0.1 at 2014-10-01 13:39:28 -0600
Processing by EventsController#new as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (56.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.4ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (525.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (23.9ms)
Rendered events/_simple_form.html.haml (1021.0ms)
Rendered events/new.html.haml within layouts/application (1053.9ms)
Completed 200 OK in 1462ms (Views: 1448.4ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:39:29 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:39:29 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:39:29 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:39:29 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-10-01 13:39:29 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:39:29 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:29 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:29 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:29 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:29 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:29 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:29 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:29 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:29 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:29 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:29 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:39:29 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 13:39:59 -0600
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Another Template", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece10.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece10.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece9.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece9.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80454-166lmcs.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80454-1b8ilp6.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80454-1b8ilp6.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80454-1b8ilp6.jpg[0]' -auto-orient -resize "x300" -crop "300x300+42+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80454-1b8ilp620141001-80454-sjl2nc'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80454-1b8ilp620141001-80454-sjl2nc'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80454-1b8ilp6.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80454-1b8ilp6.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80454-1b8ilp6.jpg[0]' -auto-orient -resize "x100" -crop "100x100+14+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80454-1b8ilp620141001-80454-ydqalk'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80454-1b8ilp620141001-80454-ydqalk'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80454-svkq3g.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80454-1wucie3.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80454-1wucie3.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80454-1wucie3.jpg[0]' -auto-orient -resize "x300" -crop "300x300+37+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80454-1wucie320141001-80454-1q4d912'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80454-1wucie320141001-80454-1q4d912'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80454-1wucie3.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80454-1wucie3.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80454-1wucie3.jpg[0]' -auto-orient -resize "x100" -crop "100x100+12+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80454-1wucie320141001-80454-mvzo24'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80454-1wucie320141001-80454-mvzo24'
[1m[36m (0.2ms)[0m [1mBEGIN[0m
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80454-1jqizjt.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80454-1g45ff.jpg'
[1m[35mSQL (0.4ms)[0m INSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-10-01 19:40:01.182124"], ["title", "Another Template"], ["updated_at", "2014-10-01 19:40:01.182124"]]
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", "2014-10-01 19:40:01.186194"], ["galleryable_id", 13], ["galleryable_type", "Event"], ["updated_at", "2014-10-01 19:40:01.186194"]]
[1m[35mSQL (0.3ms)[0m INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", ""], ["created_at", "2014-10-01 19:40:01.189040"], ["gallery_id", 25], ["photo_content_type", "image/jpeg"], ["photo_file_name", "piece10.jpg"], ["photo_file_size", 101471], ["photo_updated_at", "2014-10-01 19:39:59.443083"], ["updated_at", "2014-10-01 19:40:01.189040"]]
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "polygallery_galleries" ("class_name", "created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["class_name", "CustomGallery"], ["created_at", "2014-10-01 19:40:01.277642"], ["galleryable_id", 13], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2014-10-01 19:40:01.277642"]]
[1m[35mSQL (0.3ms)[0m INSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["caption", ""], ["created_at", "2014-10-01 19:40:01.281341"], ["gallery_id", 26], ["photo_content_type", "image/jpeg"], ["photo_file_name", "piece9.jpg"], ["photo_file_size", 81374], ["photo_updated_at", "2014-10-01 19:40:00.895856"], ["updated_at", "2014-10-01 19:40:01.281341"]]
[1m[36m (15.7ms)[0m [1mCOMMIT[0m
Redirected to http://localhost:3000/events/13
Completed 302 Found in 1979ms (ActiveRecord: 17.4ms)
Started GET "/events/13" for 127.0.0.1 at 2014-10-01 13:40:01 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"13"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 13]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mCustomGallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 25]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 26]]
Rendered events/show.html.haml within layouts/application (11.9ms)
Completed 200 OK in 269ms (Views: 255.5ms | ActiveRecord: 1.7ms)
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:40:01 -0600
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:40:01 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:40:01 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:40:01 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:40:01 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:40:01 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:40:01 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:40:01 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:40:01 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:40:01 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:40:01 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:40:01 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:40:01 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:40:01 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:40:01 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:40:01 -0600
Started GET "/system/polygallery/photos/photos/000/000/031/large/piece9.jpg?1412192400" for 127.0.0.1 at 2014-10-01 13:40:01 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/031/large/piece9.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (44.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (95.5ms)
Started GET "/events/13" for 127.0.0.1 at 2014-10-01 13:41:01 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 13]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35mCACHE (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 25]]
[1m[35mCACHE (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 26]]
Rendered events/show.html.haml within layouts/application (31.2ms)
Completed 200 OK in 471ms (Views: 302.7ms | ActiveRecord: 8.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:41:02 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:41:02 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:41:02 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:41:02 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:41:02 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:02 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:02 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:03 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:03 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:03 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:03 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:03 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:03 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:03 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:03 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:03 -0600
Started GET "/system/polygallery/photos/photos/000/000/031/large/piece9.jpg?1412192400" for 127.0.0.1 at 2014-10-01 13:41:03 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/031/large/piece9.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (111.3ms)
Started GET "/events/13" for 127.0.0.1 at 2014-10-01 13:41:58 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by EventsController#show as HTML
Parameters: {"id"=>"13"}
[1m[35mEvent Load (0.4ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 13]]
[1m[36mPolygallery::Gallery Load (0.5ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.4ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mCustomGallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.4ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 25]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 26]]
Rendered events/show.html.haml within layouts/application (31.1ms)
Completed 200 OK in 934ms (Views: 653.9ms | ActiveRecord: 9.2ms)
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:41:59 -0600
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:41:59 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:41:59 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:41:59 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:41:59 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:59 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:59 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:59 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:59 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:59 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:59 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:59 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:59 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:59 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:59 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:41:59 -0600
Started GET "/system/polygallery/photos/photos/000/000/031/large/piece9.jpg?1412192400" for 127.0.0.1 at 2014-10-01 13:41:59 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/031/large/piece9.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (17.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (132.2ms)
Started GET "/events/13" for 127.0.0.1 at 2014-10-01 13:42:05 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 13]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mCustomGallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mPolygallery::Photo Load (0.4ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 25]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 26]]
Rendered events/show.html.haml within layouts/application (11.7ms)
Completed 200 OK in 245ms (Views: 230.4ms | ActiveRecord: 2.3ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:42:05 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:42:05 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:42:05 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:42:05 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:42:05 -0600
Started GET "/system/polygallery/photos/photos/000/000/031/large/piece9.jpg?1412192400" for 127.0.0.1 at 2014-10-01 13:42:05 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/031/large/piece9.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (49.7ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:05 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:05 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:05 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:05 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:05 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:05 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:05 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:05 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:05 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:05 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:05 -0600
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 13:42:07 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 13]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mCustomGallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 25]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (21.6ms)
[1m[36mPolygallery::Photo Load (0.4ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 25]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (12.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (90.0ms)
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 26]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 26]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.4ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (24.4ms)
Rendered events/_simple_form.html.haml (376.3ms)
Rendered events/edit.html.haml within layouts/application (401.0ms)
Completed 200 OK in 670ms (Views: 656.1ms | ActiveRecord: 2.6ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:42:08 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:42:08 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:42:08 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:42:08 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:42:08 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:08 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:08 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:08 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:08 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:08 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:08 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:08 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:08 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:08 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:08 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:08 -0600
Started PATCH "/events/13" for 127.0.0.1 at 2014-10-01 13:42:20 -0600
Processing by EventsController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Another Template", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false", "id"=>"30"}}, "id"=>"25"}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece7.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece7.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false", "id"=>"31"}}, "id"=>"26"}}, "commit"=>"Update Event", "id"=>"13"}
[1m[36mEvent Load (0.4ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 13]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mCustomGallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35m (0.1ms)[0m BEGIN
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 AND "polygallery_photos"."id" IN (30)[0m [["gallery_id", 25]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 AND "polygallery_photos"."id" IN (31) [["gallery_id", 26]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80510-d0cviw.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80510-9cptme.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80510-9cptme.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80510-9cptme.jpg[0]' -auto-orient -resize "x300" -crop "300x300+50+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80510-9cptme20141001-80510-17zikiw'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80510-9cptme20141001-80510-17zikiw'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80510-9cptme.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80510-9cptme.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80510-9cptme.jpg[0]' -auto-orient -resize "x100" -crop "100x100+16+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80510-9cptme20141001-80510-qj1q3x'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80510-9cptme20141001-80510-qj1q3x'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80510-mk1hyq.jpg'
[1m[36mSQL (0.4ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_file_size" = $2, "photo_updated_at" = $3, "updated_at" = $4 WHERE "polygallery_photos"."id" = 31[0m [["photo_file_name", "piece7.jpg"], ["photo_file_size", 263091], ["photo_updated_at", "2014-10-01 19:42:20.146640"], ["updated_at", "2014-10-01 19:42:20.838122"]]
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/031/original/piece9.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/031/medium/piece9.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/031/thumb/piece9.jpg
[1m[35m (16.3ms)[0m COMMIT
Redirected to http://localhost:3000/events/13
Completed 302 Found in 903ms (ActiveRecord: 18.7ms)
Started GET "/events/13" for 127.0.0.1 at 2014-10-01 13:42:21 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 13]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mCustomGallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 25]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 26]]
Rendered events/show.html.haml within layouts/application (12.2ms)
Completed 200 OK in 255ms (Views: 240.7ms | ActiveRecord: 2.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:42:21 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:42:21 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:42:21 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:42:21 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:42:21 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:21 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:21 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:21 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:21 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:21 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:21 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:21 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:21 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:21 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:21 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:42:21 -0600
Started GET "/system/polygallery/photos/photos/000/000/031/large/piece7.jpg?1412192540" for 127.0.0.1 at 2014-10-01 13:42:21 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/031/large/piece7.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (54.3ms)
Started GET "/events/13" for 127.0.0.1 at 2014-10-01 13:46:07 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"13"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 13]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
Completed 500 Internal Server Error in 103ms
NoMethodError - undefined method `galleryable=' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:37:in `block in has_polygallery'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:226:in `init_with'
activerecord (4.1.4) lib/active_record/persistence.rb:52:in `instantiate'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `block in find_by_sql'
activerecord (4.1.4) lib/active_record/result.rb:55:in `block in each'
activerecord (4.1.4) lib/active_record/result.rb:55:in `each'
activerecord (4.1.4) lib/active_record/querying.rb:48:in `find_by_sql'
activerecord (4.1.4) lib/active_record/relation.rb:604:in `exec_queries'
activerecord (4.1.4) lib/active_record/relation.rb:486:in `load'
activerecord (4.1.4) lib/active_record/relation.rb:231:in `to_a'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:451:in `find_take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:98:in `take'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:418:in `find_one'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:404:in `find_with_ids'
activerecord (4.1.4) lib/active_record/relation/finder_methods.rb:68:in `find'
activerecord (4.1.4) lib/active_record/querying.rb:3:in `find'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70261309256240/variables" for 127.0.0.1 at 2014-10-01 13:46:08 -0600
Started GET "/events/13" for 127.0.0.1 at 2014-10-01 13:46:25 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 13]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mCustomGallery Load (0.5ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 25]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 26]]
Rendered events/show.html.haml within layouts/application (24.2ms)
Completed 200 OK in 339ms (Views: 243.4ms | ActiveRecord: 7.1ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:46:25 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:46:25 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:46:25 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:46:25 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:46:25 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:25 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:25 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:25 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:25 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:25 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:25 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:25 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:25 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:25 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:25 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:25 -0600
Started GET "/system/polygallery/photos/photos/000/000/031/large/piece7.jpg?1412192540" for 127.0.0.1 at 2014-10-01 13:46:25 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/031/large/piece7.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (78.3ms)
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 13:46:33 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 13]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mCustomGallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 25]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 25]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (27.0ms)
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 26]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 26]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (22.5ms)
Rendered events/_simple_form.html.haml (61.0ms)
Rendered events/edit.html.haml within layouts/application (74.6ms)
Completed 200 OK in 342ms (Views: 328.9ms | ActiveRecord: 2.1ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:46:33 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:46:33 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:46:33 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:46:33 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:46:33 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:33 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:34 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:34 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:34 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:34 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:34 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:34 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:34 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:34 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:34 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:34 -0600
Started PATCH "/events/13" for 127.0.0.1 at 2014-10-01 13:46:50 -0600
Processing by EventsController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Another Template", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false", "id"=>"30"}}, "id"=>"25"}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece9.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece9.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false", "id"=>"31"}}, "id"=>"26"}}, "commit"=>"Update Event", "id"=>"13"}
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 13]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35m (0.1ms)[0m BEGIN
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 AND "polygallery_photos"."id" IN (30)[0m [["gallery_id", 25]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 AND "polygallery_photos"."id" IN (31) [["gallery_id", 26]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80510-124dol3.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80510-n6wrdi.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80510-n6wrdi.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80510-n6wrdi.jpg[0]' -auto-orient -resize "x300" -crop "300x300+37+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80510-n6wrdi20141001-80510-5dcb2h'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80510-n6wrdi20141001-80510-5dcb2h'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80510-n6wrdi.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80510-n6wrdi.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80510-n6wrdi.jpg[0]' -auto-orient -resize "x100" -crop "100x100+12+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80510-n6wrdi20141001-80510-uw6xnv'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80510-n6wrdi20141001-80510-uw6xnv'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/dc56cbe308c1b7e3b2afaa58d596d90f20141001-80510-1maujlk.jpg'
[1m[36mSQL (0.4ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_file_size" = $2, "photo_updated_at" = $3, "updated_at" = $4 WHERE "polygallery_photos"."id" = 31[0m [["photo_file_name", "piece9.jpg"], ["photo_file_size", 81374], ["photo_updated_at", "2014-10-01 19:46:50.352668"], ["updated_at", "2014-10-01 19:46:51.283364"]]
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/031/original/piece7.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/031/medium/piece7.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/031/thumb/piece7.jpg
[1m[35m (15.3ms)[0m COMMIT
Redirected to http://localhost:3000/events/13
Completed 302 Found in 1135ms (ActiveRecord: 17.2ms)
Started GET "/events/13" for 127.0.0.1 at 2014-10-01 13:46:51 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 13]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mCustomGallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 25]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 26]]
Rendered events/show.html.haml within layouts/application (11.7ms)
Completed 200 OK in 263ms (Views: 247.7ms | ActiveRecord: 1.6ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:46:51 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:46:51 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:46:51 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:46:51 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:46:51 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:51 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:51 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:51 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:51 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:51 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:51 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:51 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:51 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:51 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:51 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:46:51 -0600
Started GET "/system/polygallery/photos/photos/000/000/031/large/piece9.jpg?1412192810" for 127.0.0.1 at 2014-10-01 13:46:51 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/031/large/piece9.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (52.8ms)
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 13:47:01 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 13]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mCustomGallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 25]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 25]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (23.0ms)
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 26]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 26]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (22.6ms)
Rendered events/_simple_form.html.haml (57.4ms)
Rendered events/edit.html.haml within layouts/application (70.9ms)
Completed 200 OK in 356ms (Views: 342.9ms | ActiveRecord: 2.1ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:47:02 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:47:02 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:47:02 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:47:02 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:47:02 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:02 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:02 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:02 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:02 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:02 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:02 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:02 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:02 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:02 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:02 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:02 -0600
Started GET "/events/13" for 127.0.0.1 at 2014-10-01 13:47:37 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by EventsController#show as HTML
Parameters: {"id"=>"13"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 13]]
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.4ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mCustomGallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 25]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 26]]
Rendered events/show.html.haml within layouts/application (32.5ms)
Completed 200 OK in 1111ms (Views: 810.9ms | ActiveRecord: 8.7ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:47:38 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:47:38 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:47:38 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:47:38 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:47:38 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:38 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:38 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:38 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:38 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:38 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:38 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:38 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:38 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:38 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:38 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:47:38 -0600
Started GET "/system/polygallery/photos/photos/000/000/031/large/piece9.jpg?1412192810" for 127.0.0.1 at 2014-10-01 13:47:38 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/031/large/piece9.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (113.3ms)
Started GET "/events/13" for 127.0.0.1 at 2014-10-01 13:50:13 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 13]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mCustomGallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 25]]
[1m[35mCACHE (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 26]]
Rendered events/show.html.haml within layouts/application (24.4ms)
Completed 200 OK in 391ms (Views: 247.3ms | ActiveRecord: 7.8ms)
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:50:13 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:50:13 -0600
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:50:13 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:50:13 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:50:13 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:50:13 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:50:13 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:50:14 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:50:14 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:50:14 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:50:14 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:50:14 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:50:14 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:50:14 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:50:14 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:50:14 -0600
Started GET "/system/polygallery/photos/photos/000/000/031/large/piece9.jpg?1412192810" for 127.0.0.1 at 2014-10-01 13:50:14 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/031/large/piece9.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (53.0ms)
Started GET "/events/13" for 127.0.0.1 at 2014-10-01 13:51:10 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"13"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 13]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mCustomGallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 25]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 26]]
Rendered events/show.html.haml within layouts/application (12.0ms)
Completed 200 OK in 259ms (Views: 243.5ms | ActiveRecord: 2.2ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:51:10 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:51:10 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:51:10 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:51:10 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:51:10 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:51:10 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:51:10 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:51:10 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:51:10 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:51:10 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:51:10 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:51:10 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:51:10 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:51:10 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:51:10 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:51:10 -0600
Started GET "/system/polygallery/photos/photos/000/000/031/large/piece9.jpg?1412192810" for 127.0.0.1 at 2014-10-01 13:51:10 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/031/large/piece9.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.7ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (49.5ms)
Started GET "/events/13" for 127.0.0.1 at 2014-10-01 13:52:02 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mEvent Load (0.6ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 13]]
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mCustomGallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 25]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 26]]
Rendered events/show.html.haml within layouts/application (53.2ms)
Completed 200 OK in 290ms (Views: 275.0ms | ActiveRecord: 2.4ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:02 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:02 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:02 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:02 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:02 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:02 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:02 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:02 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:02 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:02 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:02 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:02 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:02 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:02 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:02 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:02 -0600
Started GET "/system/polygallery/photos/photos/000/000/031/large/piece9.jpg?1412192810" for 127.0.0.1 at 2014-10-01 13:52:02 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/031/large/piece9.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (50.4ms)
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 13:52:04 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 13]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mCustomGallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 25]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (42.4ms)
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 25]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (7.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (114.1ms)
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 26]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 26]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (22.5ms)
Rendered events/_simple_form.html.haml (442.0ms)
Rendered events/edit.html.haml within layouts/application (465.2ms)
Completed 200 OK in 725ms (Views: 711.8ms | ActiveRecord: 2.3ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:05 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:05 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:05 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:05 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:05 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:05 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:05 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:05 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:05 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:05 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:05 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:05 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:05 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:05 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:05 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:05 -0600
Started PATCH "/events/13" for 127.0.0.1 at 2014-10-01 13:52:12 -0600
Processing by EventsController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Another Template", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false", "id"=>"30"}}, "id"=>"25"}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece6.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece6.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false", "id"=>"31"}}, "id"=>"26"}}, "commit"=>"Update Event", "id"=>"13"}
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 13]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mCustomGallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35m (0.1ms)[0m BEGIN
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 AND "polygallery_photos"."id" IN (30)[0m [["gallery_id", 25]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 AND "polygallery_photos"."id" IN (31) [["gallery_id", 26]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-80595-k5ycns.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-80595-2uwb8f.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-80595-2uwb8f.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-80595-2uwb8f.jpg[0]' -auto-orient -resize "x300" -crop "300x300+53+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-80595-2uwb8f20141001-80595-ll749t'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-80595-2uwb8f20141001-80595-ll749t'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-80595-2uwb8f.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-80595-2uwb8f.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-80595-2uwb8f.jpg[0]' -auto-orient -resize "x100" -crop "100x100+17+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-80595-2uwb8f20141001-80595-18uuiu7'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-80595-2uwb8f20141001-80595-18uuiu7'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d8f88f03001a435acebd60c44c2bb5a020141001-80595-fq0ok1.jpg'
[1m[36mSQL (0.4ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_file_size" = $2, "photo_updated_at" = $3, "updated_at" = $4 WHERE "polygallery_photos"."id" = 31[0m [["photo_file_name", "piece6.jpg"], ["photo_file_size", 478350], ["photo_updated_at", "2014-10-01 19:52:12.462387"], ["updated_at", "2014-10-01 19:52:13.318493"]]
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/031/original/piece9.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/031/medium/piece9.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/031/thumb/piece9.jpg
[1m[35m (15.7ms)[0m COMMIT
Redirected to http://localhost:3000/events/13
Completed 302 Found in 1039ms (ActiveRecord: 17.7ms)
Started GET "/events/13" for 127.0.0.1 at 2014-10-01 13:52:13 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 13]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 25]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 26]]
Rendered events/show.html.haml within layouts/application (12.0ms)
Completed 200 OK in 248ms (Views: 235.1ms | ActiveRecord: 1.5ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:13 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:13 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:13 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:13 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:13 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:13 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:13 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:13 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:13 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:13 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:13 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:13 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:13 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:13 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:13 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:13 -0600
Started GET "/system/polygallery/photos/photos/000/000/031/large/piece6.jpg?1412193132" for 127.0.0.1 at 2014-10-01 13:52:13 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/031/large/piece6.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (5.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (81.2ms)
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 13:52:15 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 13]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mCustomGallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 25]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.9ms)
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 25]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (22.6ms)
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 26]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.1ms)
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 26]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (67.1ms)
Rendered events/_simple_form.html.haml (101.7ms)
Rendered events/edit.html.haml within layouts/application (115.3ms)
Completed 200 OK in 406ms (Views: 392.0ms | ActiveRecord: 2.2ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:16 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:16 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:16 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:16 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 13:52:16 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:16 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:16 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:16 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:16 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:16 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:16 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:16 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:16 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:16 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:16 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 13:52:16 -0600
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 13:54:53 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
Completed 500 Internal Server Error in 55ms
NoMethodError - undefined method `defaults' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:10:in `has_polyphotos'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:24:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:19:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70208941865920/variables" for 127.0.0.1 at 2014-10-01 13:54:53 -0600
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 13:55:05 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
Completed 500 Internal Server Error in 35ms
NoMethodError - undefined method `defaults' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:10:in `has_polyphotos'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:24:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:19:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70208941246580/variables" for 127.0.0.1 at 2014-10-01 13:55:06 -0600
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 13:55:33 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
Completed 500 Internal Server Error in 20ms
NoMethodError - undefined method `defaults' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:10:in `has_polyphotos'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:24:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:19:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70208943925060/variables" for 127.0.0.1 at 2014-10-01 13:55:33 -0600
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 13:56:04 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
Completed 500 Internal Server Error in 21ms
NoMethodError - undefined method `defaults' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:10:in `has_polyphotos'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:24:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:19:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70361868187780/variables" for 127.0.0.1 at 2014-10-01 13:56:04 -0600
Started POST "/__better_errors/70361868187780/eval" for 127.0.0.1 at 2014-10-01 13:56:11 -0600
Started POST "/__better_errors/70361868187780/variables" for 127.0.0.1 at 2014-10-01 13:56:15 -0600
Started POST "/__better_errors/70361868187780/variables" for 127.0.0.1 at 2014-10-01 13:56:17 -0600
Started POST "/__better_errors/70361868187780/variables" for 127.0.0.1 at 2014-10-01 13:56:17 -0600
[1m[35mPolygallery::Gallery Load (0.9ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries"
Started POST "/__better_errors/70361868187780/variables" for 127.0.0.1 at 2014-10-01 13:56:19 -0600
Started POST "/__better_errors/70361868187780/eval" for 127.0.0.1 at 2014-10-01 13:56:24 -0600
Started POST "/__better_errors/70361868187780/eval" for 127.0.0.1 at 2014-10-01 13:56:30 -0600
Started POST "/__better_errors/70361868187780/eval" for 127.0.0.1 at 2014-10-01 13:56:38 -0600
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 13:56:50 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
Completed 500 Internal Server Error in 33ms
NoMethodError - undefined method `defaults' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:10:in `has_polyphotos'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:24:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:19:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70361897261980/variables" for 127.0.0.1 at 2014-10-01 13:56:51 -0600
Started POST "/__better_errors/70361897261980/eval" for 127.0.0.1 at 2014-10-01 13:56:56 -0600
Started POST "/__better_errors/70361897261980/variables" for 127.0.0.1 at 2014-10-01 13:56:59 -0600
Started POST "/__better_errors/70361897261980/variables" for 127.0.0.1 at 2014-10-01 13:56:59 -0600
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries"[0m
Started POST "/__better_errors/70361897261980/variables" for 127.0.0.1 at 2014-10-01 13:57:01 -0600
Started POST "/__better_errors/70361897261980/eval" for 127.0.0.1 at 2014-10-01 13:57:03 -0600
Started POST "/__better_errors/70361897261980/eval" for 127.0.0.1 at 2014-10-01 13:57:14 -0600
Started POST "/__better_errors/70361897261980/eval" for 127.0.0.1 at 2014-10-01 13:57:37 -0600
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 13:57:58 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
Completed 500 Internal Server Error in 18ms
NoMethodError - undefined method `defaults' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:10:in `has_polyphotos'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:24:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:19:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70361897618980/variables" for 127.0.0.1 at 2014-10-01 13:57:58 -0600
Started POST "/__better_errors/70361897618980/variables" for 127.0.0.1 at 2014-10-01 13:58:01 -0600
Started POST "/__better_errors/70361897618980/variables" for 127.0.0.1 at 2014-10-01 13:58:02 -0600
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries"
Started POST "/__better_errors/70361897618980/variables" for 127.0.0.1 at 2014-10-01 13:58:02 -0600
Started POST "/__better_errors/70361897618980/eval" for 127.0.0.1 at 2014-10-01 13:58:04 -0600
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 13:58:11 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
Completed 500 Internal Server Error in 39ms
NoMethodError - undefined method `defaults' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:10:in `has_polyphotos'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:24:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:19:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70361897701380/variables" for 127.0.0.1 at 2014-10-01 13:58:11 -0600
Started POST "/__better_errors/70361897701380/variables" for 127.0.0.1 at 2014-10-01 13:58:15 -0600
Started POST "/__better_errors/70361897701380/variables" for 127.0.0.1 at 2014-10-01 13:58:16 -0600
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries"[0m
Started POST "/__better_errors/70361897701380/eval" for 127.0.0.1 at 2014-10-01 13:58:20 -0600
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 13:58:43 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
Completed 500 Internal Server Error in 21ms
NoMethodError - undefined method `defaults' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:10:in `has_polyphotos'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:24:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:19:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70276461363420/variables" for 127.0.0.1 at 2014-10-01 13:58:43 -0600
Started POST "/__better_errors/70276461363420/variables" for 127.0.0.1 at 2014-10-01 13:58:53 -0600
Started POST "/__better_errors/70276461363420/variables" for 127.0.0.1 at 2014-10-01 13:58:59 -0600
[1m[35mPolygallery::Gallery Load (0.5ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries"
Started POST "/__better_errors/70276461363420/eval" for 127.0.0.1 at 2014-10-01 13:59:02 -0600
Started POST "/__better_errors/70276461363420/eval" for 127.0.0.1 at 2014-10-01 13:59:04 -0600
Started POST "/__better_errors/70276461363420/eval" for 127.0.0.1 at 2014-10-01 13:59:12 -0600
Started POST "/__better_errors/70276461363420/eval" for 127.0.0.1 at 2014-10-01 13:59:16 -0600
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 14:00:01 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
Completed 500 Internal Server Error in 62ms
NoMethodError - undefined method `defaults' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:10:in `has_polyphotos'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:24:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:19:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70276448671220/variables" for 127.0.0.1 at 2014-10-01 14:00:02 -0600
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 14:00:51 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
Completed 500 Internal Server Error in 20ms
NoMethodError - undefined method `defaults' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:10:in `has_polyphotos'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:24:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:19:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70276461776920/variables" for 127.0.0.1 at 2014-10-01 14:00:51 -0600
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 14:01:45 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
Completed 500 Internal Server Error in 28ms
NoMethodError - undefined method `defaults' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:11:in `has_polyphotos'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:24:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:19:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70238747789540/variables" for 127.0.0.1 at 2014-10-01 14:01:46 -0600
Started POST "/__better_errors/70238747789540/variables" for 127.0.0.1 at 2014-10-01 14:02:13 -0600
Started POST "/__better_errors/70238747789540/variables" for 127.0.0.1 at 2014-10-01 14:02:14 -0600
[1m[35mPolygallery::Gallery Load (0.5ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries"
Started POST "/__better_errors/70238747789540/eval" for 127.0.0.1 at 2014-10-01 14:02:17 -0600
[1m[36mCustomPhoto Load (0.5ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."class_name" IN ('CustomPhoto')[0m
[1m[35mPolygallery::Photo Load (1.1ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos"
[1m[36mPolygallery::Photo Load (1.1ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" ASC LIMIT 1[0m
[1m[35mPolygallery::Photo Load (0.6ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" ASC LIMIT 1
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 14:04:36 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
Completed 500 Internal Server Error in 50ms
NoMethodError - undefined method `defaults' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:11:in `has_polyphotos'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:24:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:19:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70238749204340/variables" for 127.0.0.1 at 2014-10-01 14:04:37 -0600
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 14:05:22 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
Completed 500 Internal Server Error in 15ms
NoMethodError - undefined method `defaults' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:11:in `has_polyphotos'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:24:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:19:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70238746774000/variables" for 127.0.0.1 at 2014-10-01 14:05:22 -0600
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 14:06:14 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
Completed 500 Internal Server Error in 15ms
NoMethodError - undefined method `defaults' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polyphotos.rb:11:in `has_polyphotos'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:24:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/has_polygallery.rb:19:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/events_controller.rb:52:in `fetch_event'
activesupport (4.1.4) lib/active_support/callbacks.rb:424:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:143:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70238748611180/variables" for 127.0.0.1 at 2014-10-01 14:06:14 -0600
[1m[36mPolygallery::Gallery Load (0.6ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" ORDER BY "polygallery_galleries"."id" ASC LIMIT 1[0m
[1m[35mPolygallery::Photo Exists (0.6ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
[1m[36mPolygallery::Gallery Load (0.7ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" ORDER BY "polygallery_galleries"."id" ASC LIMIT 1[0m
[1m[35mPolygallery::Photo Exists (0.5ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 1]]
Started GET "/events/13/edit" for 127.0.0.1 at 2014-10-01 14:07:29 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by EventsController#edit as HTML
Parameters: {"id"=>"13"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 13]]
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mCustomGallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.5ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 25]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (67.8ms)
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 25]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (7.9ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (273.4ms)
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 26]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.1ms)
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 26]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (171.7ms)
Rendered events/_simple_form.html.haml (1484.6ms)
Rendered events/edit.html.haml within layouts/application (1497.1ms)
Completed 200 OK in 3166ms (Views: 2943.4ms | ActiveRecord: 9.3ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:07:33 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:07:33 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:07:33 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:07:33 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:33 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:07:33 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:33 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:33 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:33 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:33 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:33 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:33 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:33 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:33 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:33 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:33 -0600
Started PATCH "/events/13" for 127.0.0.1 at 2014-10-01 14:07:43 -0600
Processing by EventsController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Another Template", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false", "id"=>"30"}}, "id"=>"25"}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece7.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece7.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false", "id"=>"31"}}, "id"=>"26"}}, "commit"=>"Update Event", "id"=>"13"}
[1m[36mEvent Load (0.4ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 13]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35m (0.2ms)[0m BEGIN
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 AND "polygallery_photos"."id" IN (30)[0m [["gallery_id", 25]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 AND "polygallery_photos"."id" IN (31) [["gallery_id", 26]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80868-17h4lcd.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80868-1q3otoz.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80868-1q3otoz.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80868-1q3otoz.jpg[0]' -auto-orient -resize "x300" -crop "300x300+50+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80868-1q3otoz20141001-80868-yi4vl0'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80868-1q3otoz20141001-80868-yi4vl0'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80868-1q3otoz.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80868-1q3otoz.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80868-1q3otoz.jpg[0]' -auto-orient -resize "x100" -crop "100x100+16+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80868-1q3otoz20141001-80868-10kroqn'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80868-1q3otoz20141001-80868-10kroqn'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/1594c50e295324d36cefddbc3c4bb48d20141001-80868-dv7mq0.jpg'
[1m[36mSQL (0.4ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_file_size" = $2, "photo_updated_at" = $3, "updated_at" = $4 WHERE "polygallery_photos"."id" = 31[0m [["photo_file_name", "piece7.jpg"], ["photo_file_size", 263091], ["photo_updated_at", "2014-10-01 20:07:43.824034"], ["updated_at", "2014-10-01 20:07:44.629014"]]
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/031/original/piece6.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/031/medium/piece6.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/031/thumb/piece6.jpg
[1m[35m (33.1ms)[0m COMMIT
Redirected to http://localhost:3000/events/13
Completed 302 Found in 1026ms (ActiveRecord: 35.4ms)
Started GET "/events/13" for 127.0.0.1 at 2014-10-01 14:07:44 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 13]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mCustomGallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35mCACHE (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 25]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 26]]
Rendered events/show.html.haml within layouts/application (18.9ms)
Completed 200 OK in 291ms (Views: 277.9ms | ActiveRecord: 2.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:07:45 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:07:45 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:07:45 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:07:45 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:07:45 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:45 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:45 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:45 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:45 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:45 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:45 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:45 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:45 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:45 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:45 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:07:45 -0600
Started GET "/system/polygallery/photos/photos/000/000/031/large/piece7.jpg?1412194063" for 127.0.0.1 at 2014-10-01 14:07:45 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/031/large/piece7.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (63.8ms)
Started GET "/events/13" for 127.0.0.1 at 2014-10-01 14:09:00 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"13"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 13]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mCustomGallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mCACHE (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 25]]
[1m[36mCACHE (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 26]]
Rendered events/show.html.haml within layouts/application (23.3ms)
Completed 200 OK in 442ms (Views: 275.6ms | ActiveRecord: 6.8ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:01 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:01 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:01 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:01 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:01 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:01 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:01 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:01 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:01 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:01 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:01 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:01 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:01 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:01 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:01 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:01 -0600
Started GET "/system/polygallery/photos/photos/000/000/031/large/piece7.jpg?1412194063" for 127.0.0.1 at 2014-10-01 14:09:01 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/031/large/piece7.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (53.5ms)
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 13]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35mEvent Load (0.5ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 13]]
[1m[36mPolygallery::Gallery Load (0.4ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 25]]
[1m[36mCustomGallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 26]]
[1m[36mEvent Load (0.4ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 13]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mCustomGallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 26]]
Started DELETE "/events/13" for 127.0.0.1 at 2014-10-01 14:09:39 -0600
Processing by EventsController#destroy as HTML
Parameters: {"authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "id"=>"13"}
[1m[36mEvent Load (0.4ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 13]]
[1m[35mPolygallery::Gallery Load (0.5ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 25]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 13], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 26]]
[1m[35m (0.2ms)[0m BEGIN
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 25]]
[1m[35mSQL (0.3ms)[0m DELETE FROM "polygallery_photos" WHERE "polygallery_photos"."id" = $1 [["id", 30]]
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1[0m [["id", 25]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 26]]
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "polygallery_photos" WHERE "polygallery_photos"."id" = $1[0m [["id", 31]]
[1m[35mSQL (0.2ms)[0m DELETE FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."id" = $1 [["id", 26]]
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "events" WHERE "events"."id" = $1[0m [["id", 13]]
[1m[35m (18.7ms)[0m COMMIT
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/030/original/piece10.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/030/medium/piece10.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/030/thumb/piece10.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/031/original/piece7.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/031/medium/piece7.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/031/thumb/piece7.jpg
Redirected to http://localhost:3000/events
Completed 302 Found in 116ms (ActiveRecord: 22.2ms)
Started GET "/events" for 127.0.0.1 at 2014-10-01 14:09:39 -0600
Processing by EventsController#index as HTML
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "events"[0m
[1m[35mEvent Load (0.5ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."updated_at" DESC
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 6]]
[1m[36mCustomGallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 6], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 5]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 5], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 4]]
[1m[36mCustomGallery Load (0.1ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 4], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 3]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 3], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 2]]
[1m[36mCustomGallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 2], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 1]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 1], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Load (0.5ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" IN (6, 5, 4, 3, 2, 1)[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 6]]
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 5]]
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 4]]
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 3]]
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 2]]
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 1]]
Rendered events/index.html.haml within layouts/application (164.9ms)
Completed 200 OK in 399ms (Views: 392.0ms | ActiveRecord: 6.5ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:39 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:39 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:39 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:39 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:39 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:39 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:39 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:39 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:39 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:39 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:39 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:39 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:39 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:39 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:39 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:39 -0600
Started GET "/events/new" for 127.0.0.1 at 2014-10-01 14:09:40 -0600
Processing by EventsController#new as HTML
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (23.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.7ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (56.6ms)
Rendered events/_simple_form.html.haml (129.8ms)
Rendered events/new.html.haml within layouts/application (141.2ms)
Completed 200 OK in 384ms (Views: 374.7ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:41 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:41 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:41 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2014-10-01 14:09:41 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:41 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:41 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:41 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:41 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:41 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:41 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:41 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:41 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:41 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:41 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:41 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:41 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:41 -0600
Started POST "/events" for 127.0.0.1 at 2014-10-01 14:09:53 -0600
Processing by EventsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Test Event", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece8.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece8.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece4.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece4.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false"}}}}, "commit"=>"Create Event"}
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d7f3219c0705c4f09636781f20f9b00c20141001-80868-10phcx4.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d7f3219c0705c4f09636781f20f9b00c20141001-80868-12c2x4l.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d7f3219c0705c4f09636781f20f9b00c20141001-80868-12c2x4l.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d7f3219c0705c4f09636781f20f9b00c20141001-80868-12c2x4l.jpg[0]' -auto-orient -resize "x300" -crop "300x300+75+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d7f3219c0705c4f09636781f20f9b00c20141001-80868-12c2x4l20141001-80868-1xdpbj3'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d7f3219c0705c4f09636781f20f9b00c20141001-80868-12c2x4l20141001-80868-1xdpbj3'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d7f3219c0705c4f09636781f20f9b00c20141001-80868-12c2x4l.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d7f3219c0705c4f09636781f20f9b00c20141001-80868-12c2x4l.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d7f3219c0705c4f09636781f20f9b00c20141001-80868-12c2x4l.jpg[0]' -auto-orient -resize "x100" -crop "100x100+25+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d7f3219c0705c4f09636781f20f9b00c20141001-80868-12c2x4l20141001-80868-1s0fgw8'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d7f3219c0705c4f09636781f20f9b00c20141001-80868-12c2x4l20141001-80868-1s0fgw8'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-xez26l.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-1xmdcn7.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-1xmdcn7.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-1xmdcn7.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-1xmdcn720141001-80868-1xtuprq'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-1xmdcn720141001-80868-1xtuprq'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-1xmdcn7.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-1xmdcn7.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-1xmdcn7.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-1xmdcn720141001-80868-prjzqr'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-1xmdcn720141001-80868-prjzqr'
[1m[35m (0.2ms)[0m BEGIN
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d7f3219c0705c4f09636781f20f9b00c20141001-80868-13jylqr.jpg'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-15mo2nv.jpg'
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "events" ("created_at", "title", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["created_at", "2014-10-01 20:09:54.677357"], ["title", "Test Event"], ["updated_at", "2014-10-01 20:09:54.677357"]]
[1m[35mSQL (0.3ms)[0m INSERT INTO "polygallery_galleries" ("created_at", "galleryable_id", "galleryable_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-10-01 20:09:54.683211"], ["galleryable_id", 14], ["galleryable_type", "Event"], ["updated_at", "2014-10-01 20:09:54.683211"]]
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["caption", ""], ["created_at", "2014-10-01 20:09:54.686014"], ["gallery_id", 27], ["photo_content_type", "image/jpeg"], ["photo_file_name", "piece8.jpg"], ["photo_file_size", 52870], ["photo_updated_at", "2014-10-01 20:09:53.400321"], ["updated_at", "2014-10-01 20:09:54.686014"]]
[1m[35mSQL (0.3ms)[0m INSERT INTO "polygallery_galleries" ("class_name", "created_at", "galleryable_id", "galleryable_type", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["class_name", "CustomGallery"], ["created_at", "2014-10-01 20:09:54.794812"], ["galleryable_id", 14], ["galleryable_type", "Event"], ["title", "custom_gallery"], ["updated_at", "2014-10-01 20:09:54.794812"]]
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "polygallery_photos" ("caption", "created_at", "gallery_id", "photo_content_type", "photo_file_name", "photo_file_size", "photo_updated_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["caption", ""], ["created_at", "2014-10-01 20:09:54.798467"], ["gallery_id", 28], ["photo_content_type", "image/jpeg"], ["photo_file_name", "piece4.jpg"], ["photo_file_size", 300340], ["photo_updated_at", "2014-10-01 20:09:54.204573"], ["updated_at", "2014-10-01 20:09:54.798467"]]
[1m[35m (15.8ms)[0m COMMIT
Redirected to http://localhost:3000/events/14
Completed 302 Found in 1535ms (ActiveRecord: 17.5ms)
Started GET "/events/14" for 127.0.0.1 at 2014-10-01 14:09:54 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 14]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 27]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 28]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 27]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 28]]
Rendered events/show.html.haml within layouts/application (12.0ms)
Completed 200 OK in 335ms (Views: 322.4ms | ActiveRecord: 1.6ms)
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:55 -0600
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:55 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:55 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:55 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:09:55 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:55 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:55 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:55 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:55 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:55 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:55 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:55 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:55 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:55 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:55 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:09:55 -0600
Started GET "/system/polygallery/photos/photos/000/000/033/large/piece4.jpg?1412194194" for 127.0.0.1 at 2014-10-01 14:09:55 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/033/large/piece4.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (51.8ms)
[1m[36mEvent Load (0.5ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 14]]
[1m[35mPolygallery::Gallery Load (0.4ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 27]]
[1m[35mCustomGallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 28]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 28]]
Started GET "/events/14" for 127.0.0.1 at 2014-10-01 14:16:01 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"14"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 14]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
[1m[36mCustomGallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 27]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 27]]
Rendered events/show.html.haml within layouts/application (88.6ms)
Completed 500 Internal Server Error in 394ms
RuntimeError - Polygallery::Photo:
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/photo.rb:9:in `block in '
paperclip (4.2.0) lib/paperclip/attachment.rb:197:in `styles'
paperclip (4.2.0) lib/paperclip/interpolations.rb:100:in `extension'
paperclip (4.2.0) lib/paperclip/interpolations.rb:45:in `filename'
paperclip (4.2.0) lib/paperclip/interpolations.rb:34:in `block (2 levels) in interpolate'
paperclip (4.2.0) lib/paperclip/interpolations.rb:33:in `block in interpolate'
paperclip (4.2.0) lib/paperclip/interpolations.rb:32:in `interpolate'
paperclip (4.2.0) lib/paperclip/url_generator.rb:13:in `for'
paperclip (4.2.0) lib/paperclip/attachment.rb:142:in `url'
app/views/events/show.html.haml:15:in `block in _app_views_events_show_html_haml__2404180376425306382_70366570095460'
activerecord (4.1.4) lib/active_record/relation/delegation.rb:46:in `each'
app/views/events/show.html.haml:14:in `_app_views_events_show_html_haml__2404180376425306382_70366570095460'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70366554085100/variables" for 127.0.0.1 at 2014-10-01 14:16:02 -0600
Started GET "/events/14" for 127.0.0.1 at 2014-10-01 14:16:22 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 14]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 27]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 28]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 27]]
Rendered events/show.html.haml within layouts/application (18.1ms)
Completed 500 Internal Server Error in 137ms
TypeError - can't dup NilClass:
paperclip (4.2.0) lib/paperclip/attachment.rb:199:in `styles'
paperclip (4.2.0) lib/paperclip/interpolations.rb:100:in `extension'
paperclip (4.2.0) lib/paperclip/interpolations.rb:45:in `filename'
paperclip (4.2.0) lib/paperclip/interpolations.rb:34:in `block (2 levels) in interpolate'
paperclip (4.2.0) lib/paperclip/interpolations.rb:33:in `block in interpolate'
paperclip (4.2.0) lib/paperclip/interpolations.rb:32:in `interpolate'
paperclip (4.2.0) lib/paperclip/url_generator.rb:13:in `for'
paperclip (4.2.0) lib/paperclip/attachment.rb:142:in `url'
app/views/events/show.html.haml:15:in `block in _app_views_events_show_html_haml__2404180376425306382_70366570095460'
activerecord (4.1.4) lib/active_record/relation/delegation.rb:46:in `each'
app/views/events/show.html.haml:14:in `_app_views_events_show_html_haml__2404180376425306382_70366570095460'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70366553884120/variables" for 127.0.0.1 at 2014-10-01 14:16:22 -0600
Started GET "/events/14" for 127.0.0.1 at 2014-10-01 14:16:50 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"14"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 14]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
[1m[36mCustomGallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 27]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 27]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 28]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 28]]
Rendered events/show.html.haml within layouts/application (22.8ms)
Completed 200 OK in 364ms (Views: 283.8ms | ActiveRecord: 6.9ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:16:51 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:16:51 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:16:51 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:16:51 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:16:51 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:51 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:51 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:51 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:51 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:51 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:51 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:51 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:51 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:51 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:51 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:51 -0600
Started GET "/system/polygallery/photos/photos/000/000/033/large/piece4.jpg?1412194194" for 127.0.0.1 at 2014-10-01 14:16:51 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/033/large/piece4.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (52.8ms)
Started GET "/events/14/edit" for 127.0.0.1 at 2014-10-01 14:16:56 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"14"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 14]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 27]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 28]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 27]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 27]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.2ms)
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 27]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (38.4ms)
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 28]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 28]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (22.6ms)
Rendered events/_simple_form.html.haml (110.9ms)
Rendered events/edit.html.haml within layouts/application (124.5ms)
Completed 200 OK in 390ms (Views: 376.4ms | ActiveRecord: 2.2ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:16:57 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:16:57 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:16:57 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:16:57 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:16:57 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:57 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:57 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:57 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:57 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:57 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:57 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:57 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:57 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:57 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:57 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:16:57 -0600
Started GET "/events/14/edit" for 127.0.0.1 at 2014-10-01 14:17:08 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"14"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 14]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
[1m[36mCustomGallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 27]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 27]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (38.1ms)
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 28]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 28]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.3ms)
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 28]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (22.9ms)
Rendered events/_simple_form.html.haml (72.9ms)
Rendered events/edit.html.haml within layouts/application (74.1ms)
Completed 200 OK in 359ms (Views: 289.0ms | ActiveRecord: 6.9ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:17:09 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:17:09 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:17:09 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:17:09 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:17:09 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:17:09 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:17:09 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:17:09 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:17:09 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:17:09 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:17:09 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:17:09 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:17:09 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:17:09 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:17:09 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:17:09 -0600
Started GET "/events/14/edit" for 127.0.0.1 at 2014-10-01 14:18:21 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"14"}
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 14]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 27]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 28]]
[1m[35mPolygallery::Gallery Load (0.5ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 27]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 27]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.1ms)
[1m[35mPolygallery::Photo Load (0.5ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 27]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (57.2ms)
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 28]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.2ms)
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 28]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (23.9ms)
Rendered events/_simple_form.html.haml (131.2ms)
Rendered events/edit.html.haml within layouts/application (143.2ms)
Completed 200 OK in 411ms (Views: 397.0ms | ActiveRecord: 2.7ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:18:22 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:18:22 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:18:22 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:18:22 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:18:22 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:22 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:22 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:22 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:22 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:22 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:22 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:22 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:22 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:22 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:22 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:22 -0600
Started PATCH "/events/14" for 127.0.0.1 at 2014-10-01 14:18:34 -0600
Processing by EventsController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Test Event", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false", "id"=>"32"}}, "id"=>"27"}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece5.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece5.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false", "id"=>"33"}}, "id"=>"28"}}, "commit"=>"Update Event", "id"=>"14"}
[1m[35mEvent Load (0.5ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 14]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
[1m[36mCustomGallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]]
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 AND "polygallery_photos"."id" IN (32) [["gallery_id", 27]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 AND "polygallery_photos"."id" IN (33)[0m [["gallery_id", 28]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-80868-bsglox.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-80868-1o1805p.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-80868-1o1805p.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-80868-1o1805p.jpg[0]' -auto-orient -resize "x300" -crop "300x300+64+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-80868-1o1805p20141001-80868-1gn4tl7'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-80868-1o1805p20141001-80868-1gn4tl7'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-80868-1o1805p.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-80868-1o1805p.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-80868-1o1805p.jpg[0]' -auto-orient -resize "x100" -crop "100x100+21+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-80868-1o1805p20141001-80868-491hx6'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-80868-1o1805p20141001-80868-491hx6'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/73b298f6b3dd0afc78b0dcd1f0da479720141001-80868-72nvq8.jpg'
[1m[35mSQL (0.3ms)[0m UPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_file_size" = $2, "photo_updated_at" = $3, "updated_at" = $4 WHERE "polygallery_photos"."id" = 33 [["photo_file_name", "piece5.jpg"], ["photo_file_size", 335109], ["photo_updated_at", "2014-10-01 20:18:34.900058"], ["updated_at", "2014-10-01 20:18:35.912491"]]
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/033/original/piece4.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/033/medium/piece4.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/033/thumb/piece4.jpg
[1m[36m (22.1ms)[0m [1mCOMMIT[0m
Redirected to http://localhost:3000/events/14
Completed 302 Found in 1208ms (ActiveRecord: 24.2ms)
Started GET "/events/14" for 127.0.0.1 at 2014-10-01 14:18:36 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"14"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 14]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.3ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
[1m[36mCustomGallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 27]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 27]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 28]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 28]]
Rendered events/show.html.haml within layouts/application (55.1ms)
Completed 200 OK in 316ms (Views: 301.8ms | ActiveRecord: 1.6ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:18:36 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:18:36 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:18:36 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:18:36 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:18:36 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:36 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:36 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:36 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:36 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:36 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:36 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:36 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:36 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:36 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:36 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:18:36 -0600
Started GET "/system/polygallery/photos/photos/000/000/033/large/piece5.jpg?1412194714" for 127.0.0.1 at 2014-10-01 14:18:36 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/033/large/piece5.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (53.3ms)
Started GET "/events/14" for 127.0.0.1 at 2014-10-01 14:19:30 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 14]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 27]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 28]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 27]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 28]]
Rendered events/show.html.haml within layouts/application (22.2ms)
Completed 200 OK in 416ms (Views: 241.5ms | ActiveRecord: 6.5ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:19:30 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:19:30 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:19:30 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:19:30 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:19:30 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:30 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:30 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:30 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:30 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:30 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:30 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:30 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:30 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:30 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:30 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:30 -0600
Started GET "/system/polygallery/photos/photos/000/000/033/large/piece5.jpg?1412194714" for 127.0.0.1 at 2014-10-01 14:19:30 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/033/large/piece5.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (52.5ms)
Started GET "/events/14/edit" for 127.0.0.1 at 2014-10-01 14:19:35 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"14"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 14]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
[1m[36mCustomGallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 27]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 27]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.0ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (27.3ms)
[1m[35mPolygallery::Gallery Load (43.6ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 28]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 28]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
[1m[35mPolygallery::Photo Load (0.4ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 28]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (66.4ms)
Rendered events/_simple_form.html.haml (105.1ms)
Rendered events/edit.html.haml within layouts/application (106.2ms)
Completed 200 OK in 335ms (Views: 278.9ms | ActiveRecord: 45.5ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:19:35 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:19:36 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:19:36 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:19:36 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:19:36 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:36 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:36 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:36 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:36 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:36 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:36 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:36 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:36 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:36 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:36 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:36 -0600
Started GET "/events/14/edit" for 127.0.0.1 at 2014-10-01 14:19:46 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"14"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 14]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 27]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 28]]
[1m[35mPolygallery::Gallery Load (0.3ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 27]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 27]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.7ms)
[1m[35mPolygallery::Photo Load (0.4ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 27]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (7.2ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (105.7ms)
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 28]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.4ms)
[1m[36mPolygallery::Photo Load (0.4ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 28]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (28.7ms)
Rendered events/_simple_form.html.haml (146.7ms)
Rendered events/edit.html.haml within layouts/application (147.9ms)
Completed 200 OK in 481ms (Views: 399.2ms | ActiveRecord: 7.6ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:19:47 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:19:47 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:19:47 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:19:47 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:19:47 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:47 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:47 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:47 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:47 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:47 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:47 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:47 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:47 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:47 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:47 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:19:47 -0600
Started GET "/events/14/edit" for 127.0.0.1 at 2014-10-01 14:19:51 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"14"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 14]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
[1m[36mCustomGallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 27]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 27]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.8ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (39.5ms)
Rendered events/_simple_form.html.haml (46.5ms)
Rendered events/edit.html.haml within layouts/application (47.5ms)
Completed 500 Internal Server Error in 173ms
NoMethodError - undefined method `class_namee' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/models/polygallery/photo.rb:9:in `block in '
paperclip (4.2.0) lib/paperclip/attachment.rb:197:in `styles'
paperclip (4.2.0) lib/paperclip/interpolations.rb:100:in `extension'
paperclip (4.2.0) lib/paperclip/interpolations.rb:45:in `filename'
paperclip (4.2.0) lib/paperclip/interpolations.rb:34:in `block (2 levels) in interpolate'
paperclip (4.2.0) lib/paperclip/interpolations.rb:33:in `block in interpolate'
paperclip (4.2.0) lib/paperclip/interpolations.rb:32:in `interpolate'
paperclip (4.2.0) lib/paperclip/url_generator.rb:13:in `for'
paperclip (4.2.0) lib/paperclip/attachment.rb:142:in `url'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml:3:in `___pplications_______xamppfiles_htdocs_polygallery_app_views_polygallery_photos__simple_fields_for_html_haml___1525572977107004727_70366554128820'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:20:in `block (2 levels) in ___pplications_______xamppfiles_htdocs_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__2883879494787992231_70366569543660'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1845:in `block in fields_for_with_nested_attributes'
activerecord (4.1.4) lib/active_record/relation/delegation.rb:46:in `each'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1843:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.0.2) lib/simple_form/action_view_extensions/builder.rb:26:in `simple_fields_for'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:19:in `block in ___pplications_______xamppfiles_htdocs_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__2883879494787992231_70366569543660'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1849:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.0.2) lib/simple_form/action_view_extensions/builder.rb:26:in `simple_fields_for'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:1:in `___pplications_______xamppfiles_htdocs_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__2883879494787992231_70366569543660'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Applications/XAMPP/xamppfiles/htdocs/polygallery/lib/polygallery/view_helpers.rb:17:in `simple_fields_for_polygallery'
app/views/events/_simple_form.html.haml:4:in `block in _app_views_events__simple_form_html_haml__234804676568745418_70366554329340'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:434:in `form_for'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:22:in `block in simple_form_for'
simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:41:in `with_simple_form_field_error_proc'
simple_form (3.0.2) lib/simple_form/action_view_extensions/form_helper.rb:21:in `simple_form_for'
app/views/events/_simple_form.html.haml:1:in `_app_views_events__simple_form_html_haml__234804676568745418_70366554329340'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:35:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
app/views/events/edit.html.haml:5:in `_app_views_events_edit_html_haml___989783356103705164_70366554067560'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/lock.rb:17:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
() Users/smit1625/.rvm/gems/ruby-2.0.0-p353@global/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70366596980260/variables" for 127.0.0.1 at 2014-10-01 14:19:52 -0600
Started GET "/events/14/edit" for 127.0.0.1 at 2014-10-01 14:20:02 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"14"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 14]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
[1m[36mCustomGallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 27]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 27]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (38.0ms)
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 28]]
[1m[36mCACHE (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 28]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.1ms)
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 28]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.5ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (23.7ms)
Rendered events/_simple_form.html.haml (73.5ms)
Rendered events/edit.html.haml within layouts/application (74.8ms)
Completed 200 OK in 359ms (Views: 291.7ms | ActiveRecord: 6.5ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:02 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:02 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:02 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:02 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:02 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:02 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:02 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:02 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:02 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:02 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:02 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:02 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:02 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:02 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:03 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:03 -0600
Started PATCH "/events/14" for 127.0.0.1 at 2014-10-01 14:20:10 -0600
Processing by EventsController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Test Event", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false", "id"=>"32"}}, "id"=>"27"}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece4.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece4.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false", "id"=>"33"}}, "id"=>"28"}}, "commit"=>"Update Event", "id"=>"14"}
[1m[36mEvent Load (0.3ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 14]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 27]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 28]]
[1m[35m (0.1ms)[0m BEGIN
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 AND "polygallery_photos"."id" IN (32)[0m [["gallery_id", 27]]
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 AND "polygallery_photos"."id" IN (33) [["gallery_id", 28]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-1gblk8z.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-aw7yh0.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-aw7yh0.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-aw7yh0.jpg[0]' -auto-orient -resize "300x" -crop "300x300+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-aw7yh020141001-80868-qoo6gj'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-aw7yh020141001-80868-qoo6gj'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-aw7yh0.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-aw7yh0.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-aw7yh0.jpg[0]' -auto-orient -resize "100x" -crop "100x100+0+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-aw7yh020141001-80868-anceim'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-aw7yh020141001-80868-anceim'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/d3120c648982c977da4c187302889abf20141001-80868-1ol1v37.jpg'
[1m[36mSQL (0.4ms)[0m [1mUPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_file_size" = $2, "photo_updated_at" = $3, "updated_at" = $4 WHERE "polygallery_photos"."id" = 33[0m [["photo_file_name", "piece4.jpg"], ["photo_file_size", 300340], ["photo_updated_at", "2014-10-01 20:20:10.790739"], ["updated_at", "2014-10-01 20:20:11.354140"]]
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/033/original/piece5.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/033/medium/piece5.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/033/thumb/piece5.jpg
[1m[35m (35.4ms)[0m COMMIT
Redirected to http://localhost:3000/events/14
Completed 302 Found in 950ms (ActiveRecord: 37.3ms)
Started GET "/events/14" for 127.0.0.1 at 2014-10-01 14:20:11 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 14]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 27]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 28]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 27]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]]
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 28]]
Rendered events/show.html.haml within layouts/application (12.6ms)
Completed 200 OK in 254ms (Views: 240.7ms | ActiveRecord: 1.7ms)
Started GET "/system/polygallery/photos/photos/000/000/033/large/piece4.jpg?1412194810" for 127.0.0.1 at 2014-10-01 14:20:12 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/033/large/piece4.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (54.6ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:12 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:12 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:12 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:12 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:12 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:12 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:12 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:12 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:12 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:12 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:12 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:12 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:12 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:12 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:12 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:12 -0600
Started GET "/events/14/edit" for 127.0.0.1 at 2014-10-01 14:20:18 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"14"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 14]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
[1m[36mCustomGallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.2ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]]
[1m[36mPolygallery::Gallery Load (0.3ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 27]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
[1m[36mPolygallery::Photo Load (0.3ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 27]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (68.4ms)
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 28]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 28]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 28]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.3ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (22.7ms)
Rendered events/_simple_form.html.haml (102.7ms)
Rendered events/edit.html.haml within layouts/application (103.8ms)
Completed 200 OK in 335ms (Views: 322.2ms | ActiveRecord: 2.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:18 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:18 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:18 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:18 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:18 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:18 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:18 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:18 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:18 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:18 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:18 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:18 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:18 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:18 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:18 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:18 -0600
Started GET "/events/14/edit" for 127.0.0.1 at 2014-10-01 14:20:47 -0600
Processing by EventsController#edit as HTML
Parameters: {"id"=>"14"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 14]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 27]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 28]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1 [["id", 27]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 27]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.0ms)
[1m[35mPolygallery::Photo Load (0.3ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 27]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (38.8ms)
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."id" = $1 LIMIT 1[0m [["id", 28]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.2ms)
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 28]]
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.6ms)
Rendered /Applications/XAMPP/xamppfiles/htdocs/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (24.0ms)
Rendered events/_simple_form.html.haml (74.7ms)
Rendered events/edit.html.haml within layouts/application (75.9ms)
Completed 200 OK in 475ms (Views: 297.0ms | ActiveRecord: 7.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:48 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:48 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:48 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:48 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:20:48 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:48 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:48 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:48 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:48 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:48 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:48 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:48 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:48 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:48 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:48 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:20:48 -0600
Started PATCH "/events/14" for 127.0.0.1 at 2014-10-01 14:20:59 -0600
Processing by EventsController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rV9GEEAxhhpIipIspD7+wrUBy4l0vYXgHr98/L9L9m4=", "event"=>{"title"=>"Test Event", "gallery_attributes"=>{"title"=>"gallery", "photos_attributes"=>{"0"=>{"caption"=>"", "_destroy"=>"false", "id"=>"32"}}, "id"=>"27"}, "custom_gallery_attributes"=>{"title"=>"custom_gallery", "photos_attributes"=>{"0"=>{"photo"=>#, @original_filename="piece10.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"event[custom_gallery_attributes][photos_attributes][0][photo]\"; filename=\"piece10.jpg\"\r\nContent-Type: image/jpeg\r\n">, "caption"=>"", "_destroy"=>"false", "id"=>"33"}}, "id"=>"28"}}, "commit"=>"Update Event", "id"=>"14"}
[1m[35mEvent Load (0.3ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 14]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
[1m[36mCustomGallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]]
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 AND "polygallery_photos"."id" IN (32) [["gallery_id", 27]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 AND "polygallery_photos"."id" IN (33)[0m [["gallery_id", 28]]
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80868-r1nu37.jpg'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80868-oci23j.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80868-oci23j.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80868-oci23j.jpg[0]' -auto-orient -resize "x300" -crop "300x300+42+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80868-oci23j20141001-80868-1uhubjv'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80868-oci23j20141001-80868-1uhubjv'
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80868-oci23j.jpg[0]' 2>/dev/null
Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80868-oci23j.jpg[0]'
Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80868-oci23j.jpg[0]' -auto-orient -resize "x100" -crop "100x100+14+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80868-oci23j20141001-80868-2zei5w'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80868-oci23j20141001-80868-2zei5w'
Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/67b79b0d23cbc7db1921e608593ec37920141001-80868-9akhvf.jpg'
[1m[35mSQL (0.6ms)[0m UPDATE "polygallery_photos" SET "photo_file_name" = $1, "photo_file_size" = $2, "photo_updated_at" = $3, "updated_at" = $4 WHERE "polygallery_photos"."id" = 33 [["photo_file_name", "piece10.jpg"], ["photo_file_size", 101471], ["photo_updated_at", "2014-10-01 20:20:59.750175"], ["updated_at", "2014-10-01 20:21:00.199588"]]
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/033/original/piece4.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/033/medium/piece4.jpg
[paperclip] deleting /Applications/XAMPP/xamppfiles/htdocs/polygallery/test/dummy/public/system/polygallery/photos/photos/000/000/033/thumb/piece4.jpg
[1m[36m (15.4ms)[0m [1mCOMMIT[0m
Redirected to http://localhost:3000/events/14
Completed 302 Found in 672ms (ActiveRecord: 17.5ms)
Started GET "/events/14" for 127.0.0.1 at 2014-10-01 14:21:00 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"14"}
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 14]]
[1m[36mPolygallery::Gallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
[1m[36mCustomGallery Load (0.2ms)[0m [1mSELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1[0m [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[35mPolygallery::Photo Exists (0.1ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]]
[1m[36mCACHE (0.1ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 27]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 27]]
[1m[36mCACHE (0.0ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 28]]
[1m[35mPolygallery::Photo Load (0.2ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 [["gallery_id", 28]]
Rendered events/show.html.haml within layouts/application (11.5ms)
Completed 200 OK in 245ms (Views: 232.8ms | ActiveRecord: 1.3ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:21:00 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:21:00 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:21:00 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:21:00 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:21:00 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:21:00 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:21:00 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:21:00 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:21:00 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:21:00 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:21:00 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:21:00 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:21:00 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:21:00 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:21:00 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:21:00 -0600
Started GET "/system/polygallery/photos/photos/000/000/033/large/piece10.jpg?1412194859" for 127.0.0.1 at 2014-10-01 14:21:00 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/033/large/piece10.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (59.5ms)
Started GET "/events/14" for 127.0.0.1 at 2014-10-01 14:24:02 -0600
Processing by EventsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mEvent Load (0.2ms)[0m [1mSELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1[0m [["id", 14]]
[1m[35mPolygallery::Gallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 27]]
[1m[35mCustomGallery Load (0.2ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries" WHERE "polygallery_galleries"."class_name" IN ('CustomGallery') AND "polygallery_galleries"."galleryable_id" = $1 AND "polygallery_galleries"."galleryable_type" = $2 AND "polygallery_galleries"."title" = 'custom_gallery' LIMIT 1 [["galleryable_id", 14], ["galleryable_type", "Event"]]
[1m[36mPolygallery::Photo Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1[0m [["gallery_id", 28]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 27]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 27]]
[1m[35mCACHE (0.0ms)[0m SELECT 1 AS one FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1 LIMIT 1 [["gallery_id", 28]]
[1m[36mPolygallery::Photo Load (0.2ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" WHERE "polygallery_photos"."gallery_id" = $1[0m [["gallery_id", 28]]
Rendered events/show.html.haml within layouts/application (66.9ms)
Completed 200 OK in 309ms (Views: 241.6ms | ActiveRecord: 5.8ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:24:02 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-10-01 14:24:02 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-01 14:24:02 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-10-01 14:24:02 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2014-10-01 14:24:02 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-01 14:24:02 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-10-01 14:24:02 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-01 14:24:02 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2014-10-01 14:24:02 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:24:02 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2014-10-01 14:24:03 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2014-10-01 14:24:03 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2014-10-01 14:24:03 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-10-01 14:24:03 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-10-01 14:24:03 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-01 14:24:03 -0600
Started GET "/system/polygallery/photos/photos/000/000/033/large/piece10.jpg?1412194859" for 127.0.0.1 at 2014-10-01 14:24:03 -0600
ActionController::RoutingError (No route matches [GET] "/system/polygallery/photos/photos/000/000/033/large/piece10.jpg"):
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.6ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.8ms)
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (52.3ms)
Started GET "/" for 127.0.0.1 at 2015-03-20 10:55:08 -0600
ActiveRecord::NoDatabaseError - FATAL: database "polygallery_dummy_development" does not exist
Run `$ bin/rake db:create db:migrate` to create your database:
activerecord (4.1.4) lib/active_record/connection_adapters/postgresql_adapter.rb:898:in `rescue in connect'
activerecord (4.1.4) lib/active_record/connection_adapters/postgresql_adapter.rb:888:in `connect'
activerecord (4.1.4) lib/active_record/connection_adapters/postgresql_adapter.rb:568:in `initialize'
activerecord (4.1.4) lib/active_record/connection_adapters/postgresql_adapter.rb:41:in `postgresql_connection'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:435:in `new_connection'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:445:in `checkout_new_connection'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:416:in `acquire_connection'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:351:in `block in checkout'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:350:in `checkout'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in `block in connection'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in `connection'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:541:in `retrieve_connection'
activerecord (4.1.4) lib/active_record/connection_handling.rb:113:in `retrieve_connection'
activerecord (4.1.4) lib/active_record/connection_handling.rb:87:in `connection'
activerecord (4.1.4) lib/active_record/migration.rb:388:in `check_pending!'
activerecord (4.1.4) lib/active_record/migration.rb:377:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70230875369380/variables" for 127.0.0.1 at 2015-03-20 10:55:08 -0600
[1m[36m (17.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
[1m[35m (17.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateEvents (20140803170839)
[1m[35m (0.2ms)[0m BEGIN
[1m[36m (33.7ms)[0m [1mCREATE TABLE "events" ("id" serial primary key, "title" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
[1m[35mSQL (16.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140803170839"]]
[1m[36m (16.0ms)[0m [1mCOMMIT[0m
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
Started GET "/" for 127.0.0.1 at 2015-03-20 10:56:18 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
PG::UndefinedTable: ERROR: relation "polygallery_galleries" does not exist
LINE 5: WHERE a.attrelid = '"polygallery_galleries"':...
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"polygallery_galleries"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
Completed 500 Internal Server Error in 27ms
PG::UndefinedTable - ERROR: relation "polygallery_galleries" does not exist
LINE 5: WHERE a.attrelid = '"polygallery_galleries"':...
^
:
activerecord (4.1.4) lib/active_record/connection_adapters/postgresql_adapter.rb:822:in `block in exec_no_cache'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract_adapter.rb:373:in `block in log'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract_adapter.rb:367:in `log'
activerecord (4.1.4) lib/active_record/connection_adapters/postgresql_adapter.rb:822:in `exec_no_cache'
activerecord (4.1.4) lib/active_record/connection_adapters/postgresql/database_statements.rb:137:in `exec_query'
activerecord (4.1.4) lib/active_record/connection_adapters/postgresql_adapter.rb:976:in `column_definitions'
activerecord (4.1.4) lib/active_record/connection_adapters/postgresql/schema_statements.rb:187:in `columns'
activerecord (4.1.4) lib/active_record/connection_adapters/schema_cache.rb:93:in `block in prepare_default_proc'
activerecord (4.1.4) lib/active_record/connection_adapters/schema_cache.rb:44:in `columns'
activerecord (4.1.4) lib/active_record/model_schema.rb:214:in `columns'
activerecord (4.1.4) lib/active_record/model_schema.rb:223:in `columns_hash'
activerecord (4.1.4) lib/active_record/inheritance.rb:180:in `subclass_from_attributes?'
activerecord (4.1.4) lib/active_record/inheritance.rb:23:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:29:in `build'
activerecord (4.1.4) lib/active_record/associations/builder/singular_association.rb:18:in `build_gallery'
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:40:in `block in has_polygallery'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:201:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70316392392140/variables" for 127.0.0.1 at 2015-03-20 10:56:18 -0600
Started POST "/__better_errors/70316392392140/eval" for 127.0.0.1 at 2015-03-20 10:56:39 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePolygalleries (20150320165705)
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (5.1ms)[0m [1mCREATE TABLE "polygallery_galleries" ("id" serial primary key, "title" character varying(255) DEFAULT 'gallery', "default_photo_id" integer, "galleryable_id" integer, "galleryable_type" character varying(255), "class_name" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
[1m[35m (3.2ms)[0m CREATE TABLE "polygallery_photos" ("id" serial primary key, "gallery_id" integer, "photo_file_name" character varying(255), "photo_content_type" character varying(255), "photo_file_size" integer, "photo_updated_at" timestamp, "title" character varying(255), "caption" text, "class_name" character varying(255), "created_at" timestamp, "updated_at" timestamp)
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150320165705"]]
[1m[35m (0.9ms)[0m COMMIT
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Started GET "/" for 127.0.0.1 at 2015-03-20 10:57:42 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 167ms
NameError - uninitialized constant Polygallery::Gallery::Polygallery::Photo:
activerecord (4.1.4) lib/active_record/inheritance.rb:133:in `compute_type'
activerecord (4.1.4) lib/active_record/reflection.rb:221:in `klass'
activerecord (4.1.4) lib/active_record/associations/association.rb:118:in `klass'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:36:in `reader'
activerecord (4.1.4) lib/active_record/associations/builder/association.rb:110:in `photos'
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polyphotos.rb:29:in `block in has_polyphotos'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:201:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:29:in `build'
activerecord (4.1.4) lib/active_record/associations/builder/singular_association.rb:18:in `build_gallery'
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:40:in `block in has_polygallery'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:201:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70161610529560/variables" for 127.0.0.1 at 2015-03-20 10:57:43 -0600
Started POST "/__better_errors/70161610529560/variables" for 127.0.0.1 at 2015-03-20 10:57:47 -0600
[1m[35mPolygallery::Gallery Load (0.5ms)[0m SELECT "polygallery_galleries".* FROM "polygallery_galleries"
Started POST "/__better_errors/70161610529560/variables" for 127.0.0.1 at 2015-03-20 10:57:48 -0600
Started POST "/__better_errors/70161610529560/variables" for 127.0.0.1 at 2015-03-20 10:57:49 -0600
Started POST "/__better_errors/70161610529560/variables" for 127.0.0.1 at 2015-03-20 10:57:50 -0600
Started POST "/__better_errors/70161610529560/variables" for 127.0.0.1 at 2015-03-20 10:57:51 -0600
Started POST "/__better_errors/70161610529560/variables" for 127.0.0.1 at 2015-03-20 10:57:51 -0600
Started POST "/__better_errors/70161610529560/variables" for 127.0.0.1 at 2015-03-20 10:57:54 -0600
Started POST "/__better_errors/70161610529560/variables" for 127.0.0.1 at 2015-03-20 10:57:57 -0600
Started POST "/__better_errors/70161610529560/variables" for 127.0.0.1 at 2015-03-20 10:58:00 -0600
Started POST "/__better_errors/70161610529560/variables" for 127.0.0.1 at 2015-03-20 10:58:01 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 10:58:20 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (24.2ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.2ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (39.4ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (12.2ms)
Rendered events/_simple_form.html.haml (146.7ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.5ms)
Rendered events/_form.html.haml (6.2ms)
Rendered home/index.html.haml within layouts/application (181.9ms)
Completed 200 OK in 1438ms (Views: 1208.2ms | ActiveRecord: 4.8ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 10:58:22 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 10:58:22 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 10:58:22 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 10:58:22 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 10:58:22 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 10:58:22 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 10:58:22 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 10:58:22 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 10:58:22 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 10:58:22 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 10:58:22 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 10:58:22 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 10:58:22 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 10:58:22 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 10:58:22 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 10:58:22 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 10:58:22 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:16:49 -0600
[1m[36mActiveRecord::SchemaMigration Load (2.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (16.3ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (11.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (67.6ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.4ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (210.5ms)
Rendered events/_simple_form.html.haml (397.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (4.6ms)
Rendered events/_form.html.haml (20.5ms)
Rendered home/index.html.haml within layouts/application (483.5ms)
Completed 200 OK in 3017ms (Views: 2807.6ms | ActiveRecord: 22.5ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:16:53 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:16:53 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:16:53 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:16:53 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:16:53 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:16:53 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 12:16:53 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 12:16:53 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 12:16:53 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 12:16:53 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:16:53 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 12:16:53 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 12:16:53 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:16:53 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 12:16:54 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 12:16:54 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 12:16:54 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 12:16:54 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 12:16:54 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:17:03 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.7ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.7ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (56.4ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.3ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.6ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (34.1ms)
Rendered events/_simple_form.html.haml (138.6ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.7ms)
Rendered events/_form.html.haml (11.5ms)
Rendered home/index.html.haml within layouts/application (158.7ms)
Completed 200 OK in 564ms (Views: 545.8ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:17:04 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:17:04 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:17:04 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:17:04 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:17:04 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:17:04 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 12:17:04 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 12:17:04 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 12:17:04 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 12:17:04 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 12:17:04 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:17:04 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 12:17:04 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 12:17:04 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:17:04 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 12:17:04 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 12:17:04 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 12:17:04 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 12:17:04 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:18:44 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.4ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.4ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (52.7ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.6ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.7ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (25.8ms)
Rendered events/_simple_form.html.haml (104.6ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.0ms)
Rendered events/_form.html.haml (9.6ms)
Rendered home/index.html.haml within layouts/application (124.3ms)
Completed 200 OK in 704ms (Views: 682.9ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:18:45 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:18:45 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 12:18:45 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:18:45 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:18:45 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:18:45 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 12:18:45 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:18:45 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 12:18:45 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 12:18:45 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 12:18:45 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:18:45 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 12:18:45 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 12:18:45 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:18:45 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 12:18:45 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 12:18:45 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 12:18:45 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 12:18:45 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:19:50 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (55.1ms)
Rendered events/_simple_form.html.haml (75.1ms)
Rendered home/index.html.haml within layouts/application (80.4ms)
Completed 500 Internal Server Error in 104ms
NoMethodError - undefined method `associations' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:3:in `block in ___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml___1264133402207294641_70097442718760'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1849:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:1:in `___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml___1264133402207294641_70097442718760'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Users/smit1625/Sites/polygallery/lib/polygallery/view_helpers.rb:17:in `simple_fields_for_polygallery'
app/views/events/_simple_form.html.haml:4:in `block in _app_views_events__simple_form_html_haml___3735888916234255368_70097439203600'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:434:in `form_for'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for'
app/views/events/_simple_form.html.haml:1:in `_app_views_events__simple_form_html_haml___3735888916234255368_70097439203600'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:35:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml___3713225604957715430_70097438893880'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70097438362300/variables" for 127.0.0.1 at 2015-03-20 12:19:50 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:22:56 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.4ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.6ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (51.2ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.2ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.0ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (74.6ms)
Rendered events/_simple_form.html.haml (161.7ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.0ms)
Rendered events/_form.html.haml (10.0ms)
Rendered home/index.html.haml within layouts/application (181.0ms)
Completed 200 OK in 645ms (Views: 638.0ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:22:57 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:22:57 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:22:57 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:22:57 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 12:22:57 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:22:57 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 12:22:57 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:22:57 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 12:22:57 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 12:22:57 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 12:22:57 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:22:57 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 12:22:57 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 12:22:57 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:22:57 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 12:22:57 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 12:22:57 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 12:22:57 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 12:22:57 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:27:12 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.9ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (33.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (31.3ms)
Rendered events/_simple_form.html.haml (86.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.9ms)
Rendered events/_form.html.haml (8.1ms)
Rendered home/index.html.haml within layouts/application (101.5ms)
Completed 200 OK in 662ms (Views: 650.7ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:27:12 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:27:12 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:27:12 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:27:12 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:27:12 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:27:12 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:13 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:13 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:13 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:13 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:13 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:13 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:13 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:13 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:13 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:13 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:13 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:13 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 12:27:13 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:27:48 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.8ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (33.9ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.3ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.9ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (32.3ms)
Rendered events/_simple_form.html.haml (88.7ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.0ms)
Rendered events/_form.html.haml (7.7ms)
Rendered home/index.html.haml within layouts/application (103.7ms)
Completed 200 OK in 553ms (Views: 539.4ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:27:49 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:27:49 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:27:49 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:27:49 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:27:49 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:27:49 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:49 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:49 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:49 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:49 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:49 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:49 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:49 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:49 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:49 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:49 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:49 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 12:27:49 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 12:27:49 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:28:01 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (8.3ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.9ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (43.7ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.0ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (32.3ms)
Rendered events/_simple_form.html.haml (99.7ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.2ms)
Rendered events/_form.html.haml (9.4ms)
Rendered home/index.html.haml within layouts/application (117.1ms)
Completed 200 OK in 927ms (Views: 914.5ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:28:03 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:28:03 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:28:03 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:28:03 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:28:03 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:28:03 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:03 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:03 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:03 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:03 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:03 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:03 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:03 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:03 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:03 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:03 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:03 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:03 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 12:28:03 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:28:21 -0600
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 28ms
RuntimeError - boom:
app/models/event.rb:8:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70097502765800/variables" for 127.0.0.1 at 2015-03-20 12:28:21 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:28:42 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.2ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (36.4ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.6ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.4ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (54.5ms)
Rendered events/_simple_form.html.haml (123.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.3ms)
Rendered events/_form.html.haml (10.4ms)
Rendered home/index.html.haml within layouts/application (141.9ms)
Completed 200 OK in 745ms (Views: 590.2ms | ActiveRecord: 24.6ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:28:43 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:28:44 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:28:44 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:28:44 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:28:44 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:44 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:28:44 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:44 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:44 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:44 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:44 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:44 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:44 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:44 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:44 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:44 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:44 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 12:28:44 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 12:28:44 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:29:10 -0600
[1m[36mActiveRecord::SchemaMigration Load (1.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 6ms
RuntimeError - boom:
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:11:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70155358513500/variables" for 127.0.0.1 at 2015-03-20 12:29:12 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:30:39 -0600
[1m[36mActiveRecord::SchemaMigration Load (1.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 16ms
RuntimeError - boom:
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:11:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70286283639140/variables" for 127.0.0.1 at 2015-03-20 12:30:39 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:30:48 -0600
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 6ms
RuntimeError - boom:
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:11:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70286273516060/variables" for 127.0.0.1 at 2015-03-20 12:30:49 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:30:51 -0600
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 6ms
RuntimeError - boom:
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:11:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70286286736580/variables" for 127.0.0.1 at 2015-03-20 12:30:52 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:32:36 -0600
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (15.9ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (10.3ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (69.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.4ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (50.1ms)
Rendered events/_simple_form.html.haml (253.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (4.3ms)
Rendered events/_form.html.haml (20.2ms)
Rendered home/index.html.haml within layouts/application (346.0ms)
Completed 200 OK in 1601ms (Views: 1210.0ms | ActiveRecord: 15.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:32:38 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:32:38 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:32:38 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:32:38 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:32:38 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:32:38 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 12:32:38 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 12:32:38 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 12:32:38 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 12:32:38 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 12:32:38 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:32:38 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 12:32:38 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 12:32:38 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:32:39 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 12:32:39 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 12:32:39 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 12:32:39 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 12:32:39 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:33:02 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (31.6ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (43.1ms)
Rendered events/_simple_form.html.haml (102.3ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.9ms)
Rendered events/_form.html.haml (8.6ms)
Rendered home/index.html.haml within layouts/application (118.3ms)
Completed 200 OK in 677ms (Views: 560.6ms | ActiveRecord: 13.8ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:33:03 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:33:03 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:33:03 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:33:03 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:33:03 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:33:03 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 12:33:03 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 12:33:03 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 12:33:03 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 12:33:03 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 12:33:03 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:33:03 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 12:33:03 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 12:33:03 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:33:03 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 12:33:03 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 12:33:03 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 12:33:03 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 12:33:03 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:36:34 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 2ms
RuntimeError - boom:
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:11:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70117772229740/variables" for 127.0.0.1 at 2015-03-20 12:36:35 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:36:43 -0600
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 5ms
RuntimeError - boom:
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:11:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70117770628560/variables" for 127.0.0.1 at 2015-03-20 12:36:44 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:36:46 -0600
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 2ms
RuntimeError - boom:
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:11:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70117781208020/variables" for 127.0.0.1 at 2015-03-20 12:36:46 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:43:05 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.7ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (20.7ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (14.1ms)
Rendered events/_simple_form.html.haml (75.4ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.2ms)
Rendered events/_form.html.haml (5.5ms)
Rendered home/index.html.haml within layouts/application (103.4ms)
Completed 200 OK in 449ms (Views: 332.7ms | ActiveRecord: 5.0ms)
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:43:06 -0600
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:43:06 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:43:06 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:43:06 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:43:06 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:43:06 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:06 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:06 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:06 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:06 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:06 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:06 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:06 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:06 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:06 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:06 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:06 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:06 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 12:43:06 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:43:18 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.0ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (8.9ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (12.5ms)
Rendered events/_simple_form.html.haml (29.6ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms)
Rendered events/_form.html.haml (2.7ms)
Rendered home/index.html.haml within layouts/application (35.0ms)
Completed 200 OK in 194ms (Views: 156.4ms | ActiveRecord: 4.8ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:43:19 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:43:19 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:43:19 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:43:19 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:43:19 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:43:19 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:19 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:19 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:19 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:19 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:19 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:19 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:19 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:19 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:19 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:19 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:19 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:19 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 12:43:19 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.4ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (9.8ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (9.4ms)
Rendered events/_simple_form.html.haml (25.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms)
Rendered events/_form.html.haml (2.4ms)
Rendered home/index.html.haml within layouts/application (30.0ms)
Completed 200 OK in 161ms (Views: 157.5ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 12:43:21 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:45:38 -0600
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:45:38 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:45:38 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:45:38 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:45:38 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:45:38 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:48:09 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 2ms
RuntimeError - boom:
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:11:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70288444828980/variables" for 127.0.0.1 at 2015-03-20 12:48:10 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:48:15 -0600
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 4ms
RuntimeError - boom:
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:11:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70288415577100/variables" for 127.0.0.1 at 2015-03-20 12:48:16 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:50:27 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (15.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (12.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (69.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.9ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (47.0ms)
Rendered events/_simple_form.html.haml (186.7ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (4.7ms)
Rendered events/_form.html.haml (17.5ms)
Rendered home/index.html.haml within layouts/application (229.3ms)
Completed 200 OK in 844ms (Views: 720.6ms | ActiveRecord: 7.4ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:50:28 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:50:28 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:50:28 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:50:28 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:50:28 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:50:28 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:28 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:29 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:29 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:29 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:29 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:29 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:29 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:29 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:29 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:29 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:29 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:29 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 12:50:29 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:50:51 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.0ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.7ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (18.6ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.0ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.3ms)
Rendered events/_simple_form.html.haml (236.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.2ms)
Rendered events/_form.html.haml (5.1ms)
Rendered home/index.html.haml within layouts/application (296.5ms)
Completed 200 OK in 873ms (Views: 704.7ms | ActiveRecord: 14.7ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:50:52 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:50:52 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:50:52 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:50:52 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:50:52 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:50:52 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:52 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:52 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:52 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:52 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:52 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:52 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:52 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:52 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:52 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:52 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:52 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 12:50:52 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:52 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (10.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.0ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (8.5ms)
Rendered events/_simple_form.html.haml (24.9ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms)
Rendered events/_form.html.haml (2.3ms)
Rendered home/index.html.haml within layouts/application (29.6ms)
Completed 200 OK in 255ms (Views: 251.5ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 12:50:55 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:51:16 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 2ms
RuntimeError - boom:
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:20:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70216687923000/variables" for 127.0.0.1 at 2015-03-20 12:51:16 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:51:46 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (13.4ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (9.3ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (60.7ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.0ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.6ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (42.3ms)
Rendered events/_simple_form.html.haml (275.7ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (3.7ms)
Rendered events/_form.html.haml (15.0ms)
Rendered home/index.html.haml within layouts/application (311.1ms)
Completed 200 OK in 788ms (Views: 732.9ms | ActiveRecord: 4.9ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:51:47 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:51:47 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:51:47 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:51:47 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:51:47 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:51:47 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 12:51:47 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 12:51:48 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 12:51:48 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 12:51:48 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 12:51:48 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:51:48 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 12:51:48 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 12:51:48 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:51:48 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 12:51:48 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 12:51:48 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 12:51:48 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 12:51:48 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:53:06 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 21ms
RuntimeError - boom:
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:18:in `has_polygallery'
app/models/event.rb:4:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70319727670720/variables" for 127.0.0.1 at 2015-03-20 12:53:06 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:53:40 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 11ms
TypeError - no implicit conversion of nil into String:
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:18:in `has_polygallery'
app/models/event.rb:4:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70355769801260/variables" for 127.0.0.1 at 2015-03-20 12:53:41 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:53:47 -0600
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 4ms
TypeError - no implicit conversion of nil into String:
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:18:in `has_polygallery'
app/models/event.rb:4:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70355759150500/variables" for 127.0.0.1 at 2015-03-20 12:53:47 -0600
Started POST "/__better_errors/70355759150500/variables" for 127.0.0.1 at 2015-03-20 12:53:49 -0600
Started POST "/__better_errors/70355759150500/variables" for 127.0.0.1 at 2015-03-20 12:53:54 -0600
Started POST "/__better_errors/70355759150500/variables" for 127.0.0.1 at 2015-03-20 12:53:55 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:56:53 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.2ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (4.4ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (24.7ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.4ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (14.4ms)
Rendered events/_simple_form.html.haml (81.8ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.1ms)
Rendered events/_form.html.haml (5.3ms)
Rendered home/index.html.haml within layouts/application (110.4ms)
Completed 200 OK in 440ms (Views: 362.1ms | ActiveRecord: 5.4ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:56:53 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:56:53 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:56:53 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:56:54 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:56:54 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:56:54 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 12:56:54 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 12:56:54 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 12:56:54 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 12:56:54 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 12:56:54 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:56:54 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 12:56:54 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 12:56:54 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:56:54 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 12:56:54 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 12:56:54 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 12:56:54 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 12:56:54 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 12:59:25 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (5.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (23.4ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.0ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.5ms)
Rendered events/_simple_form.html.haml (76.6ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.2ms)
Rendered events/_form.html.haml (5.3ms)
Rendered home/index.html.haml within layouts/application (102.4ms)
Completed 200 OK in 542ms (Views: 366.1ms | ActiveRecord: 5.4ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:59:26 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 12:59:26 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 12:59:26 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 12:59:26 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 12:59:26 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 12:59:26 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 12:59:26 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 12:59:26 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 12:59:26 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 12:59:26 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 12:59:26 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:59:26 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 12:59:26 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 12:59:26 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 12:59:26 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 12:59:26 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 12:59:26 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 12:59:26 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 12:59:26 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.6ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.8ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (9.6ms)
Rendered events/_simple_form.html.haml (30.0ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms)
Rendered events/_form.html.haml (2.5ms)
Rendered home/index.html.haml within layouts/application (34.5ms)
Completed 200 OK in 164ms (Views: 160.7ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 13:00:52 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 13:14:47 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 110ms
ActiveRecord::UnknownAttributeError - unknown attribute: galleryable_id:
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:50:in `rescue in _assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:45:in `_assign_attribute'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:32:in `block in assign_attributes'
activerecord (4.1.4) lib/active_record/attribute_assignment.rb:26:in `assign_attributes'
activerecord (4.1.4) lib/active_record/core.rb:455:in `init_attributes'
activerecord (4.1.4) lib/active_record/core.rb:198:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/collection_association.rb:130:in `build'
activerecord (4.1.4) lib/active_record/associations/collection_proxy.rb:254:in `build'
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polyphotos.rb:25:in `block in has_polyphotos'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:201:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
activerecord (4.1.4) lib/active_record/reflection.rb:239:in `build_association'
activerecord (4.1.4) lib/active_record/associations/association.rb:247:in `build_record'
activerecord (4.1.4) lib/active_record/associations/singular_association.rb:29:in `build'
activerecord (4.1.4) lib/active_record/associations/builder/singular_association.rb:18:in `build_gallery'
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:37:in `block in has_polygallery'
activesupport (4.1.4) lib/active_support/callbacks.rb:438:in `block in make_lambda'
activesupport (4.1.4) lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
activerecord (4.1.4) lib/active_record/core.rb:201:in `initialize'
activerecord (4.1.4) lib/active_record/inheritance.rb:30:in `new'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70147587944880/variables" for 127.0.0.1 at 2015-03-20 13:14:48 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 13:31:45 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (7.9ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.2ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (25.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.0ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (15.0ms)
Rendered events/_simple_form.html.haml (79.6ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.3ms)
Rendered events/_form.html.haml (6.3ms)
Rendered home/index.html.haml within layouts/application (107.7ms)
Completed 200 OK in 618ms (Views: 376.0ms | ActiveRecord: 5.4ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 13:31:46 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 13:31:46 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 13:31:46 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 13:31:46 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 13:31:46 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 13:31:46 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 13:31:46 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 13:31:46 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 13:31:46 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 13:31:46 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 13:31:46 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 13:31:46 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 13:31:46 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 13:31:46 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 13:31:46 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 13:31:46 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 13:31:46 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 13:31:46 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 13:31:46 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 13:32:04 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.0ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (12.6ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (9.8ms)
Rendered events/_simple_form.html.haml (28.6ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.2ms)
Rendered events/_form.html.haml (2.4ms)
Rendered home/index.html.haml within layouts/application (33.2ms)
Completed 200 OK in 162ms (Views: 155.4ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 13:32:04 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 13:32:04 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 13:32:04 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 13:32:04 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 13:32:05 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 13:32:05 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 13:32:05 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 13:32:05 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 13:32:05 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 13:32:05 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 13:32:05 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 13:32:05 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 13:32:05 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 13:32:05 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 13:32:05 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 13:32:05 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 13:32:05 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 13:32:05 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 13:32:05 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 13:45:05 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (7.3ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (22.2ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.5ms)
Rendered events/_simple_form.html.haml (64.2ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.0ms)
Rendered events/_form.html.haml (4.7ms)
Rendered home/index.html.haml within layouts/application (86.7ms)
Completed 200 OK in 409ms (Views: 338.5ms | ActiveRecord: 5.0ms)
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 13:45:05 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 13:45:05 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 13:45:06 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 13:45:06 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 13:45:06 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 13:45:06 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 13:45:06 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 13:45:06 -0600
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 13:45:06 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 13:45:06 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 13:45:06 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 13:45:06 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 13:45:06 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 13:45:06 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 13:45:06 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 13:45:06 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 13:45:06 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 13:45:06 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 13:45:06 -0600
[1m[36mPolygallery::Photo Load (81.8ms)[0m [1mSELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" DESC LIMIT 1[0m
[1m[35mPolygallery::Photo Load (0.5ms)[0m SELECT "polygallery_photos".* FROM "polygallery_photos" ORDER BY "polygallery_photos"."id" ASC LIMIT 1
Started GET "/" for 127.0.0.1 at 2015-03-20 13:51:21 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (3.2ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (21.8ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.3ms)
Rendered events/_simple_form.html.haml (64.4ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.2ms)
Rendered events/_form.html.haml (4.9ms)
Rendered home/index.html.haml within layouts/application (87.4ms)
Completed 200 OK in 394ms (Views: 298.1ms | ActiveRecord: 5.5ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 13:51:22 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 13:51:22 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 13:51:22 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 13:51:22 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 13:51:22 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 13:51:22 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-20 13:51:22 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-20 13:51:22 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-20 13:51:22 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-20 13:51:22 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-20 13:51:22 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-20 13:51:22 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-20 13:51:22 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-20 13:51:22 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-20 13:51:22 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-20 13:51:22 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-20 13:51:22 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-20 13:51:22 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-20 13:51:22 -0600
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-20 13:51:29 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-20 13:51:29 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-20 13:51:29 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-20 13:51:29 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-20 13:51:29 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-20 13:51:29 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 13:52:25 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (9.5ms)
Rendered events/_simple_form.html.haml (13.4ms)
Rendered home/index.html.haml within layouts/application (14.7ms)
Completed 500 Internal Server Error in 23ms
NoMethodError - undefined method `gallery_settings' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:6:in `block in ___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml___3388274803731328960_70153258797640'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1849:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:1:in `___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml___3388274803731328960_70153258797640'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Users/smit1625/Sites/polygallery/lib/polygallery/view_helpers.rb:17:in `simple_fields_for_polygallery'
app/views/events/_simple_form.html.haml:4:in `block in _app_views_events__simple_form_html_haml___1043187855690786025_70153231339620'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:434:in `form_for'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for'
app/views/events/_simple_form.html.haml:1:in `_app_views_events__simple_form_html_haml___1043187855690786025_70153231339620'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:35:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml__4306028615910412730_70153230746540'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70153227129380/variables" for 127.0.0.1 at 2015-03-20 13:52:25 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 13:52:42 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (9.3ms)
Rendered events/_simple_form.html.haml (86.0ms)
Rendered home/index.html.haml within layouts/application (102.5ms)
Completed 500 Internal Server Error in 174ms
NoMethodError - undefined method `gallery_settings' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:6:in `block in ___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml___2921748288389534226_70132689887900'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1849:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:1:in `___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml___2921748288389534226_70132689887900'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Users/smit1625/Sites/polygallery/lib/polygallery/view_helpers.rb:17:in `simple_fields_for_polygallery'
app/views/events/_simple_form.html.haml:4:in `block in _app_views_events__simple_form_html_haml___874747333629063916_70132686508480'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:434:in `form_for'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for'
app/views/events/_simple_form.html.haml:1:in `_app_views_events__simple_form_html_haml___874747333629063916_70132686508480'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:35:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml__830987009587770021_70132685353340'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70132691490920/variables" for 127.0.0.1 at 2015-03-20 13:52:42 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 13:52:43 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (5.5ms)
Rendered events/_simple_form.html.haml (9.4ms)
Rendered home/index.html.haml within layouts/application (10.6ms)
Completed 500 Internal Server Error in 18ms
NoMethodError - undefined method `gallery_settings' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:6:in `block in ___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml___2921748288389534226_70132689887900'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1849:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:1:in `___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml___2921748288389534226_70132689887900'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Users/smit1625/Sites/polygallery/lib/polygallery/view_helpers.rb:17:in `simple_fields_for_polygallery'
app/views/events/_simple_form.html.haml:4:in `block in _app_views_events__simple_form_html_haml___874747333629063916_70132686508480'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:434:in `form_for'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for'
app/views/events/_simple_form.html.haml:1:in `_app_views_events__simple_form_html_haml___874747333629063916_70132686508480'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:35:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml__830987009587770021_70132685353340'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70132731963500/variables" for 127.0.0.1 at 2015-03-20 13:52:43 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 13:52:58 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (4.5ms)
Rendered events/_simple_form.html.haml (11.5ms)
Rendered home/index.html.haml within layouts/application (13.0ms)
Completed 500 Internal Server Error in 149ms
NoMethodError - undefined method `gallery_settings' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:6:in `block in ___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml___2921748288389534226_70132689887900'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1849:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:1:in `___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml___2921748288389534226_70132689887900'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Users/smit1625/Sites/polygallery/lib/polygallery/view_helpers.rb:17:in `simple_fields_for_polygallery'
app/views/events/_simple_form.html.haml:4:in `block in _app_views_events__simple_form_html_haml___874747333629063916_70132686508480'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:434:in `form_for'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for'
app/views/events/_simple_form.html.haml:1:in `_app_views_events__simple_form_html_haml___874747333629063916_70132686508480'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:35:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml__830987009587770021_70132685353340'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70132733672480/variables" for 127.0.0.1 at 2015-03-20 13:52:58 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 13:53:14 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (9.5ms)
Rendered events/_simple_form.html.haml (87.1ms)
Rendered home/index.html.haml within layouts/application (103.0ms)
Completed 500 Internal Server Error in 171ms
NoMethodError - undefined method `gallery_settings' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:6:in `block in ___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__2053896945943234391_70361233707520'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1849:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:1:in `___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__2053896945943234391_70361233707520'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Users/smit1625/Sites/polygallery/lib/polygallery/view_helpers.rb:17:in `simple_fields_for_polygallery'
app/views/events/_simple_form.html.haml:4:in `block in _app_views_events__simple_form_html_haml___685009195285410809_70361300308440'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:434:in `form_for'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for'
app/views/events/_simple_form.html.haml:1:in `_app_views_events__simple_form_html_haml___685009195285410809_70361300308440'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:35:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml___3940351870697305378_70361300013520'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70361235873180/variables" for 127.0.0.1 at 2015-03-20 13:53:14 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 13:53:15 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (4.3ms)
Rendered events/_simple_form.html.haml (8.4ms)
Rendered home/index.html.haml within layouts/application (9.8ms)
Completed 500 Internal Server Error in 17ms
NoMethodError - undefined method `gallery_settings' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:6:in `block in ___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__2053896945943234391_70361233707520'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1849:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:1:in `___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__2053896945943234391_70361233707520'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Users/smit1625/Sites/polygallery/lib/polygallery/view_helpers.rb:17:in `simple_fields_for_polygallery'
app/views/events/_simple_form.html.haml:4:in `block in _app_views_events__simple_form_html_haml___685009195285410809_70361300308440'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:434:in `form_for'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for'
app/views/events/_simple_form.html.haml:1:in `_app_views_events__simple_form_html_haml___685009195285410809_70361300308440'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:35:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml___3940351870697305378_70361300013520'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70361247443260/variables" for 127.0.0.1 at 2015-03-20 13:53:15 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 13:53:15 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (6.5ms)
Rendered events/_simple_form.html.haml (11.9ms)
Rendered home/index.html.haml within layouts/application (13.2ms)
Completed 500 Internal Server Error in 20ms
NoMethodError - undefined method `gallery_settings' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:6:in `block in ___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__2053896945943234391_70361233707520'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1849:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:1:in `___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__2053896945943234391_70361233707520'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Users/smit1625/Sites/polygallery/lib/polygallery/view_helpers.rb:17:in `simple_fields_for_polygallery'
app/views/events/_simple_form.html.haml:4:in `block in _app_views_events__simple_form_html_haml___685009195285410809_70361300308440'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:434:in `form_for'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for'
app/views/events/_simple_form.html.haml:1:in `_app_views_events__simple_form_html_haml___685009195285410809_70361300308440'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:35:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml___3940351870697305378_70361300013520'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70361273599760/variables" for 127.0.0.1 at 2015-03-20 13:53:15 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 13:53:16 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (4.3ms)
Rendered events/_simple_form.html.haml (8.0ms)
Rendered home/index.html.haml within layouts/application (9.2ms)
Completed 500 Internal Server Error in 16ms
NoMethodError - undefined method `gallery_settings' for #:
activemodel (4.1.4) lib/active_model/attribute_methods.rb:435:in `method_missing'
activerecord (4.1.4) lib/active_record/attribute_methods.rb:208:in `method_missing'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:6:in `block in ___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__2053896945943234391_70361233707520'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1849:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:1:in `___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__2053896945943234391_70361233707520'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Users/smit1625/Sites/polygallery/lib/polygallery/view_helpers.rb:17:in `simple_fields_for_polygallery'
app/views/events/_simple_form.html.haml:4:in `block in _app_views_events__simple_form_html_haml___685009195285410809_70361300308440'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:434:in `form_for'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for'
app/views/events/_simple_form.html.haml:1:in `_app_views_events__simple_form_html_haml___685009195285410809_70361300308440'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:35:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml___3940351870697305378_70361300013520'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70361249648800/variables" for 127.0.0.1 at 2015-03-20 13:53:16 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 13:56:03 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (8.5ms)
Rendered events/_simple_form.html.haml (15.2ms)
Rendered home/index.html.haml within layouts/application (16.4ms)
Completed 500 Internal Server Error in 64ms
RuntimeError - Association Polygallery::Photo doesn't exist on Polygallery::Gallery:
cocoon (1.2.6) lib/cocoon/view_helpers.rb:122:in `create_object_on_non_association'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:110:in `create_object'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:92:in `link_to_add_association'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:6:in `block in ___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__2053896945943234391_70361271822720'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1849:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:1:in `___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__2053896945943234391_70361271822720'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Users/smit1625/Sites/polygallery/lib/polygallery/view_helpers.rb:17:in `simple_fields_for_polygallery'
app/views/events/_simple_form.html.haml:4:in `block in _app_views_events__simple_form_html_haml___685009195285410809_70361300308440'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:434:in `form_for'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for'
app/views/events/_simple_form.html.haml:1:in `_app_views_events__simple_form_html_haml___685009195285410809_70361300308440'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:35:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml___3940351870697305378_70361300013520'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70361272238500/variables" for 127.0.0.1 at 2015-03-20 13:56:03 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 13:56:42 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (5.3ms)
Rendered events/_simple_form.html.haml (11.3ms)
Rendered home/index.html.haml within layouts/application (12.4ms)
Completed 500 Internal Server Error in 157ms
RuntimeError - Association Polygallery::Photo doesn't exist on Polygallery::Gallery:
cocoon (1.2.6) lib/cocoon/view_helpers.rb:122:in `create_object_on_non_association'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:110:in `create_object'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:92:in `link_to_add_association'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:6:in `block in ___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__2053896945943234391_70361271822720'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1849:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:1:in `___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__2053896945943234391_70361271822720'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Users/smit1625/Sites/polygallery/lib/polygallery/view_helpers.rb:17:in `simple_fields_for_polygallery'
app/views/events/_simple_form.html.haml:4:in `block in _app_views_events__simple_form_html_haml___685009195285410809_70361300308440'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:434:in `form_for'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for'
app/views/events/_simple_form.html.haml:1:in `_app_views_events__simple_form_html_haml___685009195285410809_70361300308440'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:35:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml___3940351870697305378_70361300013520'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70361302775120/variables" for 127.0.0.1 at 2015-03-20 13:56:43 -0600
Started POST "/__better_errors/70361302775120/variables" for 127.0.0.1 at 2015-03-20 13:57:57 -0600
Started POST "/__better_errors/70361302775120/variables" for 127.0.0.1 at 2015-03-20 13:58:03 -0600
Started POST "/__better_errors/70361302775120/variables" for 127.0.0.1 at 2015-03-20 13:58:05 -0600
Started POST "/__better_errors/70361302775120/variables" for 127.0.0.1 at 2015-03-20 13:58:06 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 13:58:20 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (11.4ms)
Rendered events/_simple_form.html.haml (17.3ms)
Rendered home/index.html.haml within layouts/application (18.9ms)
Completed 500 Internal Server Error in 28ms
RuntimeError - Association Polygallery::Photo doesn't exist on Polygallery::Gallery:
cocoon (1.2.6) lib/cocoon/view_helpers.rb:122:in `create_object_on_non_association'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:110:in `create_object'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:92:in `link_to_add_association'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:6:in `block in ___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__2053896945943234391_70361260281240'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1849:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:1:in `___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml__2053896945943234391_70361260281240'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Users/smit1625/Sites/polygallery/lib/polygallery/view_helpers.rb:17:in `simple_fields_for_polygallery'
app/views/events/_simple_form.html.haml:4:in `block in _app_views_events__simple_form_html_haml___685009195285410809_70361300308440'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:434:in `form_for'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for'
app/views/events/_simple_form.html.haml:1:in `_app_views_events__simple_form_html_haml___685009195285410809_70361300308440'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:35:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml___3940351870697305378_70361300013520'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70361259525820/variables" for 127.0.0.1 at 2015-03-20 13:58:20 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 13:58:31 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (13.4ms)
Rendered events/_simple_form.html.haml (106.7ms)
Rendered home/index.html.haml within layouts/application (127.2ms)
Completed 500 Internal Server Error in 291ms
RuntimeError - Association Polygallery::Photo doesn't exist on Polygallery::Gallery:
cocoon (1.2.6) lib/cocoon/view_helpers.rb:122:in `create_object_on_non_association'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:110:in `create_object'
cocoon (1.2.6) lib/cocoon/view_helpers.rb:92:in `link_to_add_association'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:6:in `block in ___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml___1628971671279213440_70217314749280'
haml (4.0.5) lib/haml/helpers.rb:368:in `block in capture_haml'
haml (4.0.5) lib/haml/helpers.rb:608:in `with_haml_buffer'
haml (4.0.5) lib/haml/helpers.rb:364:in `capture_haml'
haml (4.0.5) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1860:in `block in fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:699:in `fields_for'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1859:in `fields_for_nested_model'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1849:in `fields_for_with_nested_attributes'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:1517:in `fields_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/builder.rb:27:in `simple_fields_for'
/Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml:1:in `___sers_smit______ites_polygallery_app_views_polygallery_galleries__simple_fields_for_html_haml___1628971671279213440_70217314749280'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:21:in `render'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:32:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
/Users/smit1625/Sites/polygallery/lib/polygallery/view_helpers.rb:17:in `simple_fields_for_polygallery'
app/views/events/_simple_form.html.haml:4:in `block in _app_views_events__simple_form_html_haml___2788047005469901672_70217378180140'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
haml (4.0.5) lib/haml/helpers.rb:278:in `with_tabs'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
actionview (4.1.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
actionview (4.1.4) lib/action_view/helpers/form_helper.rb:434:in `form_for'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
haml (4.0.5) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc'
simple_form (3.1.0) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for'
app/views/events/_simple_form.html.haml:1:in `_app_views_events__simple_form_html_haml___2788047005469901672_70217378180140'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
actionview (4.1.4) lib/action_view/helpers/rendering_helper.rb:35:in `render'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml'
haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
app/views/home/index.html.haml:17:in `_app_views_home_index_html_haml___495318970014462701_70217377886900'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionview (4.1.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70217327129160/variables" for 127.0.0.1 at 2015-03-20 13:58:31 -0600
Started POST "/__better_errors/70217327129160/variables" for 127.0.0.1 at 2015-03-20 13:58:38 -0600
Started POST "/__better_errors/70217327129160/variables" for 127.0.0.1 at 2015-03-20 13:58:47 -0600
Started POST "/__better_errors/70217327129160/variables" for 127.0.0.1 at 2015-03-20 13:58:54 -0600
Started POST "/__better_errors/70217327129160/variables" for 127.0.0.1 at 2015-03-20 13:58:55 -0600
Started POST "/__better_errors/70217327129160/variables" for 127.0.0.1 at 2015-03-20 13:59:01 -0600
Started POST "/__better_errors/70217327129160/variables" for 127.0.0.1 at 2015-03-20 13:59:02 -0600
Started POST "/__better_errors/70217327129160/variables" for 127.0.0.1 at 2015-03-20 13:59:05 -0600
Started POST "/__better_errors/70217327129160/variables" for 127.0.0.1 at 2015-03-20 13:59:10 -0600
[1m[36mEvent Load (90.5ms)[0m [1mSELECT "events".* FROM "events" ORDER BY "events"."id" ASC LIMIT 1[0m
[1m[35mEvent Load (0.2ms)[0m SELECT "events".* FROM "events" ORDER BY "events"."id" DESC LIMIT 1
Started GET "/" for 127.0.0.1 at 2015-03-20 14:42:17 -0600
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 25ms
NoMethodError - undefined method `[]' for nil:NilClass:
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polyphotos.rb:20:in `has_polyphotos'
/Users/smit1625/Sites/polygallery/app/models/polygallery/gallery.rb:32:in `'
/Users/smit1625/Sites/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Users/smit1625/Sites/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:22:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70217362259840/variables" for 127.0.0.1 at 2015-03-20 14:42:17 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 14:42:19 -0600
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 15ms
NoMethodError - undefined method `[]' for nil:NilClass:
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polyphotos.rb:20:in `has_polyphotos'
/Users/smit1625/Sites/polygallery/app/models/polygallery/gallery.rb:32:in `'
/Users/smit1625/Sites/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Users/smit1625/Sites/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:22:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70217327880060/variables" for 127.0.0.1 at 2015-03-20 14:42:19 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 14:57:44 -0600
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 5ms
NoMethodError - undefined method `[]' for nil:NilClass:
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polyphotos.rb:20:in `has_polyphotos'
/Users/smit1625/Sites/polygallery/app/models/polygallery/gallery.rb:5:in `'
/Users/smit1625/Sites/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Users/smit1625/Sites/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:22:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70217377522200/variables" for 127.0.0.1 at 2015-03-20 14:57:44 -0600
Started GET "/" for 127.0.0.1 at 2015-03-20 15:07:48 -0600
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 5ms
NoMethodError - undefined method `[]' for nil:NilClass:
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polyphotos.rb:20:in `has_polyphotos'
/Users/smit1625/Sites/polygallery/app/models/polygallery/gallery.rb:5:in `'
/Users/smit1625/Sites/polygallery/app/models/polygallery/gallery.rb:2:in `'
/Users/smit1625/Sites/polygallery/app/models/polygallery/gallery.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
/Users/smit1625/Sites/polygallery/lib/polygallery/has_polygallery.rb:22:in `has_polygallery'
app/models/event.rb:3:in `'
app/models/event.rb:1:in `'
activesupport (4.1.4) lib/active_support/dependencies.rb:443:in `block in load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:633:in `new_constants_in'
activesupport (4.1.4) lib/active_support/dependencies.rb:442:in `load_file'
activesupport (4.1.4) lib/active_support/dependencies.rb:342:in `require_or_load'
activesupport (4.1.4) lib/active_support/dependencies.rb:480:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
activesupport (4.1.4) lib/active_support/dependencies.rb:512:in `load_missing_constant'
activesupport (4.1.4) lib/active_support/dependencies.rb:180:in `const_missing'
app/controllers/home_controller.rb:4:in `index'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/Users/smit1625/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
Started POST "/__better_errors/70217379227640/variables" for 127.0.0.1 at 2015-03-20 15:07:49 -0600
Started GET "/" for 127.0.0.1 at 2015-03-21 11:06:15 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (6.8ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (2.7ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (19.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.0ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (7.6ms)
Rendered events/_simple_form.html.haml (89.0ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (1.3ms)
Rendered events/_form.html.haml (5.4ms)
Rendered home/index.html.haml within layouts/application (113.7ms)
Completed 200 OK in 403ms (Views: 343.9ms | ActiveRecord: 5.1ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-21 11:06:16 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-21 11:06:16 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-21 11:06:16 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-21 11:06:16 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-21 11:06:16 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-21 11:06:16 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-21 11:06:16 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-21 11:06:16 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-21 11:06:16 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-21 11:06:16 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-21 11:06:16 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-21 11:06:16 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-21 11:06:16 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-21 11:06:16 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-21 11:06:16 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-21 11:06:16 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-21 11:06:16 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-21 11:06:16 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-21 11:06:16 -0600
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-21 11:06:22 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-21 11:06:22 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-21 11:06:22 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-21 11:06:22 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-21 11:06:22 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-21 11:06:22 -0600
Started GET "/" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Processing by HomeController#index as HTML
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.6ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.3ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (10.3ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.2ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/photos/_simple_fields_for.html.haml (1.1ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_simple_fields_for.html.haml (7.9ms)
Rendered events/_simple_form.html.haml (27.5ms)
Rendered /Users/smit1625/Sites/polygallery/app/views/polygallery/galleries/_fields_for.html.haml (0.3ms)
Rendered events/_form.html.haml (3.2ms)
Rendered home/index.html.haml within layouts/application (34.1ms)
Completed 200 OK in 181ms (Views: 141.8ms | ActiveRecord: 4.4ms)
Started GET "/assets/bootstrap-theme.min.css?body=1" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Started GET "/assets/bootstrap.min.css?body=1" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Started GET "/assets/simple_form_fileinput/enhancements.css?body=1" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Started GET "/assets/bootstrap.min.js?body=1" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Started GET "/assets/simple_form_fileinput/bootstrap.file-input.js?body=1" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Started GET "/assets/simple_form_fileinput/enhancements.js?body=1" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Started GET "/assets/simple_form_fileinput/init.js?body=1" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Started GET "/assets/cocoon.js?body=1" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Started GET "/assets/polygallery/polygallery.js?body=1" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Started GET "/assets/polygallery/init.js?body=1" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Started GET "/assets/polygallery/thumbnail-missing.jpg" for 127.0.0.1 at 2015-03-21 11:10:47 -0600
Started GET "/" for 127.0.0.1 at 2015-03-21 11:11:01 -0600
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Processing by HomeController#index as HTML
Completed 500 Internal Server Error in 14ms
RuntimeError (boom):
app/models/event.rb:4:in `