Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-07 11:01:36 -0600 Processing by RailsAdserver::PagesController#home as HTML Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (46.9ms) Compiled rails_adserver/adspaces.css (0ms) (pid 64097) Compiled rails_adserver/advertisements.css (0ms) (pid 64097) Compiled rails_adserver/bootstrap-responsive.css (0ms) (pid 64097) Compiled rails_adserver/bootstrap.css (0ms) (pid 64097) Compiled rails_adserver/pages.css (0ms) (pid 64097) Compiled rails_adserver/application.css (159ms) (pid 64097) Compiled jquery.js (48ms) (pid 64097) Compiled jquery_ujs.js (0ms) (pid 64097) Compiled rails_adserver/adspaces.js (0ms) (pid 64097) Compiled rails_adserver/advertisements.js (1ms) (pid 64097) Compiled rails_adserver/rails_adserver_form.js (2493ms) (pid 64097) Compiled rails_adserver/application.js (2826ms) (pid 64097) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (10.3ms) Completed 500 Internal Server Error in 3322ms ActionView::Template::Error (undefined method `email' for nil:NilClass): 16: %a{:href => "#contact"} Contact 17: %p.navbar-text.pull-right 18: Logged in as 19: %a{:href => "#"}= "#{_current_user.email}" /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml:19:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_layouts_rails_adserver__topbar_html_haml___4079919808449453711_70149254108560' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:257:in `render_partial' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:230:in `block in render' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:229:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:41:in `render_partial' actionpack (3.2.1) lib/action_view/helpers/rendering_helper.rb:27:in `render' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `block in render_with_haml' haml (3.1.4) lib/haml/helpers.rb:90:in `non_haml' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `render_with_haml' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/application.html.haml:17:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_layouts_rails_adserver_application_html_haml__4005127445916592062_70149277741460' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:53:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__1132884664472213066__process_action__749714857909683549__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__2651572497628673019__call__703768393680236041__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (14.0ms) Started GET "/" for 127.0.0.1 at 2012-03-07 11:01:46 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (4.7ms) Completed 500 Internal Server Error in 46ms ActionView::Template::Error (Missing partial rails_adserver/pages/ad with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.0/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" ): 1: = render 'rails_adserver/pages/ad',:param => 6, :adspace => 2 app/views/page/home.html.haml:1:in `_app_views_page_home_html_haml__896196059281254237_70149259161400' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.0ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.5ms) Started GET "/login" for 127.0.0.1 at 2012-03-07 11:01:55 -0600 Processing by Devise::SessionsController#new as HTML Completed 500 Internal Server Error in 158ms ActiveRecord::StatementInvalid (Could not find table 'users'): activerecord (3.2.1) lib/active_record/connection_adapters/sqlite_adapter.rb:470:in `table_structure' activerecord (3.2.1) lib/active_record/connection_adapters/sqlite_adapter.rb:351:in `columns' activerecord (3.2.1) lib/active_record/connection_adapters/schema_cache.rb:12:in `block in initialize' activerecord (3.2.1) lib/active_record/model_schema.rb:228:in `yield' activerecord (3.2.1) lib/active_record/model_schema.rb:228:in `default' activerecord (3.2.1) lib/active_record/model_schema.rb:228:in `columns' activerecord (3.2.1) lib/active_record/model_schema.rb:243:in `column_defaults' activerecord (3.2.1) lib/active_record/base.rb:479:in `initialize' devise (2.0.0) app/controllers/devise_controller.rb:78:in `new' devise (2.0.0) app/controllers/devise_controller.rb:78:in `build_resource' devise (2.0.0) app/controllers/devise/sessions_controller.rb:7:in `new' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:436:in `_run__3361319201348034452__process_action__1314751379681095057__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' actionpack (3.2.1) lib/action_dispatch/routing/mapper.rb:40:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__2651572497628673019__call__703768393680236041__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.4ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.4ms)  (20.3ms) select sqlite_version(*)  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (22.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateRailsAdserverAdvertisements (20120227014859)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "rails_adserver_advertisements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "width" integer, "height" integer, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120227014859')  (1.8ms) commit transaction Migrating to CreateRailsAdserverClicks (20120227014945)  (0.0ms) begin transaction  (0.5ms) CREATE TABLE "rails_adserver_clicks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ip_address" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120227014945')  (1.8ms) commit transaction Migrating to DeviseCreateUsers (20120227204751)  (0.1ms) begin transaction  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) PRAGMA index_list("users")  (0.7ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120227204751')  (2.0ms) commit transaction Migrating to AddParamRestrictionToAdvertisement (20120228000410)  (0.0ms) begin transaction  (84.5ms) ALTER TABLE "rails_adserver_advertisements" ADD "param_restriction" varchar(255)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120228000410')  (1.5ms) commit transaction Migrating to AddNameOfParamRestrictionToAdvertisement (20120228000647)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "rails_adserver_advertisements" ADD "param_restriction_name" varchar(255)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120228000647')  (11.0ms) commit transaction Migrating to CreateRailsAdserverAdspaces (20120228010151)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "rails_adserver_adspaces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120228010151')  (1.7ms) commit transaction Migrating to AddNameToAdspace (20120228010315)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "rails_adserver_adspaces" ADD "name" varchar(255)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120228010315')  (1.4ms) commit transaction Migrating to AddAdspaceIdToAdvertisement (20120228043946)  (0.0ms) begin transaction  (0.5ms) ALTER TABLE "rails_adserver_advertisements" ADD "adspace_id" integer  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.2ms) CREATE INDEX "index_rails_adserver_advertisements_on_adspace_id" ON "rails_adserver_advertisements" ("adspace_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120228043946')  (1.7ms) commit transaction Migrating to AddAdTypeToAdvertisement (20120305034458)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "rails_adserver_advertisements" ADD "ad_type" varchar(255)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305034458')  (2.8ms) commit transaction Migrating to AddParameterRestrictionBooleanToAdvertisement (20120305040026)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "rails_adserver_advertisements" ADD "parameter_restriction_boolean" boolean  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305040026')  (1.3ms) commit transaction Migrating to AddMoreOptionsToAdvertisement (20120305044238)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "rails_adserver_advertisements" ADD "ad_text" text  (0.2ms) ALTER TABLE "rails_adserver_advertisements" ADD "url" varchar(255)  (0.2ms) ALTER TABLE "rails_adserver_advertisements" ADD "geolocation_boolean" boolean  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305044238')  (1.5ms) commit transaction Migrating to AddImageToAdvertisement (20120305054319)  (0.0ms) begin transaction  (0.6ms) ALTER TABLE "rails_adserver_advertisements" ADD "image" varchar(255)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305054319')  (1.9ms) commit transaction Migrating to AddMaxClicksToAdvertisement (20120305195421)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "rails_adserver_advertisements" ADD "max_clicks" integer  (0.3ms) ALTER TABLE "rails_adserver_advertisements" ADD "clicks" integer  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305195421')  (1.3ms) commit transaction Migrating to AddIndexes (20120305203049)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "rails_adserver_clicks" ADD "rails_adserver_advertisement_id" integer  (0.1ms) PRAGMA index_list("rails_adserver_clicks")  (0.2ms) CREATE INDEX "index_rails_adserver_clicks_on_rails_adserver_advertisement_id" ON "rails_adserver_clicks" ("rails_adserver_advertisement_id")  (0.3ms) ALTER TABLE "rails_adserver_advertisements" ADD "rails_adserver_adspace_id" integer  (0.2ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.2ms) CREATE INDEX "index_rails_adserver_advertisements_on_rails_adserver_adspace_id" ON "rails_adserver_advertisements" ("rails_adserver_adspace_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305203049')  (1.7ms) commit transaction Migrating to ChangeIndexes (20120305212451)  (0.0ms) begin transaction  (0.1ms) PRAGMA index_list("rails_adserver_clicks")  (0.0ms) PRAGMA index_info('index_rails_adserver_clicks_on_rails_adserver_advertisement_id')  (0.8ms) DROP INDEX "index_rails_adserver_clicks_on_rails_adserver_advertisement_id"  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_rails_adserver_adspace_id')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.4ms) DROP INDEX "index_rails_adserver_advertisements_on_rails_adserver_adspace_id"  (0.6ms) CREATE TEMPORARY TABLE "altered_rails_adserver_clicks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ip_address" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "rails_adserver_advertisement_id" integer)  (0.0ms) PRAGMA index_list("rails_adserver_clicks")  (0.1ms) SELECT * FROM "rails_adserver_clicks"  (0.2ms) DROP TABLE "rails_adserver_clicks"  (0.2ms) CREATE TABLE "rails_adserver_clicks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ip_address" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("altered_rails_adserver_clicks")  (0.1ms) SELECT * FROM "altered_rails_adserver_clicks"  (0.5ms) DROP TABLE "altered_rails_adserver_clicks"  (0.4ms) CREATE TEMPORARY TABLE "altered_rails_adserver_advertisements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "width" integer, "height" integer, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "param_restriction" varchar(255), "param_restriction_name" varchar(255), "adspace_id" integer, "ad_type" varchar(255), "parameter_restriction_boolean" boolean, "ad_text" text, "url" varchar(255), "geolocation_boolean" boolean, "image" varchar(255), "max_clicks" integer, "clicks" integer, "rails_adserver_adspace_id" integer)  (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.0ms) PRAGMA index_list("altered_rails_adserver_advertisements")  (0.2ms) CREATE INDEX "temp_index_altered_rails_adserver_advertisements_on_adspace_id" ON "altered_rails_adserver_advertisements" ("adspace_id")  (0.1ms) SELECT * FROM "rails_adserver_advertisements"  (0.4ms) DROP TABLE "rails_adserver_advertisements"  (0.8ms) CREATE TABLE "rails_adserver_advertisements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "width" integer, "height" integer, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "param_restriction" varchar(255), "param_restriction_name" varchar(255), "adspace_id" integer, "ad_type" varchar(255), "parameter_restriction_boolean" boolean, "ad_text" text, "url" varchar(255), "geolocation_boolean" boolean, "image" varchar(255), "max_clicks" integer, "clicks" integer)   (0.0ms) PRAGMA index_list("altered_rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('temp_index_altered_rails_adserver_advertisements_on_adspace_id')  (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (0.2ms) CREATE INDEX "index_rails_adserver_advertisements_on_adspace_id" ON "rails_adserver_advertisements" ("adspace_id")  (0.1ms) SELECT * FROM "altered_rails_adserver_advertisements"  (0.4ms) DROP TABLE "altered_rails_adserver_advertisements"  (0.3ms) ALTER TABLE "rails_adserver_clicks" ADD "advertisement_id" integer  (0.1ms) PRAGMA index_list("rails_adserver_clicks")  (0.3ms) CREATE INDEX "index_rails_adserver_clicks_on_advertisement_id" ON "rails_adserver_clicks" ("advertisement_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305212451')  (2.7ms) commit transaction Migrating to AddClickCountToAdvertisement (20120305214753)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "rails_adserver_advertisements" ADD "click_count" integer  (0.4ms) CREATE TEMPORARY TABLE "altered_rails_adserver_advertisements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "width" integer, "height" integer, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "param_restriction" varchar(255), "param_restriction_name" varchar(255), "adspace_id" integer, "ad_type" varchar(255), "parameter_restriction_boolean" boolean, "ad_text" text, "url" varchar(255), "geolocation_boolean" boolean, "image" varchar(255), "max_clicks" integer, "clicks" integer, "click_count" integer)   (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.0ms) PRAGMA index_list("altered_rails_adserver_advertisements")  (0.2ms) CREATE INDEX "temp_index_altered_rails_adserver_advertisements_on_adspace_id" ON "altered_rails_adserver_advertisements" ("adspace_id")  (0.4ms) SELECT * FROM "rails_adserver_advertisements"  (0.7ms) DROP TABLE "rails_adserver_advertisements"  (0.4ms) CREATE TABLE "rails_adserver_advertisements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "width" integer, "height" integer, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "param_restriction" varchar(255), "param_restriction_name" varchar(255), "adspace_id" integer, "ad_type" varchar(255), "parameter_restriction_boolean" boolean, "ad_text" text, "url" varchar(255), "geolocation_boolean" boolean, "image" varchar(255), "max_clicks" integer, "click_count" integer)  (0.0ms) PRAGMA index_list("altered_rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('temp_index_altered_rails_adserver_advertisements_on_adspace_id')  (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (0.2ms) CREATE INDEX "index_rails_adserver_advertisements_on_adspace_id" ON "rails_adserver_advertisements" ("adspace_id")  (0.1ms) SELECT * FROM "altered_rails_adserver_advertisements"  (0.2ms) DROP TABLE "altered_rails_adserver_advertisements"  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305214753')  (2.1ms) commit transaction Migrating to Geolocation (20120306023105)  (0.1ms) begin transaction  (1.3ms) ALTER TABLE "rails_adserver_advertisements" ADD "geolocation_location" varchar(255)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120306023105')  (1.6ms) commit transaction Migrating to AddGeolocationNamesToAdvertisements (20120306052705)  (0.2ms) begin transaction  (0.7ms) ALTER TABLE "rails_adserver_advertisements" ADD "city_name" varchar(255)  (0.2ms) ALTER TABLE "rails_adserver_advertisements" ADD "state_name" varchar(255)  (0.2ms) ALTER TABLE "rails_adserver_advertisements" ADD "country_name" varchar(255)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120306052705')  (1.2ms) commit transaction Migrating to AddAdvertisementIndexes (20120306065447)  (0.0ms) begin transaction  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.5ms) CREATE INDEX "index_rails_adserver_advertisements_on_param_restriction" ON "rails_adserver_advertisements" ("param_restriction")  (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.2ms) CREATE INDEX "index_rails_adserver_advertisements_on_city_name" ON "rails_adserver_advertisements" ("city_name")  (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.2ms) CREATE INDEX "index_rails_adserver_advertisements_on_state_name" ON "rails_adserver_advertisements" ("state_name")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_state_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.2ms) CREATE INDEX "index_rails_adserver_advertisements_on_country_name" ON "rails_adserver_advertisements" ("country_name")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120306065447')  (10.7ms) commit transaction  (0.6ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) PRAGMA index_list("rails_adserver_adspaces")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.1ms) PRAGMA index_info('index_rails_adserver_advertisements_on_country_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_state_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.1ms) PRAGMA index_list("rails_adserver_clicks")  (0.0ms) PRAGMA index_info('index_rails_adserver_clicks_on_advertisement_id')  (0.1ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_email') Started GET "/login" for 127.0.0.1 at 2012-03-07 11:03:08 -0600 Processing by Devise::SessionsController#new as HTML Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.0/app/views/devise/_links.erb (2.3ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.0/app/views/devise/sessions/new.html.erb within layouts/application (16.3ms) Compiled page.css (0ms) (pid 64139) Compiled application.css (102ms) (pid 64139) Compiled page.js (0ms) (pid 64139) Compiled application.js (108ms) (pid 64139) Completed 200 OK in 571ms (Views: 434.4ms | ActiveRecord: 2.9ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:03:09 -0600 Served asset /jquery.js - 200 OK (10ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:03:09 -0600 Served asset /application.css - 200 OK (4ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:03:09 -0600 Served asset /application.js - 200 OK (6ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-07 11:03:09 -0600 Served asset /page.css - 200 OK (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:03:09 -0600 Served asset /jquery_ujs.js - 200 OK (2ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-07 11:03:09 -0600 Served asset /page.js - 200 OK (2ms) Started POST "/users/sign_in" for 127.0.0.1 at 2012-03-07 11:03:12 -0600 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"VrPZ0puSL7ayD3qQEcCXp0B8RCtHvAi+PMMKqOP/bLk=", "user"=>{"email"=>"", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Completed 401 Unauthorized in 2ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"VrPZ0puSL7ayD3qQEcCXp0B8RCtHvAi+PMMKqOP/bLk=", "user"=>{"email"=>"", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.0/app/views/devise/_links.erb (0.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.0/app/views/devise/sessions/new.html.erb within layouts/application (7.8ms) Completed 200 OK in 20ms (Views: 18.7ms | ActiveRecord: 0.0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-07 11:03:12 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:03:12 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:03:12 -0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-07 11:03:12 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:03:12 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:03:12 -0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/users/sign_up" for 127.0.0.1 at 2012-03-07 11:03:14 -0600 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.0/app/views/devise/_links.erb (0.9ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.0/app/views/devise/registrations/new.html.erb within layouts/application (7.6ms) Completed 200 OK in 18ms (Views: 16.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:03:14 -0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-07 11:03:14 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:03:14 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-07 11:03:14 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:03:14 -0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:03:14 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started POST "/users" for 127.0.0.1 at 2012-03-07 11:03:21 -0600 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"VrPZ0puSL7ayD3qQEcCXp0B8RCtHvAi+PMMKqOP/bLk=", "user"=>{"email"=>"tmuntan1@slu.edu", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) begin transaction User Exists (21.4ms) SELECT 1 FROM "users" WHERE "users"."email" = 'tmuntan1@slu.edu' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (54.2ms) INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 07 Mar 2012 17:03:22 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "tmuntan1@slu.edu"], ["encrypted_password", "$2a$10$rwSMFdW6piX20dYXZyYJjeBt27XwdaKJ6Vqqnk6F4kwcaeiWm5/Cm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 07 Mar 2012 17:03:22 UTC +00:00]]  (2.7ms) commit transaction  (0.1ms) begin transaction  (0.7ms) UPDATE "users" SET "last_sign_in_at" = '2012-03-07 17:03:22.192433', "current_sign_in_at" = '2012-03-07 17:03:22.192433', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-03-07 17:03:22.193785' WHERE "users"."id" = 1  (2.0ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 322ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2012-03-07 11:03:22 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (4.4ms) Completed 500 Internal Server Error in 46ms ActionView::Template::Error (Missing partial rails_adserver/pages/ad with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.0/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" ): 1: = render 'rails_adserver/pages/ad',:param => 6, :adspace => 2 app/views/page/home.html.haml:1:in `_app_views_page_home_html_haml___2794879916872217136_70159378636940' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (7.2ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.2ms) Started GET "/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:03:43 -0600 ActionController::RoutingError (No route matches [GET] "/ad/space/1/param/1"): actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:04:09 -0600 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (is_active = 't' AND param_restriction = '1' AND adspace_id = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't' AND adspace_id = '1') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (state_name = NULL AND is_active = 't' AND adspace_id = '1') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (country_name = NULL AND is_active = 't' AND adspace_id = '1') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (is_active = 't' AND parameter_restriction_boolean = 'f' AND adspace_id = '1') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/application (5.0ms) Completed 500 Internal Server Error in 940ms ActionView::Template::Error (undefined method `ad_type' for nil:NilClass): 1: - if @advertisement.ad_type == 'ad_service' 2: = @advertisement.ad_text.html_safe 3: - elsif @advertisement.ad_type == 'image_link' 4: %a{:href => rails_adserver.ad_click_path(id), :rel => "nofollow"} /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements_ad_html_haml___439556546142740403_70159402213500' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:41:in `block (2 levels) in render_template' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:40:in `block in render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:48:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:414:in `_run__908956911987007989__process_action__3844400930542851006__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3379464687150688669__call__1858805785773360963__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.0ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.5ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:04:34 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (is_active = 't' AND param_restriction = '1' AND adspace_id = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't' AND adspace_id = '1') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (state_name = NULL AND is_active = 't' AND adspace_id = '1') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (country_name = NULL AND is_active = 't' AND adspace_id = '1') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (is_active = 't' AND parameter_restriction_boolean = 'f' AND adspace_id = '1') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/application (2.1ms) Completed 200 OK in 560ms (Views: 10.3ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:04:35 -0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-07 11:04:35 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:04:35 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:04:35 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:04:35 -0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-07 11:04:35 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:04:37 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (is_active = 't' AND param_restriction = '1' AND adspace_id = '1') RailsAdserver::Advertisement Load (1.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't' AND adspace_id = '1') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (state_name = NULL AND is_active = 't' AND adspace_id = '1') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (country_name = NULL AND is_active = 't' AND adspace_id = '1') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (is_active = 't' AND parameter_restriction_boolean = 'f' AND adspace_id = '1') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/application (0.1ms) Completed 200 OK in 11706ms (Views: 8.7ms | ActiveRecord: 2.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:04:49 -0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-07 11:04:49 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-07 11:04:49 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:04:49 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:04:49 -0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:04:49 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2012-03-07 11:32:55 -0600 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"VrPZ0puSL7ayD3qQEcCXp0B8RCtHvAi+PMMKqOP/bLk=", "user"=>{"email"=>"tmuntan1@slu.edu", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Redirected to http://localhost:3000/ Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 1121ms (ActiveRecord: 23.1ms) Started GET "/" for 127.0.0.1 at 2012-03-07 11:32:58 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (17.5ms) Completed 500 Internal Server Error in 79ms ActionView::Template::Error (Missing partial rails_adserver/pages/ad with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.0/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" ): 1: = render 'rails_adserver/pages/ad',:param => 6, :adspace => 2 app/views/page/home.html.haml:1:in `_app_views_page_home_html_haml___2794879916872217136_70159378636940' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (83.1ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (21.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (626.7ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-07 11:33:56 -0600 Processing by RailsAdserver::PagesController#home as HTML Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/application (1.8ms) Completed 200 OK in 63ms (Views: 62.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:33:56 -0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:33:56 -0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:33:56 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-07 11:33:56 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:33:56 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-07 11:33:56 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:34:09 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (17.6ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 37ms ActiveRecord::RecordNotFound (Couldn't find RailsAdserver::Adspace with id=1): activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:340:in `find_one' activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:311:in `find_with_ids' activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:107:in `find' activerecord (3.2.1) lib/active_record/querying.rb:5:in `find' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:5:in `ad' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:414:in `_run__908956911987007989__process_action__3844400930542851006__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3379464687150688669__call__1858805785773360963__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.2ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-07 11:34:22 -0600 Processing by RailsAdserver::PagesController#home as HTML Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/application (0.1ms) Completed 200 OK in 16ms (Views: 16.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:34:22 -0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:34:22 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:34:22 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:34:22 -0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-07 11:34:22 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-07 11:34:22 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-07 11:34:28 -0600 Processing by RailsAdserver::AdvertisementsController#new as HTML RailsAdserver::Adspace Load (0.4ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (54.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/application (63.2ms) Completed 200 OK in 207ms (Views: 81.7ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:34:28 -0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-07 11:34:28 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-07 11:34:28 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:34:28 -0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:34:28 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:34:28 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/rails_adserver/adspace/new" for 127.0.0.1 at 2012-03-07 11:34:35 -0600 ActionController::RoutingError (No route matches [GET] "/rails_adserver/adspace/new"): actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-07 11:35:09 -0600 Processing by RailsAdserver::PagesController#home as HTML Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (1.2ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (150.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (7.1ms) Completed 200 OK in 422ms (Views: 416.1ms | ActiveRecord: 5.0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:09 -0600 Served asset /rails_adserver/application.css - 200 OK (62ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:09 -0600 Served asset /rails_adserver/adspaces.css - 200 OK (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:09 -0600 Served asset /jquery.js - 304 Not Modified (10ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:10 -0600 Served asset /rails_adserver/pages.css - 200 OK (3ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:10 -0600 Served asset /rails_adserver/bootstrap.css - 200 OK (4ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:10 -0600 Served asset /rails_adserver/advertisements.css - 200 OK (7ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:10 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 200 OK (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:10 -0600 Served asset /jquery_ujs.js - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:10 -0600 Served asset /rails_adserver/adspaces.js - 200 OK (3ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:10 -0600 Served asset /rails_adserver/application.js - 200 OK (11ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:10 -0600 Served asset /rails_adserver/rails_adserver_form.js - 200 OK (50ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:10 -0600 Served asset /rails_adserver/advertisements.js - 200 OK (6ms) Started GET "/rails_adserver/adspaces" for 127.0.0.1 at 2012-03-07 11:35:12 -0600 Processing by RailsAdserver::AdspacesController#index as HTML RailsAdserver::Adspace Load (19.6ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/index.html.haml within layouts/rails_adserver/application (4.1ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (2.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 98ms (Views: 76.6ms | ActiveRecord: 19.9ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:12 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:12 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:12 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:12 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:12 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:12 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:12 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:12 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:12 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:12 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:12 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:12 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/adspaces/new" for 127.0.0.1 at 2012-03-07 11:35:15 -0600 Processing by RailsAdserver::AdspacesController#new as HTML Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/_form.html.haml (7.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/new.html.haml within layouts/rails_adserver/application (10.7ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (1.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 51ms (Views: 45.1ms | ActiveRecord: 0.3ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:15 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:15 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:15 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:15 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:15 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:15 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:15 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:15 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:15 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:15 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:15 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:15 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (3ms) Started POST "/rails_adserver/adspaces" for 127.0.0.1 at 2012-03-07 11:35:19 -0600 Processing by RailsAdserver::AdspacesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"VrPZ0puSL7ayD3qQEcCXp0B8RCtHvAi+PMMKqOP/bLk=", "adspace"=>{"name"=>"Test Adspace"}, "commit"=>"Submit"}  (0.2ms) begin transaction SQL (57.8ms) INSERT INTO "rails_adserver_adspaces" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Mar 2012 17:35:19 UTC +00:00], ["name", "Test Adspace"], ["updated_at", Wed, 07 Mar 2012 17:35:19 UTC +00:00]]  (1.7ms) commit transaction Redirected to http://localhost:3000/rails_adserver/adspaces/1 Completed 302 Found in 68ms (ActiveRecord: 59.8ms) Started GET "/rails_adserver/adspaces/1" for 127.0.0.1 at 2012-03-07 11:35:19 -0600 Processing by RailsAdserver::AdspacesController#show as HTML Parameters: {"id"=>"1"} RailsAdserver::Adspace Load (0.4ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/show.html.haml within layouts/rails_adserver/application (0.9ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (1.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:19 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (1ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:19 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:19 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:19 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:19 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:19 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:19 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:35:20 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:20 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:20 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:20 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:35:20 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:35:26 -0600 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (is_active = 't' AND param_restriction = '1') Completed 500 Internal Server Error in 2974ms ArgumentError (wrong number of arguments (2 for 1)): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:19:in `geo_city' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:17:in `ad' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__623606996896221272__process_action__4290364849036212295__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__1216550091406753331__call__657281423281785679__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.0ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.4ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:36:24 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (is_active = 't' AND param_restriction = '1') Completed 500 Internal Server Error in 592ms ArgumentError (wrong number of arguments (2 for 1)): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:19:in `geo_city' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:17:in `ad' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__623606996896221272__process_action__4290364849036212295__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__1216550091406753331__call__657281423281785679__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.3ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.7ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:37:03 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (is_active = 't' AND param_restriction = '1') Completed 500 Internal Server Error in 1147ms NameError (undefined local variable or method `city' for #): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:17:in `ad' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__623606996896221272__process_action__4290364849036212295__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__1216550091406753331__call__657281423281785679__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (51.6ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (57.3ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:37:22 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (country_name = NULL AND is_active = 't') Completed 500 Internal Server Error in 588ms ArgumentError (wrong number of arguments (1 for 2)): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:11:in `random_ad' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:29:in `ad' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__623606996896221272__process_action__4290364849036212295__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__1216550091406753331__call__657281423281785679__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.8ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:38:02 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (is_active = 't' AND parameter_restriction_boolean = 'f') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/application (2.1ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (30.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.5ms) Completed 200 OK in 667ms (Views: 98.8ms | ActiveRecord: 3.9ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:38:03 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:38:03 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:38:03 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:38:03 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:38:03 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:38:03 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:38:03 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:38:03 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:38:03 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:38:03 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:38:03 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:38:03 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-07 11:38:21 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (5.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (1.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 43ms (Views: 40.7ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:38:21 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:38:21 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:38:21 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:38:21 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:38:21 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:38:21 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:38:21 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:38:21 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:38:21 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:38:21 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:38:21 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:38:21 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-07 11:38:22 -0600 Processing by RailsAdserver::AdvertisementsController#new as HTML RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (30.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (34.1ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (2.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 84ms (Views: 52.5ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:38:22 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:38:22 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:38:22 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:38:22 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:38:22 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:38:22 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:38:22 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:38:22 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:38:22 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:38:22 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:38:22 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:38:22 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started POST "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-07 11:39:03 -0600 Processing by RailsAdserver::AdvertisementsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"VrPZ0puSL7ayD3qQEcCXp0B8RCtHvAi+PMMKqOP/bLk=", "advertisement"=>{"title"=>"Test Ad", "adspace_id"=>"1", "ad_type"=>"image_link", "ad_text"=>"", "image"=>#>, "width"=>"320", "height"=>"600", "url"=>"http://www.campusbazar.com", "max_clicks"=>"10", "parameter_restriction_boolean"=>"false", "param_restriction_name"=>"id", "param_restriction"=>"", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"1"}, "commit"=>"Submit"}  (0.1ms) begin transaction SQL (55.7ms) INSERT INTO "rails_adserver_advertisements" ("ad_text", "ad_type", "adspace_id", "city_name", "click_count", "content", "country_name", "created_at", "geolocation_boolean", "geolocation_location", "height", "image", "is_active", "max_clicks", "param_restriction", "param_restriction_name", "parameter_restriction_boolean", "state_name", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["ad_text", ""], ["ad_type", "image_link"], ["adspace_id", 1], ["city_name", nil], ["click_count", nil], ["content", nil], ["country_name", nil], ["created_at", Wed, 07 Mar 2012 17:39:05 UTC +00:00], ["geolocation_boolean", false], ["geolocation_location", ""], ["height", 600], ["image", "uszgP.jpg"], ["is_active", true], ["max_clicks", 10], ["param_restriction", ""], ["param_restriction_name", "id"], ["parameter_restriction_boolean", false], ["state_name", nil], ["title", "Test Ad"], ["updated_at", Wed, 07 Mar 2012 17:39:05 UTC +00:00], ["url", "http://www.campusbazar.com"], ["width", 320]]  (2.3ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements/1 Completed 302 Found in 2167ms (ActiveRecord: 58.3ms) Started GET "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-07 11:39:06 -0600 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"1"} RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (22.7ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (2.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (2.5ms) Completed 200 OK in 63ms (Views: 60.1ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:39:06 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:39:06 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:39:06 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:39:06 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:39:06 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:39:06 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:39:06 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:39:06 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:39:06 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:39:06 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:39:06 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:39:06 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:39:12 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/application (742.2ms) Completed 500 Internal Server Error in 8354ms ActionView::Template::Error (undefined local variable or method `id' for #<#:0x007fc445240160>): 2: - if @advertisement.ad_type == 'ad_service' 3: = @advertisement.ad_text.html_safe 4: - elsif @advertisement.ad_type == 'image_link' 5: %a{:href => rails_adserver.ad_click_path(id), :rel => "nofollow"} 6: = image_tag @advertisement.image_url, :size => "#{@advertisement.width}x#{@advertisement.height}" /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml:5:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements_ad_html_haml___4468560763161284237_70240460136700' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:41:in `block (2 levels) in render_template' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:40:in `block in render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:48:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__623606996896221272__process_action__4290364849036212295__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__1216550091406753331__call__657281423281785679__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.2ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (65.2ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:39:43 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/application (3.9ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (2.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.6ms) Completed 200 OK in 576ms (Views: 22.5ms | ActiveRecord: 2.1ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:39:44 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:39:44 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:39:44 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:39:44 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:39:44 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:39:44 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:39:44 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:39:44 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:39:44 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:39:44 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:39:44 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:39:44 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:41:31 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/application (2.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (48.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 1159ms (Views: 69.3ms | ActiveRecord: 4.7ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:41:33 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:41:33 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:41:33 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:41:33 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:41:33 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:41:33 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:41:33 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:41:33 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:41:33 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:41:33 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:41:33 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:41:33 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/adspaces" for 127.0.0.1 at 2012-03-07 11:42:01 -0600 Processing by RailsAdserver::AdspacesController#index as HTML RailsAdserver::Adspace Load (0.4ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/index.html.haml within layouts/rails_adserver/application (3.4ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (1.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 24ms (Views: 20.9ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:01 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:01 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:01 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:01 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:01 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:01 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:01 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:01 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:01 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:01 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:01 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:01 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/adspaces/new" for 127.0.0.1 at 2012-03-07 11:42:05 -0600 Processing by RailsAdserver::AdspacesController#new as HTML Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/_form.html.haml (3.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/new.html.haml within layouts/rails_adserver/application (5.5ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (2.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 27ms (Views: 25.0ms | ActiveRecord: 0.4ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:05 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:05 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:05 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:05 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:05 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:05 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:05 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:05 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:05 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:05 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:05 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:06 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started POST "/rails_adserver/adspaces" for 127.0.0.1 at 2012-03-07 11:42:08 -0600 Processing by RailsAdserver::AdspacesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"VrPZ0puSL7ayD3qQEcCXp0B8RCtHvAi+PMMKqOP/bLk=", "adspace"=>{"name"=>"Test Adspace 2"}, "commit"=>"Submit"}  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "rails_adserver_adspaces" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 07 Mar 2012 17:42:08 UTC +00:00], ["name", "Test Adspace 2"], ["updated_at", Wed, 07 Mar 2012 17:42:08 UTC +00:00]]  (2.0ms) commit transaction Redirected to http://localhost:3000/rails_adserver/adspaces/2 Completed 302 Found in 10ms (ActiveRecord: 3.1ms) Started GET "/rails_adserver/adspaces/2" for 127.0.0.1 at 2012-03-07 11:42:08 -0600 Processing by RailsAdserver::AdspacesController#show as HTML Parameters: {"id"=>"2"} RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "2"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/show.html.haml within layouts/rails_adserver/application (0.1ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (1.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 18ms (Views: 16.2ms | ActiveRecord: 0.5ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:09 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:09 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:09 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:09 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:09 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:09 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:09 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:09 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:09 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:09 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:09 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:09 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:42:15 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/application (1.5ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (1.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 714ms (Views: 18.3ms | ActiveRecord: 2.1ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:15 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:15 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:15 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:15 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:15 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:15 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:16 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:16 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:16 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:16 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:16 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:16 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/2/param/1" for 127.0.0.1 at 2012-03-07 11:42:18 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"2", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "2"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't' AND parameter_restriction_boolean = 'f') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/application (0.1ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (2.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 11605ms (Views: 16.4ms | ActiveRecord: 2.0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:29 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:29 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:29 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:29 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:29 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:29 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:29 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:29 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:29 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:29 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:29 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:29 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:42:52 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/application (2.1ms) User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (3.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.7ms) Completed 200 OK in 947ms (Views: 22.6ms | ActiveRecord: 3.1ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:53 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:53 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:53 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:53 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:53 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:53 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:42:53 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:53 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:53 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:53 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:53 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:42:53 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param" for 127.0.0.1 at 2012-03-07 11:42:56 -0600 ActionController::RoutingError (No route matches [GET] "/rails_adserver/ad/space/1/param"): actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.3ms) Started GET "/rails_adserver/ad/space/1/param" for 127.0.0.1 at 2012-03-07 11:43:57 -0600 ActionController::RoutingError (No route matches [GET] "/rails_adserver/ad/space/1/param"): actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms) Started GET "/rails_adserver/ad/space/1/param" for 127.0.0.1 at 2012-03-07 11:44:00 -0600 ActionController::RoutingError (No route matches [GET] "/rails_adserver/ad/space/1/param"): actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms) Started GET "/rails_adserver/ad/space/1/param/2" for 127.0.0.1 at 2012-03-07 11:44:02 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"2"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '2') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/application (1.5ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (33.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 1067ms (Views: 51.0ms | ActiveRecord: 4.2ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:04 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:04 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:04 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:04 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:04 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:04 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:04 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:04 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:04 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:04 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:04 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:04 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/adspaces" for 127.0.0.1 at 2012-03-07 11:44:30 -0600 Processing by RailsAdserver::AdspacesController#index as HTML RailsAdserver::Adspace Load (0.4ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/index.html.haml within layouts/rails_adserver/application (4.1ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (2.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.6ms) Completed 200 OK in 24ms (Views: 21.8ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:30 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:30 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:30 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:30 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:30 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:30 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:31 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:31 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:31 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:31 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:31 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:31 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/adspaces/new" for 127.0.0.1 at 2012-03-07 11:44:32 -0600 Processing by RailsAdserver::AdspacesController#new as HTML Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/_form.html.haml (2.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/new.html.haml within layouts/rails_adserver/application (4.6ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (2.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (2.1ms) Completed 200 OK in 23ms (Views: 22.2ms | ActiveRecord: 0.3ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:33 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:33 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:33 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:33 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:33 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:33 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:33 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:33 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:33 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:33 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:33 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:33 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-07 11:44:35 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (3.6ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (1.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 23ms (Views: 20.7ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:35 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:35 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:35 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:35 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:35 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:35 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:35 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:35 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:35 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:35 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:35 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:35 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-07 11:44:36 -0600 Processing by RailsAdserver::AdvertisementsController#new as HTML RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (15.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (17.0ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (2.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 35ms (Views: 33.7ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:36 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:36 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:36 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:36 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:36 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:36 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:36 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:36 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:36 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:36 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:36 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:36 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-07 11:44:38 -0600 Processing by RailsAdserver::PagesController#home as HTML Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (0.2ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (2.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 20ms (Views: 19.4ms | ActiveRecord: 0.3ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:39 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:39 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:39 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:39 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:39 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:39 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:39 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:39 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:39 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:39 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:44:39 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:44:39 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:47:31 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml (0.1ms) RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 652ms (Views: 10.5ms | ActiveRecord: 3.8ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:48:38 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 1020ms (Views: 6.3ms | ActiveRecord: 3.6ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:48:55 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.6ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 924ms (Views: 4.6ms | ActiveRecord: 2.3ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:49:10 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/application (2.1ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (32.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 740ms (Views: 61.7ms | ActiveRecord: 4.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:49:11 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:49:11 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:49:11 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:49:11 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:49:11 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:49:11 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:49:11 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:49:11 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:49:11 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:49:11 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:49:11 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:49:11 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:49:52 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Completed 500 Internal Server Error in 16ms ActionView::MissingTemplate (Missing template layouts/rails_adserver/advertisement with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.0/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" ): actionpack (3.2.1) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.1) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:73:in `resolve_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:63:in `block in find_layout' actionpack (3.2.1) lib/action_view/lookup_context.rb:236:in `with_layout_format' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `with_layout_format' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:63:in `find_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:5:in `ad' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__623606996896221272__process_action__4290364849036212295__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__1216550091406753331__call__657281423281785679__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:50:07 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Completed 500 Internal Server Error in 13ms ActionView::MissingTemplate (Missing template layouts/rails_adserver/advertisement with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.0/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" ): actionpack (3.2.1) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.1) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:73:in `resolve_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:63:in `block in find_layout' actionpack (3.2.1) lib/action_view/lookup_context.rb:236:in `with_layout_format' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `with_layout_format' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:63:in `find_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:5:in `ad' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__623606996896221272__process_action__4290364849036212295__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__1216550091406753331__call__657281423281785679__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.9ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:50:08 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Completed 500 Internal Server Error in 13ms ActionView::MissingTemplate (Missing template layouts/rails_adserver/advertisement with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.0/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" ): actionpack (3.2.1) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.1) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:73:in `resolve_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:63:in `block in find_layout' actionpack (3.2.1) lib/action_view/lookup_context.rb:236:in `with_layout_format' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `with_layout_format' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:63:in `find_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:5:in `ad' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__623606996896221272__process_action__4290364849036212295__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__1216550091406753331__call__657281423281785679__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:50:09 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Completed 500 Internal Server Error in 12ms ActionView::MissingTemplate (Missing template layouts/rails_adserver/advertisement with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.0/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" ): actionpack (3.2.1) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.1) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:73:in `resolve_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:63:in `block in find_layout' actionpack (3.2.1) lib/action_view/lookup_context.rb:236:in `with_layout_format' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `with_layout_format' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:63:in `find_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:5:in `ad' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__623606996896221272__process_action__4290364849036212295__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__1216550091406753331__call__657281423281785679__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:50:19 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.3ms) RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 680ms (Views: 5.7ms | ActiveRecord: 3.4ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:50:53 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 569ms (Views: 5.2ms | ActiveRecord: 1.8ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:50:55 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (68.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 12632ms (Views: 3.2ms | ActiveRecord: 70.1ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:52:15 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.6ms) RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 941ms (Views: 28.1ms | ActiveRecord: 2.4ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:53:19 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (37.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 1356ms (Views: 79.4ms | ActiveRecord: 3.0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:53:21 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:53:21 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:53:21 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:53:21 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:53:21 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:53:21 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:53:21 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:53:21 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:53:21 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:53:21 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:53:21 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:53:21 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:53:24 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (108.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (2.0ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 10781ms (Views: 122.9ms | ActiveRecord: 3.8ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:53:35 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:53:35 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:53:35 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:53:35 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:53:35 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:53:35 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:53:35 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:53:35 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:53:35 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:53:35 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:53:35 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:53:35 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:53:38 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/application (2.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (32.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.9ms) Completed 200 OK in 11021ms (Views: 73.9ms | ActiveRecord: 4.3ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:53:49 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:53:49 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:53:49 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:53:49 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:53:49 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:53:49 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:53:49 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:53:49 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:53:49 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:53:49 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:53:49 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:53:49 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:54:11 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (31.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.6ms) RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 727ms (Views: 45.9ms | ActiveRecord: 4.2ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:54:11 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:54:11 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:54:11 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:54:11 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:54:11 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:54:11 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:54:11 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:54:11 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:54:11 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:54:11 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:54:11 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:54:12 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:54:25 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.2ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (3.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (2.4ms) RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 572ms (Views: 20.5ms | ActiveRecord: 2.2ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:54:25 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:54:25 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:54:25 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:54:25 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:54:25 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:54:25 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:54:25 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:54:25 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:54:25 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:54:25 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:54:26 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:54:26 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:54:33 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (113.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.6ms) RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 5769ms (Views: 129.7ms | ActiveRecord: 4.2ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:54:39 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:54:39 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:54:39 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:54:39 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:54:39 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:54:39 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:54:39 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:54:39 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:54:39 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:54:39 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:54:39 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:54:39 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:55:26 -0600 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (2.3ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (136.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (6.9ms) RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 1099ms (Views: 322.9ms | ActiveRecord: 6.9ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:55:27 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (74ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:55:27 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (5ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:55:27 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:55:27 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:55:27 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:55:27 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:55:27 -0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:55:27 -0600 Served asset /jquery_ujs.js - 304 Not Modified (43ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:55:27 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:55:27 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:55:27 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (13ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:55:27 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (2ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:55:29 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (3.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.9ms) RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 11717ms (Views: 73.8ms | ActiveRecord: 2.3ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 11:55:41 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 11:55:41 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 11:55:41 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 11:55:41 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 11:55:41 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 11:55:41 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 11:55:41 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 11:55:41 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 11:55:41 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 11:55:41 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 11:55:41 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 11:55:41 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:56:20 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 911ms (Views: 5.3ms | ActiveRecord: 2.0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:57:55 -0600 ActionController::RoutingError (undefined method `render' for RailsAdserver::AdvertisementsController:Class): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:4:in `' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:3:in `' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:2:in `' activesupport (3.2.1) lib/active_support/dependencies.rb:469:in `load' activesupport (3.2.1) lib/active_support/dependencies.rb:469:in `block in load_file' activesupport (3.2.1) lib/active_support/dependencies.rb:639:in `new_constants_in' activesupport (3.2.1) lib/active_support/dependencies.rb:468:in `load_file' activesupport (3.2.1) lib/active_support/dependencies.rb:353:in `require_or_load' activesupport (3.2.1) lib/active_support/dependencies.rb:502:in `load_missing_constant' activesupport (3.2.1) lib/active_support/dependencies.rb:192:in `block in const_missing' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `each' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `const_missing' activesupport (3.2.1) lib/active_support/inflector/methods.rb:229:in `block in constantize' activesupport (3.2.1) lib/active_support/inflector/methods.rb:228:in `each' activesupport (3.2.1) lib/active_support/inflector/methods.rb:228:in `constantize' activesupport (3.2.1) lib/active_support/dependencies.rb:554:in `get' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:62:in `controller_reference' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:47:in `controller' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:26:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3537222602268820736__call__3452020090158045184__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.1ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:58:05 -0600 SyntaxError (/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:4: syntax error, unexpected tASSOC, expecting keyword_end :layout => 'layouts/rails_adserver/advertisement', :only => :ad ^ /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:4: syntax error, unexpected ',', expecting keyword_end :layout => 'layouts/rails_adserver/advertisement', :only => :ad ^): activesupport (3.2.1) lib/active_support/dependencies.rb:469:in `load' activesupport (3.2.1) lib/active_support/dependencies.rb:469:in `block in load_file' activesupport (3.2.1) lib/active_support/dependencies.rb:639:in `new_constants_in' activesupport (3.2.1) lib/active_support/dependencies.rb:468:in `load_file' activesupport (3.2.1) lib/active_support/dependencies.rb:353:in `require_or_load' activesupport (3.2.1) lib/active_support/dependencies.rb:502:in `load_missing_constant' activesupport (3.2.1) lib/active_support/dependencies.rb:192:in `block in const_missing' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `each' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `const_missing' activesupport (3.2.1) lib/active_support/inflector/methods.rb:229:in `block in constantize' activesupport (3.2.1) lib/active_support/inflector/methods.rb:228:in `each' activesupport (3.2.1) lib/active_support/inflector/methods.rb:228:in `constantize' activesupport (3.2.1) lib/active_support/dependencies.rb:554:in `get' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:62:in `controller_reference' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:47:in `controller' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:26:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3537222602268820736__call__3452020090158045184__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.3ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:59:17 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (2.0ms) Filter chain halted as :ad_layout rendered or redirected Completed 200 OK in 69ms (Views: 68.4ms | ActiveRecord: 0.0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:59:19 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) Filter chain halted as :ad_layout rendered or redirected Completed 200 OK in 11ms (Views: 10.7ms | ActiveRecord: 0.0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:59:20 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.2ms) Filter chain halted as :ad_layout rendered or redirected Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 11:59:21 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) Filter chain halted as :ad_layout rendered or redirected Completed 200 OK in 12ms (Views: 12.1ms | ActiveRecord: 0.0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-07 12:00:52 -0600 Processing by RailsAdserver::AdvertisementsController#new as HTML Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (18.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/advertisement (22.8ms) Completed 500 Internal Server Error in 61ms ActionView::Template::Error (undefined method `model_name' for NilClass:Class): 1: = form_for(@advertisement, :html => {:class => 'form-horizontal', :multipart => true}) do |f| 2: - if @advertisement.errors.any? 3: #error_explanation 4: %h2 activemodel (3.2.1) lib/active_model/naming.rb:163:in `model_name_from_record_or_class' activemodel (3.2.1) lib/active_model/naming.rb:158:in `param_key' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:368:in `form_for' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:183:in `form_for_with_haml' haml (3.1.4) lib/haml/helpers/xss_mods.rb:132:in `form_for_with_haml_xss' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements__form_html_haml__2406368201189277523_70160930061100' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:257:in `render_partial' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:230:in `block in render' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:229:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:41:in `render_partial' actionpack (3.2.1) lib/action_view/helpers/rendering_helper.rb:27:in `render' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `block in render_with_haml' haml (3.1.4) lib/haml/helpers.rb:90:in `non_haml' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `render_with_haml' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements_new_html_haml___4602198750338383968_70160918423360' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:41:in `block (2 levels) in render_template' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:40:in `block in render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:48:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:7:in `ad_layout' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__3930740538663574281__process_action__2863373773407896546__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3537222602268820736__call__3452020090158045184__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (8.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.6ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-07 12:01:16 -0600 Processing by RailsAdserver::AdvertisementsController#new as HTML RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (32.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (36.8ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (29.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.5ms) Completed 200 OK in 143ms (Views: 108.3ms | ActiveRecord: 2.4ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 12:01:16 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 12:01:17 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 12:01:17 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 12:01:17 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 12:01:17 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 12:01:17 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 12:01:17 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 12:01:17 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 12:01:17 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 12:01:17 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 12:01:17 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 12:01:17 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-07 12:01:22 -0600 Processing by RailsAdserver::AdvertisementsController#new as HTML Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (1.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/advertisement (3.5ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined method `model_name' for NilClass:Class): 1: = form_for(@advertisement, :html => {:class => 'form-horizontal', :multipart => true}) do |f| 2: - if @advertisement.errors.any? 3: #error_explanation 4: %h2 activemodel (3.2.1) lib/active_model/naming.rb:163:in `model_name_from_record_or_class' activemodel (3.2.1) lib/active_model/naming.rb:158:in `param_key' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:368:in `form_for' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:183:in `form_for_with_haml' haml (3.1.4) lib/haml/helpers/xss_mods.rb:132:in `form_for_with_haml_xss' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements__form_html_haml__2406368201189277523_70160930061100' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:257:in `render_partial' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:230:in `block in render' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:229:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:41:in `render_partial' actionpack (3.2.1) lib/action_view/helpers/rendering_helper.rb:27:in `render' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `block in render_with_haml' haml (3.1.4) lib/haml/helpers.rb:90:in `non_haml' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `render_with_haml' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements_new_html_haml___4602198750338383968_70160918423360' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:41:in `block (2 levels) in render_template' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:40:in `block in render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:48:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:7:in `ad_layout' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__3930740538663574281__process_action__2863373773407896546__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3537222602268820736__call__3452020090158045184__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.3ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.7ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-07 12:04:37 -0600 Processing by RailsAdserver::AdvertisementsController#new as HTML Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (2.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/advertisement (6.0ms) Completed 500 Internal Server Error in 36ms ActionView::Template::Error (undefined method `model_name' for NilClass:Class): 1: = form_for(@advertisement, :html => {:class => 'form-horizontal', :multipart => true}) do |f| 2: - if @advertisement.errors.any? 3: #error_explanation 4: %h2 activemodel (3.2.1) lib/active_model/naming.rb:163:in `model_name_from_record_or_class' activemodel (3.2.1) lib/active_model/naming.rb:158:in `param_key' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:368:in `form_for' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:183:in `form_for_with_haml' haml (3.1.4) lib/haml/helpers/xss_mods.rb:132:in `form_for_with_haml_xss' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements__form_html_haml__2406368201189277523_70160930061100' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:257:in `render_partial' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:230:in `block in render' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:229:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:41:in `render_partial' actionpack (3.2.1) lib/action_view/helpers/rendering_helper.rb:27:in `render' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `block in render_with_haml' haml (3.1.4) lib/haml/helpers.rb:90:in `non_haml' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `render_with_haml' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements_new_html_haml___4602198750338383968_70160918423360' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:41:in `block (2 levels) in render_template' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:40:in `block in render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:48:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:7:in `ad_layout' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__3930740538663574281__process_action__2863373773407896546__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3537222602268820736__call__3452020090158045184__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.6ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.3ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 12:04:44 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) Filter chain halted as :ad_layout rendered or redirected Completed 200 OK in 51ms (Views: 50.3ms | ActiveRecord: 0.0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 12:04:45 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) Filter chain halted as :ad_layout rendered or redirected Completed 200 OK in 12ms (Views: 11.8ms | ActiveRecord: 0.0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 12:04:46 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) Filter chain halted as :ad_layout rendered or redirected Completed 200 OK in 12ms (Views: 11.8ms | ActiveRecord: 0.0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 12:04:46 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) Filter chain halted as :ad_layout rendered or redirected Completed 200 OK in 12ms (Views: 11.6ms | ActiveRecord: 0.0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 12:04:47 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) Filter chain halted as :ad_layout rendered or redirected Completed 200 OK in 11ms (Views: 10.9ms | ActiveRecord: 0.0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 12:04:47 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) Filter chain halted as :ad_layout rendered or redirected Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 12:04:47 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) Filter chain halted as :ad_layout rendered or redirected Completed 200 OK in 13ms (Views: 12.6ms | ActiveRecord: 0.0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 12:04:48 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) Filter chain halted as :ad_layout rendered or redirected Completed 200 OK in 13ms (Views: 12.6ms | ActiveRecord: 0.0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 12:04:48 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) Filter chain halted as :ad_layout rendered or redirected Completed 200 OK in 11ms (Views: 11.1ms | ActiveRecord: 0.0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 12:04:48 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml within layouts/rails_adserver/advertisement (0.1ms) Filter chain halted as :ad_layout rendered or redirected Completed 200 OK in 11ms (Views: 10.8ms | ActiveRecord: 0.0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 12:05:28 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml (0.1ms) Completed 500 Internal Server Error in 3ms AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return".): actionpack (3.2.1) lib/action_controller/metal/rendering.rb:15:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:6:in `ad' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__3930740538663574281__process_action__706701101316916628__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3537222602268820736__call__3452020090158045184__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.1ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.3ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 12:06:00 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml (0.1ms) RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 200 OK in 1660ms (Views: 2.6ms | ActiveRecord: 4.0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 12:08:35 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1186ms RuntimeError (In order to use respond_with, first you need to declare the formats your controller responds to in the class level): actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:233:in `respond_with' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:38:in `ad' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__3930740538663574281__process_action__706701101316916628__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3537222602268820736__call__3452020090158045184__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.5ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 12:09:09 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 596ms RuntimeError (In order to use respond_with, first you need to declare the formats your controller responds to in the class level): actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:233:in `respond_with' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:38:in `ad' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__3930740538663574281__process_action__706701101316916628__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3537222602268820736__call__3452020090158045184__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.0ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.2ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 12:10:41 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.9ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 952ms ArgumentError (respond_to takes either types or a block, never both): actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:192:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:38:in `ad' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__3930740538663574281__process_action__706701101316916628__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3537222602268820736__call__3452020090158045184__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 12:11:05 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 5064ms NoMethodError (undefined method `[]=' for false:FalseClass): actionpack (3.2.1) lib/abstract_controller/rendering.rb:150:in `_normalize_args' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:36:in `_normalize_args' actionpack (3.2.1) lib/abstract_controller/rendering.rb:134:in `_normalize_render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:87:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:39:in `block (2 levels) in ad' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `call' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:38:in `ad' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__3930740538663574281__process_action__706701101316916628__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3537222602268820736__call__3452020090158045184__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.3ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.6ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-07 12:11:35 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml (35.1ms) Completed 200 OK in 1046ms (Views: 90.4ms | ActiveRecord: 3.5ms) Started GET "/rails_adserver/ad/space/2/param/1" for 127.0.0.1 at 2012-03-07 12:11:45 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"2", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "2"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't' AND parameter_restriction_boolean = 'f') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml (0.1ms) Completed 200 OK in 4654ms (Views: 3.2ms | ActiveRecord: 1.9ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-07 12:13:02 -0600 Processing by RailsAdserver::PagesController#home as HTML Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (1.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (102.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.9ms) Completed 200 OK in 161ms (Views: 159.6ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 12:13:02 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 12:13:02 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 12:13:02 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 12:13:02 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 12:13:02 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 12:13:02 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 12:13:02 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 12:13:02 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 12:13:02 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 12:13:02 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 12:13:02 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 12:13:02 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-07 12:13:06 -0600 Processing by RailsAdserver::AdvertisementsController#new as HTML RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (17.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (19.9ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (2.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 56ms (Views: 53.9ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 12:13:06 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 12:13:06 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 12:13:06 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 12:13:06 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 12:13:06 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 12:13:06 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 12:13:06 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 12:13:06 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 12:13:06 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 12:13:06 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 12:13:06 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 12:13:06 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started POST "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-07 12:13:35 -0600 Processing by RailsAdserver::AdvertisementsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"VrPZ0puSL7ayD3qQEcCXp0B8RCtHvAi+PMMKqOP/bLk=", "advertisement"=>{"title"=>"Test Ad 234", "adspace_id"=>"1", "ad_type"=>"image_link", "ad_text"=>"", "image"=>#>, "width"=>"100", "height"=>"100", "url"=>"http://www.campusbazar.com", "max_clicks"=>"10", "parameter_restriction_boolean"=>"false", "param_restriction_name"=>"id", "param_restriction"=>"", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"1"}, "commit"=>"Submit"}  (0.1ms) begin transaction SQL (208.5ms) INSERT INTO "rails_adserver_advertisements" ("ad_text", "ad_type", "adspace_id", "city_name", "click_count", "content", "country_name", "created_at", "geolocation_boolean", "geolocation_location", "height", "image", "is_active", "max_clicks", "param_restriction", "param_restriction_name", "parameter_restriction_boolean", "state_name", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["ad_text", ""], ["ad_type", "image_link"], ["adspace_id", 1], ["city_name", nil], ["click_count", nil], ["content", nil], ["country_name", nil], ["created_at", Wed, 07 Mar 2012 18:13:37 UTC +00:00], ["geolocation_boolean", false], ["geolocation_location", ""], ["height", 100], ["image", "uszgP.jpg"], ["is_active", true], ["max_clicks", 10], ["param_restriction", ""], ["param_restriction_name", "id"], ["parameter_restriction_boolean", false], ["state_name", nil], ["title", "Test Ad 234"], ["updated_at", Wed, 07 Mar 2012 18:13:37 UTC +00:00], ["url", "http://www.campusbazar.com"], ["width", 100]]  (2.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements/2 Completed 302 Found in 2264ms (ActiveRecord: 211.3ms) Started GET "/rails_adserver/advertisements/2" for 127.0.0.1 at 2012-03-07 12:13:37 -0600 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"2"} RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "2"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (2.8ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (2.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 49ms (Views: 46.9ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 12:13:37 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 12:13:37 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 12:13:37 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 12:13:37 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 12:13:37 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 12:13:37 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 12:13:37 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 12:13:37 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 12:13:37 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 12:13:37 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 12:13:37 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 12:13:37 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-07 12:14:16 -0600 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#index as HTML RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (8.8ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (61.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (56.2ms) Completed 200 OK in 458ms (Views: 372.0ms | ActiveRecord: 4.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:17 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (11ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:17 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:17 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:17 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:17 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:17 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:17 -0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:17 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:17 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (53ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:17 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:17 -0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:17 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (10ms) Started DELETE "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-07 12:14:20 -0600 Processing by RailsAdserver::AdvertisementsController#destroy as HTML Parameters: {"authenticity_token"=>"VrPZ0puSL7ayD3qQEcCXp0B8RCtHvAi+PMMKqOP/bLk=", "id"=>"1"} RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction SQL (27.5ms) DELETE FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? [["id", 1]]  (2.3ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements Completed 302 Found in 40ms (ActiveRecord: 30.2ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-07 12:14:20 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (2.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (2.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 21ms (Views: 19.3ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:20 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:20 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:20 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:20 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:20 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:20 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:20 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:20 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:20 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:20 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:20 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:20 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started DELETE "/rails_adserver/advertisements/2" for 127.0.0.1 at 2012-03-07 12:14:24 -0600 Processing by RailsAdserver::AdvertisementsController#destroy as HTML Parameters: {"authenticity_token"=>"VrPZ0puSL7ayD3qQEcCXp0B8RCtHvAi+PMMKqOP/bLk=", "id"=>"2"} RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "2"]]  (0.1ms) begin transaction SQL (1.3ms) DELETE FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? [["id", 2]]  (2.5ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements Completed 302 Found in 7ms (ActiveRecord: 4.1ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-07 12:14:24 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (1.0ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (2.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.7ms) Completed 200 OK in 79ms (Views: 77.0ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:24 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:24 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:24 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:24 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:24 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:24 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:24 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:24 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:24 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:24 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:24 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:24 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-07 12:14:26 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (0.7ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (2.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 20ms (Views: 18.4ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:26 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:26 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:26 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:26 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:26 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:26 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:26 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:26 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:26 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:26 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:26 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:26 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-07 12:14:27 -0600 Processing by RailsAdserver::AdvertisementsController#new as HTML RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (44.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (46.9ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (1.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 64ms (Views: 62.3ms | ActiveRecord: 0.8ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:27 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:27 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:27 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:27 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:27 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:27 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:27 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:27 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:27 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:27 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:27 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:27 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started POST "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-07 12:14:57 -0600 Processing by RailsAdserver::AdvertisementsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"VrPZ0puSL7ayD3qQEcCXp0B8RCtHvAi+PMMKqOP/bLk=", "advertisement"=>{"title"=>"Test Ad", "adspace_id"=>"1", "ad_type"=>"image_link", "ad_text"=>"", "image"=>#>, "width"=>"100", "height"=>"200", "url"=>"http://www.campusbazar.com", "max_clicks"=>"10", "parameter_restriction_boolean"=>"false", "param_restriction_name"=>"id", "param_restriction"=>"", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"1"}, "commit"=>"Submit"}  (0.1ms) begin transaction SQL (24.8ms) INSERT INTO "rails_adserver_advertisements" ("ad_text", "ad_type", "adspace_id", "city_name", "click_count", "content", "country_name", "created_at", "geolocation_boolean", "geolocation_location", "height", "image", "is_active", "max_clicks", "param_restriction", "param_restriction_name", "parameter_restriction_boolean", "state_name", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["ad_text", ""], ["ad_type", "image_link"], ["adspace_id", 1], ["city_name", nil], ["click_count", nil], ["content", nil], ["country_name", nil], ["created_at", Wed, 07 Mar 2012 18:14:58 UTC +00:00], ["geolocation_boolean", false], ["geolocation_location", ""], ["height", 200], ["image", "uszgP.jpg"], ["is_active", true], ["max_clicks", 10], ["param_restriction", ""], ["param_restriction_name", "id"], ["parameter_restriction_boolean", false], ["state_name", nil], ["title", "Test Ad"], ["updated_at", Wed, 07 Mar 2012 18:14:58 UTC +00:00], ["url", "http://www.campusbazar.com"], ["width", 100]]  (2.3ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements/3 Completed 302 Found in 945ms (ActiveRecord: 27.3ms) Started GET "/rails_adserver/advertisements/3" for 127.0.0.1 at 2012-03-07 12:14:58 -0600 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"3"} RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "3"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (2.9ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (2.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 48ms (Views: 45.6ms | ActiveRecord: 0.5ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:58 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (1ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:58 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:58 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:58 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:58 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 12:14:58 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:58 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:59 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:59 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:59 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:59 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 12:14:59 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-07 12:15:38 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (2.3ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (2.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 22ms (Views: 19.9ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 12:15:38 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 12:15:38 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 12:15:38 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 12:15:38 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 12:15:39 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 12:15:39 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 12:15:39 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 12:15:39 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 12:15:39 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 12:15:39 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 12:15:39 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 12:15:39 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/3" for 127.0.0.1 at 2012-03-07 12:15:43 -0600 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"3"} RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "3"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (1.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (2.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 158ms (Views: 156.2ms | ActiveRecord: 0.5ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 12:15:43 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 12:15:43 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 12:15:43 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 12:15:43 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 12:15:43 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 12:15:43 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 12:15:43 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 12:15:43 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 12:15:43 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 12:15:43 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 12:15:43 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 12:15:43 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-07 12:15:47 -0600 Processing by RailsAdserver::AdvertisementsController#new as HTML RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (13.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (15.1ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (2.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 34ms (Views: 33.3ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 12:15:47 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 12:15:47 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 12:15:47 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 12:15:47 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 12:15:47 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 12:15:47 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 12:15:47 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 12:15:47 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 12:15:47 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 12:15:47 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 12:15:47 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 12:15:47 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started POST "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-07 12:16:18 -0600 Processing by RailsAdserver::AdvertisementsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"VrPZ0puSL7ayD3qQEcCXp0B8RCtHvAi+PMMKqOP/bLk=", "advertisement"=>{"title"=>"Test Ad 23", "adspace_id"=>"1", "ad_type"=>"image_link", "ad_text"=>"", "image"=>#>, "width"=>"200", "height"=>"100", "url"=>"http://www.campusbazar.com", "max_clicks"=>"10", "parameter_restriction_boolean"=>"false", "param_restriction_name"=>"id", "param_restriction"=>"", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"1"}, "commit"=>"Submit"}  (0.1ms) begin transaction SQL (42.7ms) INSERT INTO "rails_adserver_advertisements" ("ad_text", "ad_type", "adspace_id", "city_name", "click_count", "content", "country_name", "created_at", "geolocation_boolean", "geolocation_location", "height", "image", "is_active", "max_clicks", "param_restriction", "param_restriction_name", "parameter_restriction_boolean", "state_name", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["ad_text", ""], ["ad_type", "image_link"], ["adspace_id", 1], ["city_name", nil], ["click_count", nil], ["content", nil], ["country_name", nil], ["created_at", Wed, 07 Mar 2012 18:16:21 UTC +00:00], ["geolocation_boolean", false], ["geolocation_location", ""], ["height", 100], ["image", "DSC_0001.JPG"], ["is_active", true], ["max_clicks", 10], ["param_restriction", ""], ["param_restriction_name", "id"], ["parameter_restriction_boolean", false], ["state_name", nil], ["title", "Test Ad 23"], ["updated_at", Wed, 07 Mar 2012 18:16:21 UTC +00:00], ["url", "http://www.campusbazar.com"], ["width", 200]]  (87.5ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements/4 Completed 302 Found in 2487ms (ActiveRecord: 130.5ms) Started GET "/rails_adserver/advertisements/4" for 127.0.0.1 at 2012-03-07 12:16:21 -0600 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"4"} RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "4"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (1.8ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (3.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (2.1ms) Completed 200 OK in 131ms (Views: 129.4ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 12:16:21 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 12:16:21 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 12:16:21 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 12:16:21 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 12:16:21 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 12:16:21 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 12:16:21 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 12:16:21 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 12:16:21 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 12:16:21 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 12:16:21 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 12:16:21 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/" for 127.0.0.1 at 2012-03-07 14:39:47 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (1.1ms) Completed 200 OK in 144ms (Views: 143.5ms | ActiveRecord: 0.0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-07 14:39:47 -0600 Served asset /page.css - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 14:39:47 -0600 Served asset /jquery.js - 304 Not Modified (55ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 14:39:48 -0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-07 14:39:48 -0600 Served asset /application.js - 304 Not Modified (11ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-07 14:39:48 -0600 Served asset /page.js - 304 Not Modified (2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-07 14:39:48 -0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/" for 127.0.0.1 at 2012-03-07 14:39:51 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (0.1ms) Completed 200 OK in 7ms (Views: 7.1ms | ActiveRecord: 0.0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-07 14:39:51 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 14:39:51 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 14:39:51 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-07 14:39:51 -0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-07 14:39:51 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-07 14:39:51 -0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/" for 127.0.0.1 at 2012-03-07 14:39:52 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (0.1ms) Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-07 14:39:52 -0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 14:39:52 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-07 14:39:52 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 14:39:52 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-07 14:39:52 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-07 14:39:52 -0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/" for 127.0.0.1 at 2012-03-07 14:39:53 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (0.1ms) Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-07 14:39:53 -0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-07 14:39:53 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-07 14:39:53 -0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-07 14:39:53 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 14:39:53 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 14:39:53 -0600 Served asset /jquery.js - 304 Not Modified (0ms)  (40.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to DeviseCreateUsers (20120227204751) Migrating to AddCanManageAdsToUsers (20120307204255)  (0.1ms) select sqlite_version(*)  (0.1ms) begin transaction  (0.9ms) ALTER TABLE "users" ADD "can_manage_ads" boolean  (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120307204255')  (2.0ms) commit transaction  (0.6ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("rails_adserver_adspaces")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_country_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_state_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.0ms) PRAGMA index_list("rails_adserver_clicks")  (0.0ms) PRAGMA index_info('index_rails_adserver_clicks_on_advertisement_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_email') Started GET "/" for 127.0.0.1 at 2012-03-07 14:43:20 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (45.1ms) Completed 200 OK in 144ms (Views: 143.2ms | ActiveRecord: 0.0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-07 14:43:21 -0600 Served asset /page.js - 304 Not Modified (2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-07 14:43:21 -0600 Served asset /application.css - 304 Not Modified (7ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 14:43:21 -0600 Served asset /jquery_ujs.js - 304 Not Modified (5ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-07 14:43:21 -0600 Served asset /application.js - 304 Not Modified (53ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 14:43:22 -0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-07 14:43:22 -0600 Served asset /page.css - 304 Not Modified (2ms) Started GET "/" for 127.0.0.1 at 2012-03-07 14:44:31 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (1.0ms) Completed 200 OK in 102ms (Views: 101.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-07 14:44:31 -0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-07 14:44:31 -0600 Served asset /page.css - 304 Not Modified (8ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 14:44:31 -0600 Served asset /jquery.js - 304 Not Modified (60ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 14:44:31 -0600 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-07 14:44:31 -0600 Served asset /application.js - 304 Not Modified (6ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-07 14:44:31 -0600 Served asset /page.js - 304 Not Modified (1ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-07 14:44:38 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 275ms NameError (undefined local variable or method `_current_user' for #): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/pages_controller.rb:10:in `authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:418:in `_run__4356803278048104081__process_action__543633289813338498__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__7475451696571429__call__3088995815470824411__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.6ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-07 14:47:56 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 1ms NoMethodError (undefined method `can_mangage_ads' for #): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/pages_controller.rb:10:in `authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__4356803278048104081__process_action__543633289813338498__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__7475451696571429__call__3088995815470824411__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.6ms) Started GET "/" for 127.0.0.1 at 2012-03-07 14:48:47 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (0.1ms) Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-07 14:48:48 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-07 14:48:48 -0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 14:48:48 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 14:48:48 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-07 14:48:48 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-07 14:48:48 -0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/login" for 127.0.0.1 at 2012-03-07 14:48:52 -0600 Processing by Devise::SessionsController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Redirected to http://localhost:3000/ Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 148ms (ActiveRecord: 1.4ms) Started GET "/" for 127.0.0.1 at 2012-03-07 14:48:53 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (0.1ms) Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-07 14:48:53 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 14:48:53 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-07 14:48:53 -0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-07 14:48:53 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 14:48:53 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-07 14:48:53 -0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/logout" for 127.0.0.1 at 2012-03-07 14:49:02 -0600 ActionController::RoutingError (No route matches [GET] "/logout"): actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-07 14:49:09 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 196ms NameError (undefined local variable or method `_current_user' for #): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/pages_controller.rb:10:in `authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:418:in `_run__4356803278048104081__process_action__543633289813338498__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__7475451696571429__call__3088995815470824411__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.9ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-07 14:49:29 -0600 Processing by RailsAdserver::PagesController#home as HTML Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (1.4ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (42.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (6.3ms) Completed 200 OK in 389ms (Views: 387.1ms | ActiveRecord: 1.3ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 14:49:29 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (9ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 14:49:29 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 14:49:29 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 14:49:29 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 14:49:29 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 14:49:29 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 14:49:29 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 14:49:29 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (61ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 14:49:29 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 14:49:29 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 14:49:29 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 14:49:29 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (21ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-07 14:50:30 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 1ms NoMethodError (undefined method `_current_user' for RailsAdserver::ApplicationController:Class): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/pages_controller.rb:10:in `authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__4356803278048104081__process_action__543633289813338498__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__7475451696571429__call__3088995815470824411__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.2ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.5ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-07 14:50:43 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 1ms NoMethodError (undefined method `_current_user' for RailsAdserver::ApplicationController:Class): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/pages_controller.rb:10:in `authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__4356803278048104081__process_action__543633289813338498__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__7475451696571429__call__3088995815470824411__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.6ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.0ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-07 14:50:44 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 0ms NoMethodError (undefined method `_current_user' for RailsAdserver::ApplicationController:Class): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/pages_controller.rb:10:in `authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__4356803278048104081__process_action__543633289813338498__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__7475451696571429__call__3088995815470824411__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.6ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (52.1ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (59.1ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-07 14:50:44 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 0ms NoMethodError (undefined method `_current_user' for RailsAdserver::ApplicationController:Class): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/pages_controller.rb:10:in `authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__4356803278048104081__process_action__543633289813338498__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__7475451696571429__call__3088995815470824411__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.0ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.4ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-07 14:51:08 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 1ms NoMethodError (undefined method `_current_user' for nil:NilClass): actionpack (3.2.1) lib/abstract_controller/helpers.rb:53:in `_current_user' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/pages_controller.rb:10:in `authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__4356803278048104081__process_action__543633289813338498__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__7475451696571429__call__3088995815470824411__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.4ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-07 14:51:09 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 0ms NoMethodError (undefined method `_current_user' for nil:NilClass): actionpack (3.2.1) lib/abstract_controller/helpers.rb:53:in `_current_user' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/pages_controller.rb:10:in `authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__4356803278048104081__process_action__543633289813338498__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__7475451696571429__call__3088995815470824411__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.1ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.8ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-07 14:51:10 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 0ms NoMethodError (undefined method `_current_user' for nil:NilClass): actionpack (3.2.1) lib/abstract_controller/helpers.rb:53:in `_current_user' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/pages_controller.rb:10:in `authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__4356803278048104081__process_action__543633289813338498__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__7475451696571429__call__3088995815470824411__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.3ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-07 14:51:53 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Completed 500 Internal Server Error in 40ms NoMethodError (undefined method `can_mangage_ads' for #): activemodel (3.2.1) lib/active_model/attribute_methods.rb:407:in `method_missing' activerecord (3.2.1) lib/active_record/attribute_methods.rb:126:in `method_missing' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/pages_controller.rb:10:in `authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__4356803278048104081__process_action__543633289813338498__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__7475451696571429__call__3088995815470824411__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.0ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.4ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-07 14:51:54 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Completed 500 Internal Server Error in 3ms NoMethodError (undefined method `can_mangage_ads' for #): activemodel (3.2.1) lib/active_model/attribute_methods.rb:407:in `method_missing' activerecord (3.2.1) lib/active_record/attribute_methods.rb:126:in `method_missing' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/pages_controller.rb:10:in `authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__4356803278048104081__process_action__543633289813338498__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__7475451696571429__call__3088995815470824411__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.6ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.8ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-07 14:51:55 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Completed 500 Internal Server Error in 233ms NoMethodError (undefined method `can_mangage_ads' for #): activemodel (3.2.1) lib/active_model/attribute_methods.rb:407:in `method_missing' activerecord (3.2.1) lib/active_record/attribute_methods.rb:126:in `method_missing' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/pages_controller.rb:10:in `authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__4356803278048104081__process_action__543633289813338498__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__7475451696571429__call__3088995815470824411__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.7ms)  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to DeviseCreateUsers (20120227204751) Migrating to AddCanManageAdsToUsers (20120307204255)  (0.6ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("rails_adserver_adspaces")  (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_country_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_state_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.0ms) PRAGMA index_list("rails_adserver_clicks")  (0.0ms) PRAGMA index_info('index_rails_adserver_clicks_on_advertisement_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_email') Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-07 14:56:01 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (1.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (7.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (6.6ms) Completed 200 OK in 391ms (Views: 270.1ms | ActiveRecord: 3.9ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-07 14:56:02 -0600 Served asset /rails_adserver/application.css - 304 Not Modified (11ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-07 14:56:02 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-07 14:56:02 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (5ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-07 14:56:02 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (7ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-07 14:56:02 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-07 14:56:02 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-07 14:56:02 -0600 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-07 14:56:02 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-07 14:56:02 -0600 Served asset /jquery.js - 304 Not Modified (7ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-07 14:56:02 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-07 14:56:02 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-07 14:56:02 -0600 Served asset /rails_adserver/application.js - 304 Not Modified (24ms) Started GET "/sign_in" for 127.0.0.1 at 2012-03-07 14:56:20 -0600 ActionController::RoutingError (No route matches [GET] "/sign_in"): actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.1ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-07 15:02:26 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Redirected to http://localhost:3000/500.html Filter chain halted as :authenticate rendered or redirected Completed 302 Found in 155ms (ActiveRecord: 3.4ms)  (0.2ms) select sqlite_version(*)  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (2.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to DeviseCreateUsers (20120227204751)  (0.0ms) begin transaction  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) PRAGMA index_list("users")  (44.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120227204751')  (20.4ms) commit transaction Migrating to AddCanManageAdsToUsers (20120307204255)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "users" ADD "can_manage_ads" boolean  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120307204255')  (1.5ms) commit transaction  (0.6ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.1ms) PRAGMA index_list("users")  (0.1ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateRailsAdserverAdvertisements (20120227014859)  (0.1ms) select sqlite_version(*)  (0.1ms) begin transaction  (0.8ms) CREATE TABLE "rails_adserver_advertisements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "width" integer, "height" integer, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120227014859')  (12.6ms) commit transaction Migrating to CreateRailsAdserverClicks (20120227014945)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "rails_adserver_clicks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ip_address" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120227014945')  (1.6ms) commit transaction Migrating to DeviseCreateUsers (20120227204751) Migrating to AddParamRestrictionToAdvertisement (20120228000410)  (0.0ms) begin transaction  (0.5ms) ALTER TABLE "rails_adserver_advertisements" ADD "param_restriction" varchar(255)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120228000410')  (1.3ms) commit transaction Migrating to AddNameOfParamRestrictionToAdvertisement (20120228000647)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "rails_adserver_advertisements" ADD "param_restriction_name" varchar(255)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120228000647')  (1.2ms) commit transaction Migrating to CreateRailsAdserverAdspaces (20120228010151)  (0.0ms) begin transaction  (0.8ms) CREATE TABLE "rails_adserver_adspaces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120228010151')  (1.9ms) commit transaction Migrating to AddNameToAdspace (20120228010315)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "rails_adserver_adspaces" ADD "name" varchar(255)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120228010315')  (34.3ms) commit transaction Migrating to AddAdspaceIdToAdvertisement (20120228043946)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "rails_adserver_advertisements" ADD "adspace_id" integer  (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (0.2ms) CREATE INDEX "index_rails_adserver_advertisements_on_adspace_id" ON "rails_adserver_advertisements" ("adspace_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120228043946')  (1.5ms) commit transaction Migrating to AddAdTypeToAdvertisement (20120305034458)  (0.0ms) begin transaction  (0.5ms) ALTER TABLE "rails_adserver_advertisements" ADD "ad_type" varchar(255)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305034458')  (1.3ms) commit transaction Migrating to AddParameterRestrictionBooleanToAdvertisement (20120305040026)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "rails_adserver_advertisements" ADD "parameter_restriction_boolean" boolean  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305040026')  (1.6ms) commit transaction Migrating to AddMoreOptionsToAdvertisement (20120305044238)  (0.0ms) begin transaction  (0.6ms) ALTER TABLE "rails_adserver_advertisements" ADD "ad_text" text  (0.3ms) ALTER TABLE "rails_adserver_advertisements" ADD "url" varchar(255)  (0.2ms) ALTER TABLE "rails_adserver_advertisements" ADD "geolocation_boolean" boolean  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305044238')  (1.3ms) commit transaction Migrating to AddImageToAdvertisement (20120305054319)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "rails_adserver_advertisements" ADD "image" varchar(255)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305054319')  (1.2ms) commit transaction Migrating to AddMaxClicksToAdvertisement (20120305195421)  (0.0ms) begin transaction  (0.6ms) ALTER TABLE "rails_adserver_advertisements" ADD "max_clicks" integer  (0.2ms) ALTER TABLE "rails_adserver_advertisements" ADD "clicks" integer  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305195421')  (1.5ms) commit transaction Migrating to AddIndexes (20120305203049)  (0.1ms) begin transaction  (1.0ms) ALTER TABLE "rails_adserver_clicks" ADD "rails_adserver_advertisement_id" integer  (0.1ms) PRAGMA index_list("rails_adserver_clicks")  (0.6ms) CREATE INDEX "rails_adserver_clicks_ad_id_index" ON "rails_adserver_clicks" ("rails_adserver_advertisement_id")  (0.4ms) ALTER TABLE "rails_adserver_advertisements" ADD "rails_adserver_adspace_id" integer  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.1ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.2ms) CREATE INDEX "rails_adserver_clicks_adspace_id_index" ON "rails_adserver_advertisements" ("rails_adserver_adspace_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305203049')  (1.8ms) commit transaction Migrating to ChangeIndexes (20120305212451)  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateRailsAdserverAdvertisements (20120227014859) Migrating to CreateRailsAdserverClicks (20120227014945) Migrating to DeviseCreateUsers (20120227204751) Migrating to AddParamRestrictionToAdvertisement (20120228000410) Migrating to AddNameOfParamRestrictionToAdvertisement (20120228000647) Migrating to CreateRailsAdserverAdspaces (20120228010151) Migrating to AddNameToAdspace (20120228010315) Migrating to AddAdspaceIdToAdvertisement (20120228043946) Migrating to AddAdTypeToAdvertisement (20120305034458) Migrating to AddParameterRestrictionBooleanToAdvertisement (20120305040026) Migrating to AddMoreOptionsToAdvertisement (20120305044238) Migrating to AddImageToAdvertisement (20120305054319) Migrating to AddMaxClicksToAdvertisement (20120305195421) Migrating to AddIndexes (20120305203049) Migrating to ChangeIndexes (20120305212451)  (0.1ms) select sqlite_version(*)  (0.1ms) begin transaction  (0.1ms) PRAGMA index_list("rails_adserver_clicks")  (0.0ms) PRAGMA index_info('rails_adserver_clicks_ad_id_index')  (31.8ms) DROP INDEX "rails_adserver_clicks_ad_id_index"  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.1ms) PRAGMA index_info('rails_adserver_clicks_adspace_id_index')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (31.0ms) DROP INDEX "rails_adserver_clicks_adspace_id_index"  (0.8ms) CREATE TEMPORARY TABLE "altered_rails_adserver_clicks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ip_address" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "rails_adserver_advertisement_id" integer)   (0.0ms) PRAGMA index_list("rails_adserver_clicks")  (0.1ms) SELECT * FROM "rails_adserver_clicks"  (0.3ms) DROP TABLE "rails_adserver_clicks"  (0.2ms) CREATE TABLE "rails_adserver_clicks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ip_address" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("altered_rails_adserver_clicks")  (0.1ms) SELECT * FROM "altered_rails_adserver_clicks"  (0.6ms) DROP TABLE "altered_rails_adserver_clicks"  (0.3ms) CREATE TEMPORARY TABLE "altered_rails_adserver_advertisements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "width" integer, "height" integer, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "param_restriction" varchar(255), "param_restriction_name" varchar(255), "adspace_id" integer, "ad_type" varchar(255), "parameter_restriction_boolean" boolean, "ad_text" text, "url" varchar(255), "geolocation_boolean" boolean, "image" varchar(255), "max_clicks" integer, "clicks" integer, "rails_adserver_adspace_id" integer)   (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.0ms) PRAGMA index_list("altered_rails_adserver_advertisements")  (0.2ms) CREATE INDEX "temp_index_altered_rails_adserver_advertisements_on_adspace_id" ON "altered_rails_adserver_advertisements" ("adspace_id")  (0.1ms) SELECT * FROM "rails_adserver_advertisements"  (0.3ms) DROP TABLE "rails_adserver_advertisements"  (0.2ms) CREATE TABLE "rails_adserver_advertisements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "width" integer, "height" integer, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "param_restriction" varchar(255), "param_restriction_name" varchar(255), "adspace_id" integer, "ad_type" varchar(255), "parameter_restriction_boolean" boolean, "ad_text" text, "url" varchar(255), "geolocation_boolean" boolean, "image" varchar(255), "max_clicks" integer, "clicks" integer)  (0.0ms) PRAGMA index_list("altered_rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('temp_index_altered_rails_adserver_advertisements_on_adspace_id')  (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (0.1ms) CREATE INDEX "index_rails_adserver_advertisements_on_adspace_id" ON "rails_adserver_advertisements" ("adspace_id")  (0.1ms) SELECT * FROM "altered_rails_adserver_advertisements"  (0.2ms) DROP TABLE "altered_rails_adserver_advertisements"  (0.2ms) ALTER TABLE "rails_adserver_clicks" ADD "advertisement_id" integer  (0.0ms) PRAGMA index_list("rails_adserver_clicks")  (0.2ms) CREATE INDEX "index_rails_adserver_clicks_on_advertisement_id" ON "rails_adserver_clicks" ("advertisement_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305212451')  (3.6ms) commit transaction Migrating to AddClickCountToAdvertisement (20120305214753)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "rails_adserver_advertisements" ADD "click_count" integer  (0.7ms) CREATE TEMPORARY TABLE "altered_rails_adserver_advertisements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "width" integer, "height" integer, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "param_restriction" varchar(255), "param_restriction_name" varchar(255), "adspace_id" integer, "ad_type" varchar(255), "parameter_restriction_boolean" boolean, "ad_text" text, "url" varchar(255), "geolocation_boolean" boolean, "image" varchar(255), "max_clicks" integer, "clicks" integer, "click_count" integer)  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.1ms) PRAGMA index_list("altered_rails_adserver_advertisements")  (0.3ms) CREATE INDEX "temp_index_altered_rails_adserver_advertisements_on_adspace_id" ON "altered_rails_adserver_advertisements" ("adspace_id")  (0.2ms) SELECT * FROM "rails_adserver_advertisements"  (0.8ms) DROP TABLE "rails_adserver_advertisements"  (0.3ms) CREATE TABLE "rails_adserver_advertisements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "width" integer, "height" integer, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "param_restriction" varchar(255), "param_restriction_name" varchar(255), "adspace_id" integer, "ad_type" varchar(255), "parameter_restriction_boolean" boolean, "ad_text" text, "url" varchar(255), "geolocation_boolean" boolean, "image" varchar(255), "max_clicks" integer, "click_count" integer)   (0.0ms) PRAGMA index_list("altered_rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('temp_index_altered_rails_adserver_advertisements_on_adspace_id')  (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (0.2ms) CREATE INDEX "index_rails_adserver_advertisements_on_adspace_id" ON "rails_adserver_advertisements" ("adspace_id")  (0.1ms) SELECT * FROM "altered_rails_adserver_advertisements"  (0.2ms) DROP TABLE "altered_rails_adserver_advertisements"  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305214753')  (2.0ms) commit transaction Migrating to Geolocation (20120306023105)  (0.1ms) begin transaction  (0.9ms) ALTER TABLE "rails_adserver_advertisements" ADD "geolocation_location" varchar(255)  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120306023105')  (1.3ms) commit transaction Migrating to AddGeolocationNamesToAdvertisements (20120306052705)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "rails_adserver_advertisements" ADD "city_name" varchar(255)  (0.3ms) ALTER TABLE "rails_adserver_advertisements" ADD "state_name" varchar(255)  (0.2ms) ALTER TABLE "rails_adserver_advertisements" ADD "country_name" varchar(255)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120306052705')  (1.6ms) commit transaction Migrating to AddAdvertisementIndexes (20120306065447)  (0.1ms) begin transaction  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.5ms) CREATE INDEX "index_rails_adserver_advertisements_on_param_restriction" ON "rails_adserver_advertisements" ("param_restriction")  (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.2ms) CREATE INDEX "index_rails_adserver_advertisements_on_city_name" ON "rails_adserver_advertisements" ("city_name")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.2ms) CREATE INDEX "index_rails_adserver_advertisements_on_state_name" ON "rails_adserver_advertisements" ("state_name")  (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_state_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.2ms) CREATE INDEX "index_rails_adserver_advertisements_on_country_name" ON "rails_adserver_advertisements" ("country_name")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120306065447')  (1.9ms) commit transaction Migrating to AddCanManageAdsToUsers (20120307204255)  (0.6ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("rails_adserver_adspaces")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_country_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_state_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.0ms) PRAGMA index_list("rails_adserver_clicks")  (0.0ms) PRAGMA index_info('index_rails_adserver_clicks_on_advertisement_id')  (0.1ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_email') Started GET "/" for 127.0.0.1 at 2012-03-08 14:35:34 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (1.3ms) Completed 200 OK in 643ms (Views: 641.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:35:37 -0600 Served asset /application.css - 200 OK (5ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-08 14:35:37 -0600 Served asset /page.css - 200 OK (3ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-08 14:35:37 -0600 Served asset /page.js - 200 OK (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:35:37 -0600 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:35:37 -0600 Served asset /application.js - 200 OK (7ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:35:37 -0600 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-08 14:36:09 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 1ms NoMethodError (undefined method `can_manage_ads' for nil:NilClass): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/application_controller.rb:16:in `_authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__2583038838694916697__process_action__719588158746497729__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__2021916820652779691__call__3516525762600482736__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.4ms) Started GET "/login" for 127.0.0.1 at 2012-03-08 14:36:18 -0600 Processing by Devise::SessionsController#new as HTML Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/_links.erb (2.6ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/sessions/new.html.erb within layouts/application (53.2ms) Completed 200 OK in 273ms (Views: 118.7ms | ActiveRecord: 3.7ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-08 14:36:18 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:36:18 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:36:18 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-08 14:36:18 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:36:18 -0600 Served asset /application.js - 200 OK (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:36:18 -0600 Served asset /application.css - 200 OK (0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2012-03-08 14:36:28 -0600 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"e9jL8nC6ycb6A66MPhP6EKHaR4xMd5iRk95cMlgxaKI=", "user"=>{"email"=>"tmuntan1@slu.edu", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (11.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'tmuntan1@slu.edu' LIMIT 1 Completed 401 Unauthorized in 76ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"e9jL8nC6ycb6A66MPhP6EKHaR4xMd5iRk95cMlgxaKI=", "user"=>{"email"=>"tmuntan1@slu.edu", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/_links.erb (0.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/sessions/new.html.erb within layouts/application (7.2ms) Completed 200 OK in 146ms (Views: 14.8ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:36:28 -0600 Served asset /application.css - 200 OK (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-08 14:36:28 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:36:28 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:36:28 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-08 14:36:28 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:36:28 -0600 Served asset /application.js - 200 OK (0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2012-03-08 14:36:36 -0600 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"e9jL8nC6ycb6A66MPhP6EKHaR4xMd5iRk95cMlgxaKI=", "user"=>{"email"=>"tmuntan1@slu.edu", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'tmuntan1@slu.edu' LIMIT 1 Completed 401 Unauthorized in 2ms Processing by Devise::SessionsController#new as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"e9jL8nC6ycb6A66MPhP6EKHaR4xMd5iRk95cMlgxaKI=", "user"=>{"email"=>"tmuntan1@slu.edu", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/_links.erb (0.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/sessions/new.html.erb within layouts/application (5.6ms) Completed 200 OK in 113ms (Views: 12.7ms | ActiveRecord: 0.0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-08 14:36:36 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-08 14:36:36 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:36:36 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:36:36 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:36:36 -0600 Served asset /application.js - 200 OK (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:36:36 -0600 Served asset /application.css - 200 OK (0ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-08 14:36:44 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 1ms NoMethodError (undefined method `can_manage_ads' for nil:NilClass): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/application_controller.rb:16:in `_authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__2583038838694916697__process_action__719588158746497729__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__2021916820652779691__call__3516525762600482736__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.9ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.9ms) Started GET "/sign_up" for 127.0.0.1 at 2012-03-08 14:36:52 -0600 ActionController::RoutingError (No route matches [GET] "/sign_up"): actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.2ms) Started GET "/sign_in" for 127.0.0.1 at 2012-03-08 14:37:08 -0600 ActionController::RoutingError (No route matches [GET] "/sign_in"): actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms) Started GET "/signin" for 127.0.0.1 at 2012-03-08 14:37:13 -0600 ActionController::RoutingError (No route matches [GET] "/signin"): actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms) Started GET "/users/sign_up" for 127.0.0.1 at 2012-03-08 14:37:19 -0600 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/_links.erb (0.9ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/registrations/new.html.erb within layouts/application (8.2ms) Completed 200 OK in 19ms (Views: 17.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:37:19 -0600 Served asset /application.css - 200 OK (1ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-08 14:37:19 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:37:19 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:37:19 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-08 14:37:19 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:37:19 -0600 Served asset /application.js - 200 OK (0ms) Started POST "/users" for 127.0.0.1 at 2012-03-08 14:37:26 -0600 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"e9jL8nC6ycb6A66MPhP6EKHaR4xMd5iRk95cMlgxaKI=", "user"=>{"email"=>"tmuntan1@slu.edu", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) begin transaction User Exists (0.3ms) SELECT 1 FROM "users" WHERE "users"."email" = 'tmuntan1@slu.edu' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (72.4ms) INSERT INTO "users" ("can_manage_ads", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["can_manage_ads", nil], ["created_at", Thu, 08 Mar 2012 20:37:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "tmuntan1@slu.edu"], ["encrypted_password", "$2a$10$jPCss0HcSiU489ejbfcG1u6bR1GqVORALHWnOKHIpl1x.KZqybYcy"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Thu, 08 Mar 2012 20:37:26 UTC +00:00]]  (1.5ms) commit transaction  (0.1ms) begin transaction  (0.5ms) UPDATE "users" SET "last_sign_in_at" = '2012-03-08 20:37:27.027364', "current_sign_in_at" = '2012-03-08 20:37:27.027364', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-03-08 20:37:27.028389' WHERE "users"."id" = 1  (1.0ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 294ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2012-03-08 14:37:27 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (0.1ms) Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:37:27 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-08 14:37:27 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:37:27 -0600 Served asset /application.css - 200 OK (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-08 14:37:27 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:37:27 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:37:27 -0600 Served asset /application.js - 200 OK (0ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-08 14:37:35 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Redirected to http://localhost:3000/500.html Filter chain halted as :_authenticate rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/" for 127.0.0.1 at 2012-03-08 14:39:31 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (1.0ms) Completed 200 OK in 82ms (Views: 81.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:39:31 -0600 Served asset /application.js - 200 OK (15ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:39:31 -0600 Served asset /application.css - 200 OK (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:39:31 -0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-08 14:39:31 -0600 Served asset /page.css - 304 Not Modified (2ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-08 14:39:31 -0600 Served asset /page.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:39:31 -0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-08 14:39:36 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (1.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (6.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (6.1ms) Completed 200 OK in 325ms (Views: 220.1ms | ActiveRecord: 3.4ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:39:37 -0600 Served asset /rails_adserver/application.css - 200 OK (14ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:39:37 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:39:37 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:39:37 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (7ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:39:37 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:39:37 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (5ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:39:37 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:39:37 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:39:37 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:39:37 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:39:37 -0600 Served asset /rails_adserver/application.js - 200 OK (9ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:39:37 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/rails_adserver/adspaces" for 127.0.0.1 at 2012-03-08 14:40:41 -0600 Processing by RailsAdserver::AdspacesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/index.html.haml within layouts/rails_adserver/application (4.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 112ms (Views: 20.9ms | ActiveRecord: 1.0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:40:42 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:40:42 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:40:42 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:40:42 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:40:42 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:40:42 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:40:42 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:40:42 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:40:42 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:40:42 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:40:42 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:40:42 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/adspaces/new" for 127.0.0.1 at 2012-03-08 14:40:43 -0600 Processing by RailsAdserver::AdspacesController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/_form.html.haml (7.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/new.html.haml within layouts/rails_adserver/application (11.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 50ms (Views: 40.6ms | ActiveRecord: 0.4ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:40:43 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:40:43 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:40:43 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:40:43 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (1ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:40:43 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:40:43 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:40:43 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:40:43 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:40:43 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:40:43 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:40:43 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:40:44 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started POST "/rails_adserver/adspaces" for 127.0.0.1 at 2012-03-08 14:40:48 -0600 Processing by RailsAdserver::AdspacesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"e9jL8nC6ycb6A66MPhP6EKHaR4xMd5iRk95cMlgxaKI=", "adspace"=>{"name"=>"Test Adspace"}, "commit"=>"Submit"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.1ms) begin transaction SQL (7.2ms) INSERT INTO "rails_adserver_adspaces" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Mar 2012 20:40:48 UTC +00:00], ["name", "Test Adspace"], ["updated_at", Thu, 08 Mar 2012 20:40:48 UTC +00:00]]  (2.2ms) commit transaction Redirected to http://localhost:3000/adspaces Completed 302 Found in 17ms (ActiveRecord: 10.1ms) Started GET "/adspaces" for 127.0.0.1 at 2012-03-08 14:40:48 -0600 ActionController::RoutingError (No route matches [GET] "/adspaces"): actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms) Started POST "/rails_adserver/adspaces" for 127.0.0.1 at 2012-03-08 14:42:04 -0600 Processing by RailsAdserver::AdspacesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"e9jL8nC6ycb6A66MPhP6EKHaR4xMd5iRk95cMlgxaKI=", "adspace"=>{"name"=>"Test Adspace 2"}, "commit"=>"Submit"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.1ms) begin transaction SQL (1.0ms) INSERT INTO "rails_adserver_adspaces" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 08 Mar 2012 20:42:04 UTC +00:00], ["name", "Test Adspace 2"], ["updated_at", Thu, 08 Mar 2012 20:42:04 UTC +00:00]]  (2.2ms) commit transaction Redirected to http://localhost:3000/rails_adserver/adspaces Completed 302 Found in 45ms (ActiveRecord: 4.1ms) Started GET "/rails_adserver/adspaces" for 127.0.0.1 at 2012-03-08 14:42:04 -0600 Processing by RailsAdserver::AdspacesController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.4ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/index.html.haml within layouts/rails_adserver/application (5.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 26ms (Views: 21.3ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:42:04 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:42:04 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:42:04 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:42:04 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:42:04 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:42:04 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:42:04 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:42:04 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:42:04 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:42:04 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:42:04 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:42:05 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 14:42:12 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (0.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.5ms) Completed 200 OK in 82ms (Views: 78.6ms | ActiveRecord: 0.4ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:42:12 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:42:12 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:42:12 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:42:12 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:42:12 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:42:12 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:42:12 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:42:12 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:42:12 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:42:12 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:42:12 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:42:12 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 14:44:23 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (1.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 66ms (Views: 18.0ms | ActiveRecord: 1.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:44:24 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:44:24 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:44:24 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:44:24 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:44:24 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:44:24 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:44:24 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:44:24 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:44:24 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:44:24 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:44:24 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:44:24 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 14:44:37 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (1.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 19ms (Views: 16.7ms | ActiveRecord: 0.5ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:44:37 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:44:37 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:44:37 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:44:37 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:44:37 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:44:37 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:44:37 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:44:37 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:44:37 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:44:37 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:44:37 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:44:37 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 14:44:44 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.1ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (3.7ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (undefined method `title' for #): 1: - @adspaces.each do |space| 2: %h1= space.title activemodel (3.2.1) lib/active_model/attribute_methods.rb:407:in `method_missing' activerecord (3.2.1) lib/active_record/attribute_methods.rb:126:in `method_missing' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml:2:in `block in ___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_pages_home_html_haml___3027083614700194350_70230389501580' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml:1:in `each' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_pages_home_html_haml___3027083614700194350_70230389501580' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:41:in `block (2 levels) in render_template' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:40:in `block in render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:48:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:414:in `_run__3378679251156203365__process_action__3497737197170870994__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__2519210307457629918__call__4148810972006684175__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.0ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.1ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 14:44:51 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (1.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 19ms (Views: 16.4ms | ActiveRecord: 0.5ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:44:51 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:44:51 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:44:51 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:44:51 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:44:51 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:44:51 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:44:51 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:44:51 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:44:51 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:44:51 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:44:51 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:44:51 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 14:45:37 -0600 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) RuntimeError (You don't have the 'fog' gem installed): carrierwave (0.5.8) lib/carrierwave/uploader/configuration.rb:91:in `eval' carrierwave (0.5.8) lib/carrierwave/storage/fog.rb:3:in `' (eval):1:in `storage' carrierwave (0.5.8) lib/carrierwave/uploader/configuration.rb:91:in `eval' carrierwave (0.5.8) lib/carrierwave/uploader/configuration.rb:91:in `storage' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/uploaders/rails_adserver/advertisement_uploader.rb:9:in `' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/uploaders/rails_adserver/advertisement_uploader.rb:2:in `' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/uploaders/rails_adserver/advertisement_uploader.rb:1:in `' activesupport (3.2.1) lib/active_support/dependencies.rb:469:in `load' activesupport (3.2.1) lib/active_support/dependencies.rb:469:in `block in load_file' activesupport (3.2.1) lib/active_support/dependencies.rb:639:in `new_constants_in' activesupport (3.2.1) lib/active_support/dependencies.rb:468:in `load_file' activesupport (3.2.1) lib/active_support/dependencies.rb:353:in `require_or_load' activesupport (3.2.1) lib/active_support/dependencies.rb:502:in `load_missing_constant' activesupport (3.2.1) lib/active_support/dependencies.rb:192:in `block in const_missing' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `each' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `const_missing' activesupport (3.2.1) lib/active_support/dependencies.rb:514:in `load_missing_constant' activesupport (3.2.1) lib/active_support/dependencies.rb:192:in `block in const_missing' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `each' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `const_missing' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:10:in `' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:2:in `' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:1:in `' activesupport (3.2.1) lib/active_support/dependencies.rb:469:in `load' activesupport (3.2.1) lib/active_support/dependencies.rb:469:in `block in load_file' activesupport (3.2.1) lib/active_support/dependencies.rb:639:in `new_constants_in' activesupport (3.2.1) lib/active_support/dependencies.rb:468:in `load_file' activesupport (3.2.1) lib/active_support/dependencies.rb:353:in `require_or_load' activesupport (3.2.1) lib/active_support/dependencies.rb:502:in `load_missing_constant' activesupport (3.2.1) lib/active_support/dependencies.rb:192:in `block in const_missing' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `each' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `const_missing' activesupport (3.2.1) lib/active_support/inflector/methods.rb:229:in `block in constantize' activesupport (3.2.1) lib/active_support/inflector/methods.rb:228:in `each' activesupport (3.2.1) lib/active_support/inflector/methods.rb:228:in `constantize' activesupport (3.2.1) lib/active_support/inflector/methods.rb:259:in `safe_constantize' activesupport (3.2.1) lib/active_support/core_ext/string/inflections.rb:66:in `safe_constantize' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:152:in `_default_wrap_model' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:169:in `_set_wrapper_defaults' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:133:in `inherited' actionpack (3.2.1) lib/abstract_controller/railties/routes_helpers.rb:7:in `block (2 levels) in with' actionpack (3.2.1) lib/action_controller/railties/paths.rb:7:in `block (2 levels) in with' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:2:in `' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:1:in `' activesupport (3.2.1) lib/active_support/dependencies.rb:469:in `load' activesupport (3.2.1) lib/active_support/dependencies.rb:469:in `block in load_file' activesupport (3.2.1) lib/active_support/dependencies.rb:639:in `new_constants_in' activesupport (3.2.1) lib/active_support/dependencies.rb:468:in `load_file' activesupport (3.2.1) lib/active_support/dependencies.rb:353:in `require_or_load' activesupport (3.2.1) lib/active_support/dependencies.rb:502:in `load_missing_constant' activesupport (3.2.1) lib/active_support/dependencies.rb:192:in `block in const_missing' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `each' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `const_missing' activesupport (3.2.1) lib/active_support/inflector/methods.rb:229:in `block in constantize' activesupport (3.2.1) lib/active_support/inflector/methods.rb:228:in `each' activesupport (3.2.1) lib/active_support/inflector/methods.rb:228:in `constantize' activesupport (3.2.1) lib/active_support/dependencies.rb:554:in `get' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:62:in `controller_reference' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:47:in `controller' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:26:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__2519210307457629918__call__4148810972006684175__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.0ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.3ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 14:45:40 -0600 NoMethodError (undefined method `key?' for nil:NilClass): actionpack (3.2.1) lib/action_controller/metal/hide_actions.rb:36:in `visible_action?' actionpack (3.2.1) lib/action_controller/metal/hide_actions.rb:18:in `method_for_action' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:14:in `method_for_action' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:61:in `method_for_action' actionpack (3.2.1) lib/abstract_controller/base.rb:115:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__2519210307457629918__call__4148810972006684175__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.1ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.4ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.9ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 14:45:49 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (0.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 17ms (Views: 14.5ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:45:49 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:45:49 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:45:49 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:45:49 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:45:49 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:45:49 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:45:49 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:45:49 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:45:49 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:45:49 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:45:49 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:45:49 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/rails_adserver/adspaces" for 127.0.0.1 at 2012-03-08 14:45:50 -0600 Processing by RailsAdserver::AdspacesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/index.html.haml within layouts/rails_adserver/application (4.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (55.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 81ms (Views: 77.5ms | ActiveRecord: 0.5ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:45:50 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:45:50 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:45:50 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:45:51 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:45:51 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:45:51 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:45:51 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:45:51 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:45:51 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:45:51 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:45:51 -0600 Served asset /rails_adserver/application.js - 200 OK (1ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:45:51 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/adspaces" for 127.0.0.1 at 2012-03-08 14:46:57 -0600 Processing by RailsAdserver::AdspacesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/index.html.haml within layouts/rails_adserver/application (8.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (6.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (6.3ms) Completed 200 OK in 181ms (Views: 138.5ms | ActiveRecord: 1.2ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:46:58 -0600 Served asset /rails_adserver/application.css - 200 OK (20ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:46:58 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:46:58 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:46:58 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:46:58 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:46:58 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:46:58 -0600 Served asset /jquery_ujs.js - 304 Not Modified (7ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:46:58 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:46:58 -0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:46:58 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:46:58 -0600 Served asset /rails_adserver/application.js - 200 OK (13ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:46:58 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (7ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 14:47:00 -0600 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (7.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 49ms (Views: 42.1ms | ActiveRecord: 1.2ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:47:02 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:47:02 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:47:02 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:47:02 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:47:02 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:47:02 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:47:02 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:47:02 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:47:02 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:47:02 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:47:02 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:47:02 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-08 14:47:04 -0600 Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (34.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (38.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 104ms (Views: 67.7ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:47:04 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:47:04 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:47:04 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:47:04 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:47:04 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:47:04 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:47:04 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:47:04 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:47:04 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:47:04 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:47:04 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:47:04 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 14:47:06 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (0.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 22ms (Views: 18.8ms | ActiveRecord: 0.5ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:47:06 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:47:06 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:47:06 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:47:06 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:47:06 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:47:06 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:47:06 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:47:06 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:47:06 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:47:06 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:47:06 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:47:06 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 14:48:46 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (4.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 24ms (Views: 20.8ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:48:46 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:48:46 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:48:46 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:48:46 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:48:46 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:48:46 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:48:46 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:48:46 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:48:46 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:48:46 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:48:46 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:48:46 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 14:48:49 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (197.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 219ms (Views: 215.5ms | ActiveRecord: 1.1ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:48:49 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:48:49 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:48:49 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:48:49 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:48:49 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:48:49 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:48:49 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:48:49 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:48:49 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:48:49 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:48:49 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:48:49 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-08 14:48:56 -0600 Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (17.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (20.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.5ms) Completed 200 OK in 39ms (Views: 36.3ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:48:56 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:48:56 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:48:56 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:48:56 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:48:56 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:48:56 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:48:56 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:48:56 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:48:56 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:48:56 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:48:56 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:48:56 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-08 14:51:13 -0600 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (47.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (54.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (5.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (5.8ms) Completed 200 OK in 364ms (Views: 225.1ms | ActiveRecord: 5.0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:51:14 -0600 Served asset /rails_adserver/application.css - 200 OK (14ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:51:14 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:51:14 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:51:14 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:51:14 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:51:14 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:51:14 -0600 Served asset /jquery.js - 304 Not Modified (49ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:51:14 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:51:14 -0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:51:14 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:51:14 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:51:14 -0600 Served asset /rails_adserver/application.js - 200 OK (12ms) Started POST "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 14:51:57 -0600 Processing by RailsAdserver::AdvertisementsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"e9jL8nC6ycb6A66MPhP6EKHaR4xMd5iRk95cMlgxaKI=", "advertisement"=>{"title"=>"Test Ad", "adspace_id"=>"1", "ad_type"=>"image_link", "ad_text"=>"", "image"=>#>, "width"=>"100", "height"=>"100", "url"=>"http://www.campusbazar.com", "max_clicks"=>"10", "parameter_restriction_boolean"=>"false", "param_restriction_name"=>"id", "param_restriction"=>"", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"1"}, "commit"=>"Submit"} User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.2ms) begin transaction SQL (17.0ms) INSERT INTO "rails_adserver_advertisements" ("ad_text", "ad_type", "adspace_id", "city_name", "click_count", "content", "country_name", "created_at", "geolocation_boolean", "geolocation_location", "height", "image", "is_active", "max_clicks", "param_restriction", "param_restriction_name", "parameter_restriction_boolean", "state_name", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["ad_text", ""], ["ad_type", "image_link"], ["adspace_id", 1], ["city_name", nil], ["click_count", nil], ["content", nil], ["country_name", nil], ["created_at", Thu, 08 Mar 2012 20:51:58 UTC +00:00], ["geolocation_boolean", false], ["geolocation_location", ""], ["height", 100], ["image", "uszgP.jpg"], ["is_active", true], ["max_clicks", 10], ["param_restriction", ""], ["param_restriction_name", "id"], ["parameter_restriction_boolean", false], ["state_name", nil], ["title", "Test Ad"], ["updated_at", Thu, 08 Mar 2012 20:51:58 UTC +00:00], ["url", "http://www.campusbazar.com"], ["width", 100]]  (2.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements/1 Completed 302 Found in 946ms (ActiveRecord: 20.9ms) Started GET "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-08 14:51:58 -0600 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (2.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 57ms (Views: 53.7ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:51:58 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:51:58 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:51:58 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:51:58 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:51:58 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:51:58 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:51:58 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:51:58 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:51:58 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:51:58 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:51:58 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:51:58 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/" for 127.0.0.1 at 2012-03-08 14:52:00 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (0.9ms) Completed 200 OK in 22ms (Views: 21.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:00 -0600 Served asset /application.css - 200 OK (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:00 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:00 -0600 Served asset /page.css - 304 Not Modified (3ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:00 -0600 Served asset /application.js - 200 OK (95ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:01 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:01 -0600 Served asset /page.js - 304 Not Modified (2ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-08 14:52:05 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (30.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 50ms (Views: 45.0ms | ActiveRecord: 1.3ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:05 -0600 Served asset /rails_adserver/application.css - 200 OK (1ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:05 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:05 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:05 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:05 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:05 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:05 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:05 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:05 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:05 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:05 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:05 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-08 14:52:33 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (69.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.6ms) Completed 200 OK in 89ms (Views: 85.4ms | ActiveRecord: 1.2ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:34 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:34 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:34 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:34 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:34 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:34 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:34 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:34 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:34 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:34 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:34 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:34 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-08 14:52:52 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (1.0ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (11.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 29ms (Views: 25.1ms | ActiveRecord: 1.9ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:52 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:52 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:52 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (1ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:52 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:52 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:52:52 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:52 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:52 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:52 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:52 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:52 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:52:52 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-08 14:53:04 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (9.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 28ms (Views: 25.0ms | ActiveRecord: 1.1ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:53:04 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:53:04 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:53:04 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:53:04 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:53:04 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:53:04 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:53:04 -0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:53:04 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:53:04 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:53:04 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:53:04 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:53:04 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-08 14:53:15 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (11.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 31ms (Views: 28.1ms | ActiveRecord: 1.2ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:53:16 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:53:16 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:53:16 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:53:16 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:53:16 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:53:16 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:53:16 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:53:16 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:53:16 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:53:16 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:53:16 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:53:16 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-08 14:54:17 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (10.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 29ms (Views: 25.4ms | ActiveRecord: 1.1ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:54:17 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:54:17 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:54:17 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:54:17 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:54:17 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:54:17 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:54:17 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:54:17 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:54:17 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:54:17 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:54:17 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:54:17 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-08 14:54:19 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (0.8ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (6.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.6ms) Completed 200 OK in 27ms (Views: 22.9ms | ActiveRecord: 1.7ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:54:20 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:54:20 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:54:20 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:54:20 -0600 Served asset /rails_adserver/application.css - 200 OK (1ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:54:20 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:54:20 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:54:20 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:54:20 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:54:20 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:54:20 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:54:20 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:54:20 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-08 14:54:38 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (12.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 30ms (Views: 26.8ms | ActiveRecord: 1.3ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:54:38 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:54:38 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:54:38 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:54:38 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:54:38 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:54:38 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:54:38 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:54:38 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:54:38 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:54:38 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:54:38 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:54:38 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-08 14:55:47 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (142.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (5.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (5.7ms) Completed 200 OK in 409ms (Views: 283.0ms | ActiveRecord: 6.3ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 14:55:48 -0600 Served asset /rails_adserver/application.css - 200 OK (85ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 14:55:48 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 14:55:48 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 14:55:48 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 14:55:48 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 14:55:48 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 14:55:48 -0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 14:55:48 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 14:55:48 -0600 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 14:55:48 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 14:55:48 -0600 Served asset /rails_adserver/application.js - 200 OK (24ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 14:55:48 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (3ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 15:00:19 -0600 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (10.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (5.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (6.8ms) Completed 200 OK in 289ms (Views: 144.5ms | ActiveRecord: 4.1ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:19 -0600 Served asset /rails_adserver/application.css - 200 OK (20ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:19 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:19 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:20 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:20 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (7ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:20 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:20 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:20 -0600 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:20 -0600 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:20 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:20 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:20 -0600 Served asset /rails_adserver/application.js - 200 OK (80ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-08 15:00:21 -0600 Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (47.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (51.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 95ms (Views: 92.0ms | ActiveRecord: 1.0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:21 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:21 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:21 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:21 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:21 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (10ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:21 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:21 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:21 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:21 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:21 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:21 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:21 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-08 15:00:49 -0600 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.1ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (104.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (112.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (5.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (5.9ms) Completed 200 OK in 322ms (Views: 179.8ms | ActiveRecord: 4.4ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:49 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:49 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:49 -0600 Served asset /rails_adserver/application.css - 200 OK (11ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:49 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (14ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:49 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:49 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (5ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:49 -0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:49 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:49 -0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:49 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:49 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:50 -0600 Served asset /rails_adserver/application.js - 200 OK (12ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-08 15:00:52 -0600 Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (71.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (72.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 91ms (Views: 89.3ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:52 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:52 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:52 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:52 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:52 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:00:52 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:52 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:52 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:52 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:52 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:52 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:00:52 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-08 15:01:58 -0600 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) RuntimeError (You don't have the 'fog' gem installed): carrierwave (0.5.8) lib/carrierwave/uploader/configuration.rb:91:in `eval' carrierwave (0.5.8) lib/carrierwave/storage/fog.rb:3:in `' (eval):1:in `storage' carrierwave (0.5.8) lib/carrierwave/uploader/configuration.rb:91:in `eval' carrierwave (0.5.8) lib/carrierwave/uploader/configuration.rb:91:in `storage' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/uploaders/rails_adserver/advertisement_uploader.rb:10:in `' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/uploaders/rails_adserver/advertisement_uploader.rb:2:in `' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/uploaders/rails_adserver/advertisement_uploader.rb:1:in `' activesupport (3.2.1) lib/active_support/dependencies.rb:469:in `load' activesupport (3.2.1) lib/active_support/dependencies.rb:469:in `block in load_file' activesupport (3.2.1) lib/active_support/dependencies.rb:639:in `new_constants_in' activesupport (3.2.1) lib/active_support/dependencies.rb:468:in `load_file' activesupport (3.2.1) lib/active_support/dependencies.rb:353:in `require_or_load' activesupport (3.2.1) lib/active_support/dependencies.rb:502:in `load_missing_constant' activesupport (3.2.1) lib/active_support/dependencies.rb:192:in `block in const_missing' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `each' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `const_missing' activesupport (3.2.1) lib/active_support/dependencies.rb:514:in `load_missing_constant' activesupport (3.2.1) lib/active_support/dependencies.rb:192:in `block in const_missing' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `each' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `const_missing' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:10:in `' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:2:in `' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:1:in `' activesupport (3.2.1) lib/active_support/dependencies.rb:469:in `load' activesupport (3.2.1) lib/active_support/dependencies.rb:469:in `block in load_file' activesupport (3.2.1) lib/active_support/dependencies.rb:639:in `new_constants_in' activesupport (3.2.1) lib/active_support/dependencies.rb:468:in `load_file' activesupport (3.2.1) lib/active_support/dependencies.rb:353:in `require_or_load' activesupport (3.2.1) lib/active_support/dependencies.rb:502:in `load_missing_constant' activesupport (3.2.1) lib/active_support/dependencies.rb:192:in `block in const_missing' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `each' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `const_missing' activesupport (3.2.1) lib/active_support/inflector/methods.rb:229:in `block in constantize' activesupport (3.2.1) lib/active_support/inflector/methods.rb:228:in `each' activesupport (3.2.1) lib/active_support/inflector/methods.rb:228:in `constantize' activesupport (3.2.1) lib/active_support/inflector/methods.rb:259:in `safe_constantize' activesupport (3.2.1) lib/active_support/core_ext/string/inflections.rb:66:in `safe_constantize' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:152:in `_default_wrap_model' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:169:in `_set_wrapper_defaults' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:133:in `inherited' actionpack (3.2.1) lib/abstract_controller/railties/routes_helpers.rb:7:in `block (2 levels) in with' actionpack (3.2.1) lib/action_controller/railties/paths.rb:7:in `block (2 levels) in with' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:2:in `' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:1:in `' activesupport (3.2.1) lib/active_support/dependencies.rb:469:in `load' activesupport (3.2.1) lib/active_support/dependencies.rb:469:in `block in load_file' activesupport (3.2.1) lib/active_support/dependencies.rb:639:in `new_constants_in' activesupport (3.2.1) lib/active_support/dependencies.rb:468:in `load_file' activesupport (3.2.1) lib/active_support/dependencies.rb:353:in `require_or_load' activesupport (3.2.1) lib/active_support/dependencies.rb:502:in `load_missing_constant' activesupport (3.2.1) lib/active_support/dependencies.rb:192:in `block in const_missing' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `each' activesupport (3.2.1) lib/active_support/dependencies.rb:190:in `const_missing' activesupport (3.2.1) lib/active_support/inflector/methods.rb:229:in `block in constantize' activesupport (3.2.1) lib/active_support/inflector/methods.rb:228:in `each' activesupport (3.2.1) lib/active_support/inflector/methods.rb:228:in `constantize' activesupport (3.2.1) lib/active_support/dependencies.rb:554:in `get' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:62:in `controller_reference' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:47:in `controller' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:26:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__4435375348053021239__call__267740173256879138__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.4ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.9ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-08 15:02:00 -0600 NoMethodError (undefined method `key?' for nil:NilClass): actionpack (3.2.1) lib/action_controller/metal/hide_actions.rb:36:in `visible_action?' actionpack (3.2.1) lib/action_controller/metal/hide_actions.rb:18:in `method_for_action' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:14:in `method_for_action' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:61:in `method_for_action' actionpack (3.2.1) lib/abstract_controller/base.rb:115:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__4435375348053021239__call__267740173256879138__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.7ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-08 15:02:22 -0600 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (104.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (110.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (6.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (8.0ms) Completed 200 OK in 316ms (Views: 178.4ms | ActiveRecord: 4.9ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:02:22 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (5ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:02:22 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:02:22 -0600 Served asset /rails_adserver/application.css - 200 OK (25ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:02:22 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:02:22 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:02:22 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:02:22 -0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:02:22 -0600 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:02:22 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:02:22 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:02:22 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:02:22 -0600 Served asset /rails_adserver/application.js - 200 OK (16ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-08 15:06:45 -0600 Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.1ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (83.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (86.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 168ms (Views: 103.4ms | ActiveRecord: 2.6ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:06:46 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:06:46 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:06:46 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:06:46 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:06:46 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:06:46 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:06:46 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:06:46 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:06:46 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:06:46 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:06:46 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:06:46 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-08 15:10:12 -0600 Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (15.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (17.8ms) Compiled rails_adserver/rails_adserver_form.js (1752ms) (pid 82557) Compiled rails_adserver/application.js (11ms) (pid 82557) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.9ms) Completed 200 OK in 1934ms (Views: 1931.9ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:14 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:14 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:14 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:14 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:14 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:14 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:14 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:14 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:14 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:14 -0600 Served asset /rails_adserver/rails_adserver_form.js - 200 OK (3ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:14 -0600 Served asset /rails_adserver/application.js - 200 OK (90ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:14 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-08 15:10:20 -0600 Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (16.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (17.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 36ms (Views: 33.2ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:20 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:20 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:20 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:20 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:20 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:20 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:20 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:20 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:20 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:20 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:20 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:20 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:10:29 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (178.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 223ms (Views: 219.2ms | ActiveRecord: 1.3ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:29 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:29 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:29 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:29 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:29 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:29 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:29 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:29 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:29 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:29 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:29 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:29 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:10:40 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (7.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 26ms (Views: 22.5ms | ActiveRecord: 1.3ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:40 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:40 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:40 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:40 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:40 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:40 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:10:40 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:40 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:40 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:40 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:40 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:10:40 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:11:28 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (5.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (980.5ms) Completed 500 Internal Server Error in 1064ms ActionView::Template::Error (undefined local variable or method `rails_adserver_root_path' for #<#:0x007f8f4517cfd8>): 5: %span.icon-bar 6: %span.icon-bar 7: %span.icon-bar 8: %a.brand{:href => rails_adserver_root_path}= "#{_application_name} Adserver" 9: .nav-collapse 10: %ul.nav 11: %li /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml:8:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_layouts_rails_adserver__topbar_html_haml__1104311683672416993_70126640036360' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:257:in `render_partial' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:230:in `block in render' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:229:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:41:in `render_partial' actionpack (3.2.1) lib/action_view/helpers/rendering_helper.rb:27:in `render' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `block in render_with_haml' haml (3.1.4) lib/haml/helpers.rb:90:in `non_haml' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `render_with_haml' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/application.html.haml:17:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_layouts_rails_adserver_application_html_haml___97359632405686798_70126664391600' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:53:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:414:in `_run__2996483744478421377__process_action__1954395935514808758__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3109335423688798297__call__346410216539229082__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (7.2ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (13.6ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:11:36 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (5.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (67.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 92ms (Views: 87.5ms | ActiveRecord: 1.2ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:11:36 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:11:36 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:11:36 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:11:36 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:11:36 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:11:36 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:11:36 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:11:36 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:11:36 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:11:36 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:11:36 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:11:36 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:11:39 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (7.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 28ms (Views: 24.4ms | ActiveRecord: 1.3ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:11:39 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:11:39 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:11:39 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:11:39 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:11:40 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:11:40 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:11:40 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:11:40 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:11:40 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:11:40 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:11:40 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:11:40 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:12:21 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.1ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (6.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (4.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 30ms (Views: 27.4ms | ActiveRecord: 1.2ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:21 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:21 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:21 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:21 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:21 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:21 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:21 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:21 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:21 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:21 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:21 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:21 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/" for 127.0.0.1 at 2012-03-08 15:12:24 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (1.1ms) Completed 200 OK in 120ms (Views: 119.7ms | ActiveRecord: 0.0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:24 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:24 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:24 -0600 Served asset /page.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:24 -0600 Served asset /application.js - 200 OK (8ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:24 -0600 Served asset /page.css - 304 Not Modified (2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:24 -0600 Served asset /application.css - 200 OK (2ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:12:27 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (7.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 27ms (Views: 23.2ms | ActiveRecord: 1.4ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:28 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:28 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:28 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:28 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:28 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:28 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:28 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:28 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:28 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:28 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:28 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:28 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:12:33 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (5.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.0ms) Completed 200 OK in 25ms (Views: 22.3ms | ActiveRecord: 1.1ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:33 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:33 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:33 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:33 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:33 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:33 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:33 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:33 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:33 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:33 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:33 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:33 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/adspaces" for 127.0.0.1 at 2012-03-08 15:12:37 -0600 Processing by RailsAdserver::AdspacesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.1ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/index.html.haml within layouts/rails_adserver/application (7.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 47ms (Views: 44.8ms | ActiveRecord: 0.4ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:37 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:37 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:37 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:37 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:37 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:12:37 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:37 -0600 Served asset /jquery.js - 304 Not Modified (7ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:37 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:37 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:37 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:37 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:12:37 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/adspaces" for 127.0.0.1 at 2012-03-08 15:13:19 -0600 Processing by RailsAdserver::AdspacesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/index.html.haml within layouts/rails_adserver/application (7.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 29ms (Views: 24.4ms | ActiveRecord: 0.5ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:13:20 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:13:20 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:13:20 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:13:20 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:13:20 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:13:20 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:13:20 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:13:20 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:13:20 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:13:20 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:13:20 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:13:20 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 15:13:28 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (7.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 58ms (Views: 54.9ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:13:29 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:13:29 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:13:29 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:13:29 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:13:29 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:13:29 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:13:29 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:13:29 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:13:29 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:13:29 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:13:29 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:13:29 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 15:14:43 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (5.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 25ms (Views: 22.0ms | ActiveRecord: 0.5ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:14:43 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:14:43 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:14:43 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:14:43 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:14:43 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:14:43 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:14:43 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:14:43 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:14:43 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:14:43 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:14:43 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:14:43 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-08 15:15:19 -0600 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (94.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (98.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 120ms (Views: 115.7ms | ActiveRecord: 1.0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:15:19 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:15:19 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:15:19 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:15:19 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:15:19 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:15:19 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:15:19 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:15:19 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:15:19 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:15:19 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:15:19 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:15:19 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-08 15:16:00 -0600 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (17.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (18.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 38ms (Views: 35.1ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:16:00 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:16:00 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:16:00 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:16:00 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:16:00 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:16:00 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:16:00 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:16:00 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:16:00 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:16:00 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:16:00 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:16:00 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-08 15:16:25 -0600 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (32.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (34.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 183ms (Views: 109.0ms | ActiveRecord: 2.7ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:16:26 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:16:26 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:16:26 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:16:26 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:16:26 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:16:26 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:16:26 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:16:26 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:16:26 -0600 Served asset /rails_adserver/application.css - 200 OK (13ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:16:26 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:16:26 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:16:26 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 15:16:38 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  RailsAdserver::Click Load (15.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (53.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 73ms (Views: 53.8ms | ActiveRecord: 16.5ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:16:38 -0600 Served asset /rails_adserver/application.css - 200 OK (6ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:16:38 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:16:38 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:16:38 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:16:38 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:16:38 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:16:38 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:16:38 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:16:38 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:16:38 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:16:38 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:16:38 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 15:18:02 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (8.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 28ms (Views: 25.1ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:18:02 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:18:02 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:18:02 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:18:02 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:18:02 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:18:02 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:18:02 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:18:02 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:18:02 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:18:02 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:18:02 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:18:02 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 15:18:04 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (4.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (3.3ms) Completed 200 OK in 29ms (Views: 26.6ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:18:05 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:18:05 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:18:05 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:18:05 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:18:05 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:18:05 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:18:05 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:18:05 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:18:05 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:18:05 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:18:05 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:18:05 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 15:18:35 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (8.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 27ms (Views: 23.6ms | ActiveRecord: 0.8ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:18:35 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:18:35 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:18:35 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:18:35 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:18:35 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:18:35 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:18:36 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:18:36 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:18:36 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:18:36 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:18:36 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:18:36 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 15:20:54 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (94.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (22.0ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  RailsAdserver::Click Load (18.1ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (1400.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (51.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (19.8ms) Completed 200 OK in 3908ms (Views: 2354.9ms | ActiveRecord: 134.9ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:21:02 -0600 Served asset /rails_adserver/application.css - 200 OK (15ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:21:02 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (30ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:21:02 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (12ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:21:02 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (31ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:21:02 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (9ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:21:02 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:21:02 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:21:02 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (16ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:21:02 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:21:02 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:21:02 -0600 Served asset /rails_adserver/application.js - 200 OK (1ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:21:02 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (28ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 15:21:13 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (1.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (144.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (1.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (19.0ms) Completed 200 OK in 377ms (Views: 373.1ms | ActiveRecord: 1.9ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:21:13 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:21:13 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:21:13 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:21:14 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:21:14 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:21:14 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:21:14 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:21:14 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:21:14 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:21:24 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:21:24 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:21:24 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 15:21:30 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (3.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.8ms) Completed 200 OK in 263ms (Views: 258.6ms | ActiveRecord: 0.9ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:21:31 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:21:32 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:21:32 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:21:32 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:21:32 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:21:32 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:21:32 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:21:32 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:21:32 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:21:33 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:21:33 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:21:33 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 15:22:50 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (55.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 180ms (Views: 176.3ms | ActiveRecord: 0.9ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:22:50 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:22:50 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:22:50 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:22:50 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:22:50 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:22:50 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:22:50 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:22:50 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:22:50 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:22:50 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:22:50 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:22:50 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 15:22:59 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (22.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 109ms (Views: 106.1ms | ActiveRecord: 0.8ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:22:59 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:22:59 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:22:59 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:22:59 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:22:59 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:22:59 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:22:59 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:22:59 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:22:59 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:22:59 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:22:59 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:22:59 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:23:16 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (31.8ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (50.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 191ms (Views: 118.6ms | ActiveRecord: 32.7ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:23:16 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:23:16 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:23:16 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:23:16 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:23:16 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:23:17 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:23:17 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:23:17 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:23:17 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:23:17 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:23:17 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:23:17 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:25:10 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (5.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 40ms (Views: 35.9ms | ActiveRecord: 1.3ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:25:11 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:25:11 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:25:11 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:25:11 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:25:11 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:25:11 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:25:11 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:25:11 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:25:11 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:25:11 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:25:11 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:25:11 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 15:25:12 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (21.9ms) Completed 500 Internal Server Error in 29ms ActionView::Template::Error (Missing partial rails_adserver/advertisements/advertisements_index with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" ): 1: %h1 Listing advertisements 2: = render 'rails_adserver/advertisements/advertisements_index', :locals => { :object => @advertisements } actionpack (3.2.1) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.1) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:331:in `find_template' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:325:in `find_partial' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:222:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:41:in `render_partial' actionpack (3.2.1) lib/action_view/helpers/rendering_helper.rb:27:in `render' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `block in render_with_haml' haml (3.1.4) lib/haml/helpers.rb:90:in `non_haml' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `render_with_haml' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml:2:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements_index_html_haml__527927878854733070_70126657992860' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:41:in `block (2 levels) in render_template' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:40:in `block in render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:48:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:268:in `block in retrieve_response_from_mimes' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `call' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:60:in `index' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:414:in `_run__2846468282721441169__process_action__4031581944581012136__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3109335423688798297__call__346410216539229082__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (36.6ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (47.3ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (144.4ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 15:25:36 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (9.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (12.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 32ms (Views: 28.4ms | ActiveRecord: 1.2ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:25:36 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:25:36 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:25:36 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:25:36 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:25:36 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:25:36 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:25:36 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:25:36 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:25:36 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:25:36 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:25:36 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:25:36 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 15:27:09 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (3.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (5.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (64.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 89ms (Views: 86.1ms | ActiveRecord: 0.8ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:27:09 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:27:09 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:27:09 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:27:09 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:27:09 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:27:09 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:27:09 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:27:09 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:27:09 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:27:09 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:27:09 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:27:09 -0600 Served asset /rails_adserver/application.js - 200 OK (1ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:27:11 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" ERROR: compiling ___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_pages_home_html_haml___548248603872306002_70126638880380 RAISED /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml:5: syntax error, unexpected keyword_else, expecting keyword_end /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml:9: syntax error, unexpected keyword_ensure, expecting $end Function body: def ___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_pages_home_html_haml___548248603872306002_70126638880380(local_assigns, output_buffer) _old_virtual_path, @virtual_path = @virtual_path, "rails_adserver/pages/home";_old_output_buffer = @output_buffer;;begin;extend Haml::Helpers;_hamlout = @haml_buffer = Haml::Buffer.new(@haml_buffer, {:autoclose=>["meta", "img", "link", "br", "hr", "input", "area", "param", "col", "base"], :preserve=>["textarea", "pre", "code"], :attr_wrapper=>"'", :ugly=>true, :format=>:html5, :encoding=>"UTF-8", :escape_html=>true, :escape_attrs=>true});_erbout = _hamlout.buffer;__in_erb_template = true;; @adspaces.each do |space| _hamlout.buffer << "

#{_hamlout.format_script_false_true_false_true_false_true_true(("#{space.name} Active Ads:" ));}

\n"; @advertisements = space.advertisements.where('is_active = ?',true) _hamlout.buffer << "#{_hamlout.format_script_false_false_false_true_false_true_true(( render 'rails_adserver/advertisements/advertisements_table', :locals => { :object => @advertisements } ));}\n"; else _hamlout.buffer << "No Active Ads\n";end _hamlout.buffer << "
\n
\n";end ::Haml::Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer.upper if @haml_buffer;end; ensure @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer end Backtrace: /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_view/template.rb:285:in `module_eval' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_view/template.rb:285:in `compile' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_view/template.rb:233:in `compile!' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_view/template.rb:142:in `block in render' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/notifications.rb:125:in `instrument' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_view/template.rb:141:in `render' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_view/renderer/template_renderer.rb:41:in `block (2 levels) in render_template' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/notifications.rb:123:in `block in instrument' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/notifications.rb:123:in `instrument' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_view/renderer/template_renderer.rb:40:in `block in render_template' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_view/renderer/template_renderer.rb:48:in `render_with_layout' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_view/renderer/template_renderer.rb:39:in `render_template' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_view/renderer/template_renderer.rb:12:in `render' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_view/renderer/renderer.rb:36:in `render_template' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_view/renderer/renderer.rb:17:in `render' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/abstract_controller/rendering.rb:109:in `_render_template' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/streaming.rb:225:in `_render_template' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/abstract_controller/rendering.rb:103:in `render_to_body' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/renderers.rb:28:in `render_to_body' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/compatibility.rb:50:in `render_to_body' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/abstract_controller/rendering.rb:88:in `render' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/rendering.rb:16:in `render' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/core_ext/benchmark.rb:5:in `ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/instrumentation.rb:40:in `block in render' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activerecord-3.2.1/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/implicit_render.rb:10:in `default_render' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/implicit_render.rb:5:in `send_action' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/abstract_controller/base.rb:167:in `process_action' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/rendering.rb:10:in `process_action' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:414:in `_run__2996483744478421377__process_action__1954395935514808758__callbacks' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:405:in `__run_callback' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:81:in `run_callbacks' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/abstract_controller/callbacks.rb:17:in `process_action' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/rescue.rb:29:in `process_action' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/notifications.rb:123:in `block in instrument' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/notifications.rb:123:in `instrument' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/params_wrapper.rb:205:in `process_action' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activerecord-3.2.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/abstract_controller/base.rb:121:in `process' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/abstract_controller/rendering.rb:45:in `process' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal.rb:203:in `dispatch' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal.rb:246:in `block in action' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/routing/route_set.rb:66:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/routing/route_set.rb:66:in `dispatch' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/routing/route_set.rb:30:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/journey-1.0.3/lib/journey/router.rb:68:in `block in call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/journey-1.0.3/lib/journey/router.rb:56:in `each' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/journey-1.0.3/lib/journey/router.rb:56:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/routing/route_set.rb:589:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/engine.rb:479:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/railtie/configurable.rb:30:in `method_missing' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/journey-1.0.3/lib/journey/router.rb:68:in `block in call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/journey-1.0.3/lib/journey/router.rb:56:in `each' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/journey-1.0.3/lib/journey/router.rb:56:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/routing/route_set.rb:589:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/warden-1.1.1/lib/warden/manager.rb:35:in `block in call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/warden-1.1.1/lib/warden/manager.rb:34:in `catch' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/warden-1.1.1/lib/warden/manager.rb:34:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/head.rb:14:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/flash.rb:242:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/cookies.rb:338:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activerecord-3.2.1/lib/active_record/query_cache.rb:64:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:405:in `_run__3109335423688798297__call__346410216539229082__callbacks' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:405:in `__run_callback' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:385:in `_run_call_callbacks' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:81:in `run_callbacks' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/callbacks.rb:27:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/reloader.rb:65:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/remote_ip.rb:31:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/rack/logger.rb:26:in `call_app' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/rack/logger.rb:16:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/request_id.rb:22:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/cache/strategy/local_cache.rb:72:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/static.rb:53:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/engine.rb:479:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/application.rb:220:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/rack/log_tailer.rb:14:in `call' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (29.7ms) Completed 500 Internal Server Error in 39ms ActionView::Template::Error (/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml:5: syntax error, unexpected keyword_else, expecting keyword_end /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml:9: syntax error, unexpected keyword_ensure, expecting $end): 2: %h1= "#{space.name} Active Ads:" 3: - @advertisements = space.advertisements.where('is_active = ?',true) 4: = render 'rails_adserver/advertisements/advertisements_table', :locals => { :object => @advertisements } 5: - else 6: No Active Ads 7: %br/ 8: %br/ actionpack (3.2.1) lib/action_view/template.rb:285:in `module_eval' actionpack (3.2.1) lib/action_view/template.rb:285:in `compile' actionpack (3.2.1) lib/action_view/template.rb:233:in `compile!' actionpack (3.2.1) lib/action_view/template.rb:142:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:41:in `block (2 levels) in render_template' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:40:in `block in render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:48:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:414:in `_run__2996483744478421377__process_action__1954395935514808758__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3109335423688798297__call__346410216539229082__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (38.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (64.8ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:27:53 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (1618.6ms) Completed 500 Internal Server Error in 1627ms ActionView::Template::Error (undefined local variable or method `space_ads' for #<#:0x007f8f42d9d3b0>): 1: - @adspaces.each do |space| 2: %h1= "#{space.name} Active Ads:" 3: - @advertisements = space.advertisements.where('is_active = ?',true) 4: - unless space_ads == [] 5: = render 'rails_adserver/advertisements/advertisements_table', :locals => { :object => @advertisements } 6: - else 7: No Active Ads /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml:4:in `block in ___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_pages_home_html_haml___548248603872306002_70126639306080' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml:1:in `each' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_pages_home_html_haml___548248603872306002_70126639306080' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:41:in `block (2 levels) in render_template' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:40:in `block in render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:48:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:414:in `_run__2996483744478421377__process_action__1954395935514808758__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3109335423688798297__call__346410216539229082__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.1ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.3ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:28:07 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (3.8ms) RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (12.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 33ms (Views: 28.4ms | ActiveRecord: 1.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:07 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:08 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:08 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:08 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:08 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:08 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:08 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:08 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:08 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:08 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:08 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:08 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/adspaces" for 127.0.0.1 at 2012-03-08 15:28:51 -0600 Processing by RailsAdserver::AdspacesController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/index.html.haml within layouts/rails_adserver/application (29.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 66ms (Views: 62.5ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:51 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:51 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:51 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:51 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:51 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:51 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:51 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:51 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:51 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:51 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:51 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:51 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/rails_adserver/adspaces/new" for 127.0.0.1 at 2012-03-08 15:28:53 -0600 Processing by RailsAdserver::AdspacesController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/_form.html.haml (121.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/new.html.haml within layouts/rails_adserver/application (125.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.0ms) Completed 200 OK in 221ms (Views: 195.5ms | ActiveRecord: 0.4ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:54 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:54 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:54 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:54 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:54 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (1ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:54 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:54 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:54 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:54 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:54 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:54 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:54 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-08 15:28:55 -0600 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (3.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (5.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 49ms (Views: 46.1ms | ActiveRecord: 0.8ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:56 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:56 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:56 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:56 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:56 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:56 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:56 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:56 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:56 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:56 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:56 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:56 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-08 15:28:57 -0600 Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.4ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (49.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (51.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 94ms (Views: 90.9ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:57 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:57 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:57 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:57 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:57 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:57 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:57 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 15:28:57 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:57 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:57 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:57 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 15:28:57 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/img/glyphicons-halflings.png" for 127.0.0.1 at 2012-03-08 15:30:28 -0600 Served asset /img/glyphicons-halflings.png - 404 Not Found (95ms) ActionController::RoutingError (No route matches [GET] "/assets/img/glyphicons-halflings.png"): actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.1ms) Started GET "/assets/img/glyphicons-halflings.png" for 127.0.0.1 at 2012-03-08 15:30:28 -0600 Served asset /img/glyphicons-halflings.png - 404 Not Found (3ms) ActionController::RoutingError (No route matches [GET] "/assets/img/glyphicons-halflings.png"): actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-08 15:30:46 -0600 Processing by RailsAdserver::AdvertisementsController#new as HTML Completed 500 Internal Server Error in 1ms NoMethodError (undefined method `can_manage_ads' for nil:NilClass): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/application_controller.rb:16:in `_authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__2846468282721441169__process_action__727457342737978282__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3109335423688798297__call__346410216539229082__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.1ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.7ms) Started GET "/" for 127.0.0.1 at 2012-03-08 15:30:50 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (0.2ms) Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-08 15:30:51 -0600 Served asset /application.css - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-08 15:30:51 -0600 Served asset /application.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 15:30:51 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-08 15:30:51 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 15:30:51 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-08 15:30:51 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-08 15:31:23 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (8.4ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml (126.4ms) Completed 200 OK in 3770ms (Views: 147.5ms | ActiveRecord: 9.8ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:31:37 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 1ms NoMethodError (undefined method `can_manage_ads' for nil:NilClass): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/application_controller.rb:16:in `_authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__2996483744478421377__process_action__1954395935514808758__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3109335423688798297__call__346410216539229082__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.3ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:32:30 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 92ms NoMethodError (undefined method `can_manage_ads' for nil:NilClass): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/application_controller.rb:17:in `_authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__2996483744478421377__process_action__1954395935514808758__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3109335423688798297__call__346410216539229082__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.6ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.8ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:32:33 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 1ms NoMethodError (undefined method `can_manage_ads' for nil:NilClass): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/application_controller.rb:17:in `_authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__2996483744478421377__process_action__1954395935514808758__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3109335423688798297__call__346410216539229082__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (170.4ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (179.0ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:32:40 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 9ms NoMethodError (undefined method `can_manage_ads' for nil:NilClass): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/application_controller.rb:17:in `_authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__2996483744478421377__process_action__1954395935514808758__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3109335423688798297__call__346410216539229082__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.4ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:33:14 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 1ms NoMethodError (undefined method `can_manage_ads' for nil:NilClass): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/application_controller.rb:17:in `_authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__1704711794206929859__process_action__1852100347333219711__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__2882439655399828564__call__352650480310497711__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.6ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:33:16 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 1ms NoMethodError (undefined method `can_manage_ads' for nil:NilClass): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/application_controller.rb:17:in `_authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__1704711794206929859__process_action__1852100347333219711__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__2882439655399828564__call__352650480310497711__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.3ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.9ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 15:33:17 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 1ms NoMethodError (undefined method `can_manage_ads' for nil:NilClass): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/application_controller.rb:17:in `_authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__1704711794206929859__process_action__1852100347333219711__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__2882439655399828564__call__352650480310497711__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.7ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-08 16:13:21 -0600 Processing by RailsAdserver::PagesController#home as HTML DEPRECATION WARNING: Passing the format in the template name is deprecated. Please pass render with :formats => [:html] instead. (called from realtime at /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295) Completed 500 Internal Server Error in 27ms ActionView::MissingTemplate (Missing template /404 with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy" * "/" ): actionpack (3.2.1) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.1) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:22:in `block in determine_template' actionpack (3.2.1) lib/action_view/lookup_context.rb:130:in `with_fallbacks' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `with_fallbacks' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:22:in `determine_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:10:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/application_controller.rb:17:in `_authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__4054664286025952322__process_action__289062066477396087__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__4307446496063965163__call__3585564219266224953__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (18.3ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-08 16:17:02 -0600 Processing by RailsAdserver::PagesController#home as HTML Completed 500 Internal Server Error in 605ms NoMethodError (undefined method `rendirect_to' for #): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/application_controller.rb:17:in `_authenticate' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in `_run__4054664286025952322__process_action__289062066477396087__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__4307446496063965163__call__3585564219266224953__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.1ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (236.3ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-08 16:17:15 -0600 Processing by RailsAdserver::PagesController#home as HTML Redirected to http://localhost:3000/404.html Filter chain halted as :_authenticate rendered or redirected Completed 302 Found in 35ms (ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2012-03-08 16:17:22 -0600 ActionController::RoutingError (No route matches [GET] "/sign_in"): actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms) Started GET "/login" for 127.0.0.1 at 2012-03-08 16:17:28 -0600 Processing by Devise::SessionsController#new as HTML Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/_links.erb (2.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/sessions/new.html.erb within layouts/application (159.8ms) Completed 200 OK in 526ms (Views: 477.3ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-08 16:17:29 -0600 Served asset /application.css - 200 OK (4ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-08 16:17:29 -0600 Served asset /page.css - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 16:17:30 -0600 Served asset /jquery_ujs.js - 304 Not Modified (4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 16:17:30 -0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-08 16:17:30 -0600 Served asset /page.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-08 16:17:30 -0600 Served asset /application.js - 200 OK (6ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-08 16:18:15 -0600 Processing by RailsAdserver::PagesController#home as HTML Redirected to http://localhost:3000/404.html Filter chain halted as :_authenticate rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2012-03-08 16:18:20 -0600 Processing by Devise::SessionsController#new as HTML Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/_links.erb (0.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/sessions/new.html.erb within layouts/application (9.4ms) Completed 200 OK in 61ms (Views: 60.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-08 16:18:21 -0600 Served asset /application.css - 200 OK (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-08 16:18:21 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:21 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:21 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:21 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:21 -0600 Served asset /application.js - 200 OK (0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2012-03-08 16:18:26 -0600 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"y+/5gHjpeos9O8kR2FKue7K+EPSZXs3FgwLN8jNrxSE=", "user"=>{"email"=>"tmuntan1@slu.edu", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'tmuntan1@slu.edu' LIMIT 1  (0.8ms) begin transaction  (37.3ms) UPDATE "users" SET "current_sign_in_at" = '2012-03-08 22:18:27.047851', "sign_in_count" = 2, "updated_at" = '2012-03-08 22:18:27.156831' WHERE "users"."id" = 1  (1.4ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 925ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2012-03-08 16:18:27 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (113.1ms) Completed 200 OK in 127ms (Views: 126.6ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-08 16:18:27 -0600 Served asset /application.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:27 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:27 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:27 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-08 16:18:27 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:28 -0600 Served asset /application.js - 200 OK (0ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-08 16:18:33 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Click Load (13.4ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (126.9ms) RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (570.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (45.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (8.6ms) Completed 200 OK in 1098ms (Views: 969.9ms | ActiveRecord: 16.4ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 16:18:35 -0600 Served asset /rails_adserver/application.css - 200 OK (16ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 16:18:35 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 16:18:35 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 16:18:35 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 16:18:35 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 16:18:35 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:35 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:35 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:35 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:35 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:35 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:35 -0600 Served asset /rails_adserver/application.js - 200 OK (10ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-08 16:18:40 -0600 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Click Load (0.2ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (2.6ms) RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (7.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.0ms) Completed 200 OK in 24ms (Views: 21.1ms | ActiveRecord: 1.1ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 16:18:41 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 16:18:41 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 16:18:41 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 16:18:41 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 16:18:41 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:41 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:41 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:41 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 16:18:41 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:41 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:41 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 16:18:41 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/adspaces" for 127.0.0.1 at 2012-03-08 16:19:45 -0600 Processing by RailsAdserver::AdspacesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/index.html.haml within layouts/rails_adserver/application (110.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (1.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 196ms (Views: 193.0ms | ActiveRecord: 0.5ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 16:19:45 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 16:19:45 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 16:19:45 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 16:19:45 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 16:19:45 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 16:19:45 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 16:19:45 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 16:19:45 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 16:19:45 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 16:19:45 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 16:19:46 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 16:19:46 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/adspaces/new" for 127.0.0.1 at 2012-03-08 16:19:47 -0600 Processing by RailsAdserver::AdspacesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/_form.html.haml (7.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/new.html.haml within layouts/rails_adserver/application (10.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.0ms) Completed 200 OK in 49ms (Views: 46.6ms | ActiveRecord: 0.3ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-08 16:19:47 -0600 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-08 16:19:47 -0600 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-08 16:19:47 -0600 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-08 16:19:47 -0600 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-08 16:19:47 -0600 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 16:19:47 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 16:19:47 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-08 16:19:47 -0600 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-08 16:19:47 -0600 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-08 16:19:47 -0600 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-08 16:19:48 -0600 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-08 16:19:48 -0600 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/" for 127.0.0.1 at 2012-03-08 16:21:37 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (2.0ms) Completed 200 OK in 36ms (Views: 35.3ms | ActiveRecord: 0.0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-08 16:21:37 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 16:21:37 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 16:21:37 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-08 16:21:37 -0600 Served asset /application.js - 200 OK (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-08 16:21:37 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-08 16:21:37 -0600 Served asset /application.css - 200 OK (0ms) Started GET "/" for 127.0.0.1 at 2012-03-08 16:22:24 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (1.2ms) Completed 200 OK in 9ms (Views: 9.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-08 16:22:24 -0600 Served asset /application.css - 200 OK (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-08 16:22:24 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 16:22:24 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 16:22:24 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-08 16:22:24 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-08 16:22:24 -0600 Served asset /application.js - 200 OK (0ms) Started GET "/ad/space/1/param/1" for 127.0.0.1 at 2012-03-08 16:22:24 -0600 ActionController::RoutingError (No route matches [GET] "/ad/space/1/param/1"): actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.2ms) Started GET "/" for 127.0.0.1 at 2012-03-08 16:22:37 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (1.3ms) Completed 200 OK in 75ms (Views: 74.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-08 16:22:38 -0600 Served asset /application.css - 200 OK (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-08 16:22:38 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 16:22:38 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-08 16:22:38 -0600 Served asset /application.js - 200 OK (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-08 16:22:38 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 16:22:38 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-08 16:22:38 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.4ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml (491.9ms) Completed 200 OK in 3016ms (Views: 549.8ms | ActiveRecord: 2.3ms) Started GET "/" for 127.0.0.1 at 2012-03-08 16:24:17 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (1.4ms) Completed 200 OK in 30ms (Views: 29.4ms | ActiveRecord: 0.0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-08 16:24:17 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 16:24:17 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 16:24:17 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-08 16:24:17 -0600 Served asset /application.css - 200 OK (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-08 16:24:17 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-08 16:24:17 -0600 Served asset /application.js - 200 OK (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-08 16:24:17 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml (1.9ms) Completed 200 OK in 949ms (Views: 47.5ms | ActiveRecord: 2.2ms) Started GET "/" for 127.0.0.1 at 2012-03-08 16:25:59 -0600 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (0.1ms) Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-08 16:25:59 -0600 Served asset /application.css - 200 OK (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-08 16:25:59 -0600 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-08 16:25:59 -0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-08 16:25:59 -0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-08 16:25:59 -0600 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-08 16:25:59 -0600 Served asset /application.js - 200 OK (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-08 16:25:59 -0600 Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.6ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml (1.7ms) Completed 200 OK in 922ms (Views: 4.2ms | ActiveRecord: 2.3ms) DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Started GET "/" for 127.0.0.1 at 2012-03-23 11:39:39 -0500 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (1.8ms) Completed 200 OK in 143ms (Views: 142.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-23 11:39:39 -0500 Served asset /application.css - 200 OK (4ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-23 11:39:39 -0500 Served asset /page.css - 200 OK (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 11:39:39 -0500 Served asset /jquery_ujs.js - 200 OK (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-23 11:39:39 -0500 Served asset /application.js - 200 OK (7ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 11:39:39 -0500 Served asset /jquery.js - 200 OK (3ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-23 11:39:39 -0500 Served asset /page.js - 200 OK (1ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-23 11:39:39 -0500 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#ad as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (11.7ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.8ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (30.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad.html.haml (34.6ms) Completed 200 OK in 2709ms (Views: 60.0ms | ActiveRecord: 48.7ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-23 11:41:47 -0500 ActionController::RoutingError (No route matches [GET] "/rails_adserver/ad/space/1"): actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-23 11:48:30 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} Redirected to http://localhost:3000/404.html Filter chain halted as :_authenticate rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-23 11:48:55 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 59ms ActionView::MissingTemplate (Missing template rails_adserver/advertisements/ad_space, rails_adserver/application/ad_space with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" ): actionpack (3.2.1) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.1) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:28:in `determine_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:10:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:52:in `block (2 levels) in ad_space' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `call' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:51:in `ad_space' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__1564419836303318172__process_action__4246059245612252462__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__265854193519650368__call__3746841612865668627__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.9ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-23 11:50:03 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (3.4ms) Completed 200 OK in 10ms (Views: 5.6ms | ActiveRecord: 0.7ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-23 11:50:49 -0500 Processing by RailsAdserver::PagesController#home as HTML Redirected to http://localhost:3000/404.html Filter chain halted as :_authenticate rendered or redirected Completed 302 Found in 66ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2012-03-23 11:50:55 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/_links.erb (3.6ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/sessions/new.html.erb within layouts/application (44.0ms) Completed 200 OK in 100ms (Views: 78.9ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-23 11:50:55 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 11:50:55 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-23 11:50:55 -0500 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-23 11:50:55 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 11:50:55 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-23 11:50:55 -0500 Served asset /page.css - 304 Not Modified (0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2012-03-23 11:51:00 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"NR5UOmBhFGM9Gqwhvum0Z/kdf9QpssoDCizdt3ey9pc=", "user"=>{"email"=>"tmuntan1@slu.edu", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (15.8ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'tmuntan1@slu.edu' LIMIT 1  (0.1ms) begin transaction  (0.8ms) UPDATE "users" SET "last_sign_in_at" = '2012-03-08 22:18:27.047851', "current_sign_in_at" = '2012-03-23 16:51:01.073790', "sign_in_count" = 3, "updated_at" = '2012-03-23 16:51:01.123442' WHERE "users"."id" = 1  (1.4ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 281ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2012-03-23 11:51:01 -0500 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (0.1ms) Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:01 -0500 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:01 -0500 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:01 -0500 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:01 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:01 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:01 -0500 Served asset /application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-23 11:51:01 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_param.html.haml (3.2ms) Completed 200 OK in 672ms (Views: 5.4ms | ActiveRecord: 1.9ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-23 11:51:08 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.1ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Click Load (14.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (56.7ms) RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (88.3ms) Compiled rails_adserver/pages.css (0ms) (pid 22811) Compiled rails_adserver/application.css (3ms) (pid 22811) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (5.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (6.4ms) Completed 200 OK in 448ms (Views: 430.4ms | ActiveRecord: 16.1ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:08 -0500 Served asset /rails_adserver/application.css - 200 OK (9ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:08 -0500 Served asset /rails_adserver/advertisements.css - 200 OK (3ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:08 -0500 Served asset /rails_adserver/adspaces.css - 200 OK (6ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:08 -0500 Served asset /rails_adserver/bootstrap.css - 200 OK (3ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:08 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 200 OK (4ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:08 -0500 Served asset /rails_adserver/pages.css - 200 OK (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:08 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:08 -0500 Served asset /rails_adserver/application.js - 200 OK (10ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:08 -0500 Served asset /rails_adserver/adspaces.js - 200 OK (2ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:08 -0500 Served asset /rails_adserver/advertisements.js - 200 OK (3ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:08 -0500 Served asset /rails_adserver/rails_adserver_form.js - 200 OK (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:08 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-23 11:51:19 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (31.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (35.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (61.8ms) Completed 200 OK in 137ms (Views: 133.1ms | ActiveRecord: 0.8ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:20 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:20 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:20 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:20 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:20 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:20 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:20 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:20 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:20 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:20 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:20 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:20 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started PUT "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-23 11:51:28 -0500 Processing by RailsAdserver::AdvertisementsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"NR5UOmBhFGM9Gqwhvum0Z/kdf9QpssoDCizdt3ey9pc=", "advertisement"=>{"title"=>"Test Ad", "adspace_id"=>"1", "ad_type"=>"image_link", "ad_text"=>"", "width"=>"300", "height"=>"300", "url"=>"http://www.campusbazar.com", "max_clicks"=>"10", "parameter_restriction_boolean"=>"false", "param_restriction_name"=>"id", "param_restriction"=>"", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"1"}, "commit"=>"Submit", "id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction  (0.4ms) UPDATE "rails_adserver_advertisements" SET "width" = 300, "height" = 300, "updated_at" = '2012-03-23 16:51:28.014482' WHERE "rails_adserver_advertisements"."id" = 1  (1.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements/1 Completed 302 Found in 239ms (ActiveRecord: 2.7ms) Started GET "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-23 11:51:28 -0500 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (3.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 36ms (Views: 33.4ms | ActiveRecord: 0.4ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:28 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:28 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:28 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:28 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:28 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 11:51:28 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:28 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:28 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:28 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:28 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:28 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 11:51:28 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-23 11:51:39 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (1.8ms) Completed 200 OK in 8ms (Views: 4.1ms | ActiveRecord: 0.7ms)  (13.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateRailsAdserverAdvertisements (20120227014859) Migrating to CreateRailsAdserverClicks (20120227014945) Migrating to DeviseCreateUsers (20120227204751) Migrating to AddParamRestrictionToAdvertisement (20120228000410) Migrating to AddNameOfParamRestrictionToAdvertisement (20120228000647) Migrating to CreateRailsAdserverAdspaces (20120228010151) Migrating to AddNameToAdspace (20120228010315) Migrating to AddAdspaceIdToAdvertisement (20120228043946) Migrating to AddAdTypeToAdvertisement (20120305034458) Migrating to AddParameterRestrictionBooleanToAdvertisement (20120305040026) Migrating to AddMoreOptionsToAdvertisement (20120305044238) Migrating to AddImageToAdvertisement (20120305054319) Migrating to AddMaxClicksToAdvertisement (20120305195421) Migrating to AddIndexes (20120305203049) Migrating to ChangeIndexes (20120305212451) Migrating to AddClickCountToAdvertisement (20120305214753) Migrating to Geolocation (20120306023105) Migrating to AddGeolocationNamesToAdvertisements (20120306052705) Migrating to AddAdvertisementIndexes (20120306065447) Migrating to AddCanManageAdsToUsers (20120307204255) Migrating to AddBackupBooleanToAds (20120323174313)  (62.1ms) select sqlite_version(*)  (0.1ms) begin transaction  (80.1ms) ALTER TABLE "rails_adserver_advertisements" ADD "backup" boolean  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120323174313')  (2.2ms) commit transaction  (0.5ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("rails_adserver_adspaces")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_country_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_state_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.1ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.0ms) PRAGMA index_list("rails_adserver_clicks")  (0.0ms) PRAGMA index_info('index_rails_adserver_clicks_on_advertisement_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.1ms) PRAGMA index_info('index_users_on_email') Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-23 13:13:59 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Click Load (0.2ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (15.3ms) RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (159.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (4.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (5.8ms) Completed 200 OK in 465ms (Views: 330.6ms | ActiveRecord: 5.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 13:14:00 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (66ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 13:14:00 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 13:14:00 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 13:14:00 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 13:14:00 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (6ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 13:14:00 -0500 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 13:14:00 -0500 Served asset /jquery.js - 304 Not Modified (6ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 13:14:00 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (10ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 13:14:00 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 13:14:00 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 13:14:00 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 13:14:00 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (20ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-23 13:14:02 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (88.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (91.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 113ms (Views: 108.4ms | ActiveRecord: 1.1ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 13:14:02 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 13:14:02 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 13:14:02 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 13:14:02 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 13:14:02 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 13:14:02 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 13:14:02 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 13:14:02 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 13:14:02 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 13:14:02 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 13:14:02 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 13:14:02 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-23 13:16:02 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (31.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (32.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 50ms (Views: 47.4ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 13:16:03 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 13:16:03 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 13:16:03 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 13:16:03 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 13:16:03 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 13:16:03 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 13:16:03 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 13:16:03 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 13:16:03 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 13:16:03 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 13:16:03 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 13:16:03 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-23 13:16:05 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (17.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (19.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 38ms (Views: 34.6ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 13:16:05 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 13:16:05 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 13:16:05 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 13:16:05 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 13:16:05 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 13:16:05 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 13:16:05 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 13:16:05 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 13:16:06 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 13:16:06 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 13:16:06 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 13:16:06 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-23 13:16:36 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (31.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (33.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (58.5ms) Completed 200 OK in 109ms (Views: 106.5ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 13:16:37 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 13:16:37 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 13:16:37 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 13:16:37 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 13:16:37 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 13:16:37 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 13:16:37 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 13:16:37 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 13:16:37 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 13:16:37 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 13:16:37 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 13:16:37 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-23 13:19:46 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (32.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (34.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 52ms (Views: 48.9ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 13:19:47 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 13:19:47 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 13:19:47 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 13:19:47 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 13:19:47 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 13:19:47 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 13:19:47 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 13:19:47 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 13:19:47 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 13:19:47 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 13:19:47 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 13:19:47 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-23 13:27:50 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (1.9ms) Completed 200 OK in 27ms (Views: 4.5ms | ActiveRecord: 1.8ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-23 13:29:26 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (0.1ms) Completed 200 OK in 23ms (Views: 2.6ms | ActiveRecord: 2.0ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-23 13:29:27 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (0.2ms) Completed 200 OK in 9ms (Views: 2.4ms | ActiveRecord: 1.0ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-23 13:29:28 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (0.1ms) Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.7ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-23 13:30:11 -0500 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (2.1ms) Completed 200 OK in 181ms (Views: 55.5ms | ActiveRecord: 4.3ms) DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-23 13:33:17 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.1ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Click Load (0.2ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (14.4ms) RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (150.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (4.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (5.5ms) Completed 200 OK in 380ms (Views: 261.6ms | ActiveRecord: 5.4ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 13:33:17 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (90ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 13:33:17 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 13:33:17 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 13:33:17 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (5ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 13:33:18 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 13:33:18 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 13:33:18 -0500 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 13:33:18 -0500 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 13:33:18 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 13:33:18 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 13:33:18 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 13:33:18 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (10ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-23 13:33:20 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.4ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (100.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (104.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 125ms (Views: 121.4ms | ActiveRecord: 1.1ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 13:33:20 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 13:33:20 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 13:33:20 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 13:33:20 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 13:33:20 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 13:33:20 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 13:33:20 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 13:33:20 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 13:33:20 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 13:33:20 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 13:33:20 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 13:33:20 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started PUT "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-23 13:33:27 -0500 Processing by RailsAdserver::AdvertisementsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"NR5UOmBhFGM9Gqwhvum0Z/kdf9QpssoDCizdt3ey9pc=", "advertisement"=>{"title"=>"Test Ad", "adspace_id"=>"1", "ad_type"=>"image_link", "backup"=>"1", "ad_text"=>"", "width"=>"300", "height"=>"300", "url"=>"http://www.campusbazar.com", "max_clicks"=>"10", "parameter_restriction_boolean"=>"false", "param_restriction_name"=>"id", "param_restriction"=>"", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"1"}, "commit"=>"Submit", "id"=>"1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction  (0.1ms) rollback transaction Completed 500 Internal Server Error in 7ms ActiveModel::MassAssignmentSecurity::Error (Can't mass-assign protected attributes: backup): activemodel (3.2.1) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes' activemodel (3.2.1) lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal' activemodel (3.2.1) lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize' activemodel (3.2.1) lib/active_model/mass_assignment_security.rb:228:in `sanitize_for_mass_assignment' activerecord (3.2.1) lib/active_record/attribute_assignment.rb:75:in `assign_attributes' activerecord (3.2.1) lib/active_record/persistence.rb:212:in `block in update_attributes' activerecord (3.2.1) lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/database_statements.rb:190:in `transaction' activerecord (3.2.1) lib/active_record/transactions.rb:208:in `transaction' activerecord (3.2.1) lib/active_record/transactions.rb:293:in `with_transaction_returning_status' activerecord (3.2.1) lib/active_record/persistence.rb:211:in `update_attributes' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:129:in `block in update' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:269:in `call' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:269:in `retrieve_response_from_mimes' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:194:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:128:in `update' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:414:in `_run__3767619845207824960__process_action__81170677476307555__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__747945121663751980__call__1515813269745440995__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.0ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.2ms) Started PUT "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-23 13:33:52 -0500 Processing by RailsAdserver::AdvertisementsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"NR5UOmBhFGM9Gqwhvum0Z/kdf9QpssoDCizdt3ey9pc=", "advertisement"=>{"title"=>"Test Ad", "adspace_id"=>"1", "ad_type"=>"image_link", "backup"=>"1", "ad_text"=>"", "width"=>"300", "height"=>"300", "url"=>"http://www.campusbazar.com", "max_clicks"=>"10", "parameter_restriction_boolean"=>"false", "param_restriction_name"=>"id", "param_restriction"=>"", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"1"}, "commit"=>"Submit", "id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction  (0.7ms) UPDATE "rails_adserver_advertisements" SET "backup" = 't', "updated_at" = '2012-03-23 18:33:53.027760' WHERE "rails_adserver_advertisements"."id" = 1  (2.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements/1 Completed 302 Found in 1403ms (ActiveRecord: 5.0ms) Started GET "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-23 13:33:54 -0500 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"1"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (3.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.9ms) Completed 200 OK in 25ms (Views: 20.7ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 13:33:54 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 13:33:54 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 13:33:54 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 13:33:54 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 13:33:54 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 13:33:54 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 13:33:54 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 13:33:54 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 13:33:54 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 13:33:54 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 13:33:54 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 13:33:54 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-23 13:34:00 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (3.6ms) Completed 200 OK in 84ms (Views: 5.8ms | ActiveRecord: 1.5ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-23 13:34:19 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (0.1ms) Completed 200 OK in 54ms (Views: 2.8ms | ActiveRecord: 2.1ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-23 13:34:55 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_param.html.haml (3.9ms) Completed 200 OK in 714ms (Views: 9.9ms | ActiveRecord: 4.0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-23 13:51:32 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_param.html.haml (3.0ms) Completed 200 OK in 1162ms (Views: 181.1ms | ActiveRecord: 2.2ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-23 13:52:07 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Click Load (0.2ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (12.4ms) RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (17.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.5ms) Completed 200 OK in 156ms (Views: 121.1ms | ActiveRecord: 2.3ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 13:52:07 -0500 Served asset /rails_adserver/application.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 13:52:07 -0500 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 13:52:07 -0500 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 13:52:07 -0500 Served asset /rails_adserver/adspaces.js - 200 OK (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 13:52:07 -0500 Served asset /rails_adserver/advertisements.js - 200 OK (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 13:52:07 -0500 Served asset /rails_adserver/advertisements.css - 200 OK (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 13:52:07 -0500 Served asset /rails_adserver/bootstrap.css - 200 OK (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 13:52:07 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 200 OK (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 13:52:07 -0500 Served asset /rails_adserver/pages.css - 200 OK (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 13:52:07 -0500 Served asset /rails_adserver/adspaces.css - 200 OK (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 13:52:07 -0500 Served asset /rails_adserver/rails_adserver_form.js - 200 OK (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 13:52:07 -0500 Served asset /rails_adserver/application.js - 200 OK (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-23 13:52:12 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (71.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (73.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (1.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.5ms) Completed 200 OK in 95ms (Views: 90.5ms | ActiveRecord: 0.9ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 13:52:12 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 13:52:12 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 13:52:12 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 13:52:12 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 13:52:12 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 13:52:12 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 13:52:12 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 13:52:12 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 13:52:12 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 13:52:12 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 13:52:12 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 13:52:12 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started PUT "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-23 13:52:37 -0500 Processing by RailsAdserver::AdvertisementsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"NR5UOmBhFGM9Gqwhvum0Z/kdf9QpssoDCizdt3ey9pc=", "advertisement"=>{"title"=>"Test Ad", "adspace_id"=>"1", "ad_type"=>"image_link", "backup"=>"0", "ad_text"=>"", "width"=>"300", "height"=>"300", "url"=>"http://www.campusbazar.com", "max_clicks"=>"10", "parameter_restriction_boolean"=>"true", "param_restriction_name"=>"id", "param_restriction"=>"2", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"1"}, "commit"=>"Submit", "id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction  (0.6ms) UPDATE "rails_adserver_advertisements" SET "backup" = 'f', "parameter_restriction_boolean" = 't', "param_restriction" = '2', "updated_at" = '2012-03-23 18:52:37.517028' WHERE "rails_adserver_advertisements"."id" = 1  (10.4ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements/1 Completed 302 Found in 249ms (ActiveRecord: 11.7ms) Started GET "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-23 13:52:37 -0500 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (1.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 21ms (Views: 17.7ms | ActiveRecord: 0.5ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 13:52:37 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 13:52:37 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 13:52:37 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 13:52:37 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 13:52:37 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 13:52:38 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 13:52:38 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 13:52:38 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 13:52:38 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 13:52:38 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 13:52:38 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 13:52:38 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-23 13:52:59 -0500 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (4.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (8.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.0ms) Completed 200 OK in 370ms (Views: 367.1ms | ActiveRecord: 0.8ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:00 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:00 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:00 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:00 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:00 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:00 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:00 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:00 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:00 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:00 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:00 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:00 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-23 13:53:05 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (17.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (19.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 105ms (Views: 34.0ms | ActiveRecord: 0.9ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:05 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (1ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:05 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:05 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:05 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:05 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:05 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:05 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:05 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:05 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:05 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:05 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:05 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started PUT "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-23 13:53:09 -0500 Processing by RailsAdserver::AdvertisementsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"NR5UOmBhFGM9Gqwhvum0Z/kdf9QpssoDCizdt3ey9pc=", "advertisement"=>{"title"=>"Test Ad", "adspace_id"=>"1", "ad_type"=>"image_link", "backup"=>"0", "ad_text"=>"", "width"=>"300", "height"=>"300", "url"=>"http://www.campusbazar.com", "max_clicks"=>"10", "parameter_restriction_boolean"=>"false", "param_restriction_name"=>"id", "param_restriction"=>"2", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"1"}, "commit"=>"Submit", "id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction  (0.6ms) UPDATE "rails_adserver_advertisements" SET "parameter_restriction_boolean" = 'f', "updated_at" = '2012-03-23 18:53:09.815047' WHERE "rails_adserver_advertisements"."id" = 1  (1.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements/1 Completed 302 Found in 583ms (ActiveRecord: 2.9ms) Started GET "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-23 13:53:10 -0500 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (1.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 21ms (Views: 18.8ms | ActiveRecord: 0.4ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:10 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:10 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:10 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:10 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:10 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:10 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:10 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:10 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:10 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:10 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:10 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:10 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-23 13:53:43 -0500 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" RailsAdserver::Click Load (0.4ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (4.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (6.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.0ms) Completed 200 OK in 24ms (Views: 21.1ms | ActiveRecord: 0.9ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:43 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:43 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:43 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:43 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:43 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:43 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:43 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:43 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:43 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:43 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:43 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:43 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-23 13:53:46 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (17.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (18.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 36ms (Views: 33.1ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:46 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:46 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:46 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:46 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:46 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:46 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:46 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 13:53:46 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:46 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:46 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:46 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 13:53:46 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-23 14:02:12 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (1.9ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (20.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (22.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 102ms (Views: 97.8ms | ActiveRecord: 2.4ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 14:02:12 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 14:02:12 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 14:02:12 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 14:02:12 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 14:02:12 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 14:02:12 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 14:02:12 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 14:02:12 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 14:02:12 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 14:02:12 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 14:02:12 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 14:02:12 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started PUT "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-23 14:02:42 -0500 Processing by RailsAdserver::AdvertisementsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"NR5UOmBhFGM9Gqwhvum0Z/kdf9QpssoDCizdt3ey9pc=", "advertisement"=>{"title"=>"Test Ad", "adspace_id"=>"1", "ad_type"=>"image_link", "backup"=>"0", "ad_text"=>"", "width"=>"300", "height"=>"300", "url"=>"http://www.campusbazar.com", "max_clicks"=>"10", "parameter_restriction_boolean"=>"true", "param_restriction_name"=>"id", "param_restriction"=>"2", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"1"}, "commit"=>"Submit", "id"=>"1"} User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction  (0.4ms) UPDATE "rails_adserver_advertisements" SET "parameter_restriction_boolean" = 't', "updated_at" = '2012-03-23 19:02:42.993749' WHERE "rails_adserver_advertisements"."id" = 1  (1.4ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements/1 Completed 302 Found in 2054ms (ActiveRecord: 2.8ms) Started GET "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-23 14:02:45 -0500 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (1.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.6ms) Completed 200 OK in 21ms (Views: 16.6ms | ActiveRecord: 0.5ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 14:02:45 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 14:02:45 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (1ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 14:02:45 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 14:02:45 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 14:02:45 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 14:02:45 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 14:02:45 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 14:02:45 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 14:02:45 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 14:02:45 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 14:02:45 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 14:02:45 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-23 14:02:54 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (0.1ms) Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.7ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-23 14:03:04 -0500 Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (15.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (17.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 35ms (Views: 32.6ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:04 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:04 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:04 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:04 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:04 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:04 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:04 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:04 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:04 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:04 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:04 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:04 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-23 14:03:05 -0500 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (3.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (5.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 24ms (Views: 21.7ms | ActiveRecord: 0.8ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:05 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:05 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:05 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:05 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:05 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:05 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:05 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:05 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:05 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:05 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:05 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:05 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-23 14:03:07 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (11.5ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (27.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (29.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 47ms (Views: 33.1ms | ActiveRecord: 11.9ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:07 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:07 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:07 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:07 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:07 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:07 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:07 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:07 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:07 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:07 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:07 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:07 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started PUT "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-23 14:03:32 -0500 Processing by RailsAdserver::AdvertisementsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"NR5UOmBhFGM9Gqwhvum0Z/kdf9QpssoDCizdt3ey9pc=", "advertisement"=>{"title"=>"Test Ad", "adspace_id"=>"1", "ad_type"=>"image_link", "backup"=>"1", "ad_text"=>"", "width"=>"300", "height"=>"300", "url"=>"http://www.campusbazar.com", "max_clicks"=>"10", "parameter_restriction_boolean"=>"false", "param_restriction_name"=>"id", "param_restriction"=>"", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"1"}, "commit"=>"Submit", "id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction  (0.6ms) UPDATE "rails_adserver_advertisements" SET "backup" = 't', "parameter_restriction_boolean" = 'f', "param_restriction" = '', "updated_at" = '2012-03-23 19:03:32.826467' WHERE "rails_adserver_advertisements"."id" = 1  (3.4ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements/1 Completed 302 Found in 209ms (ActiveRecord: 4.7ms) Started GET "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-23 14:03:33 -0500 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (1.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 22ms (Views: 17.3ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:33 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:33 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:33 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:33 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:33 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 14:03:33 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:33 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:33 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:33 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:33 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:33 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 14:03:33 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-23 14:06:32 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (2.1ms) Completed 200 OK in 9ms (Views: 4.3ms | ActiveRecord: 0.8ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-23 14:06:47 -0500 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (3.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (5.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.0ms) Completed 200 OK in 24ms (Views: 20.9ms | ActiveRecord: 0.9ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 14:06:47 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 14:06:47 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 14:06:47 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 14:06:47 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 14:06:47 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 14:06:47 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 14:06:47 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 14:06:47 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 14:06:47 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 14:06:47 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 14:06:47 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 14:06:47 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-23 14:06:49 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (16.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (18.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 36ms (Views: 33.2ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 14:06:49 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 14:06:49 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 14:06:49 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 14:06:49 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 14:06:49 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 14:06:49 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 14:06:49 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 14:06:49 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 14:06:49 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 14:06:49 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 14:06:49 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 14:06:49 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started PUT "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-23 14:06:57 -0500 Processing by RailsAdserver::AdvertisementsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"NR5UOmBhFGM9Gqwhvum0Z/kdf9QpssoDCizdt3ey9pc=", "advertisement"=>{"title"=>"Test Ad", "adspace_id"=>"1", "ad_type"=>"image_link", "backup"=>"1", "ad_text"=>"", "width"=>"300", "height"=>"300", "url"=>"http://www.campusbazar.com", "max_clicks"=>"10", "parameter_restriction_boolean"=>"false", "param_restriction_name"=>"id", "param_restriction"=>"", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"1"}, "commit"=>"Submit", "id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements/1 Completed 302 Found in 249ms (ActiveRecord: 0.9ms) Started GET "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-23 14:06:57 -0500 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (1.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.5ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 14:06:57 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 14:06:57 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 14:06:57 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 14:06:57 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 14:06:57 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 14:06:57 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 14:06:57 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 14:06:57 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 14:06:57 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 14:06:57 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 14:06:57 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 14:06:57 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-23 14:07:12 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_param.html.haml (0.1ms) Completed 200 OK in 1017ms (Views: 3.6ms | ActiveRecord: 3.6ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-23 14:07:20 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_param.html.haml (2.0ms) Completed 200 OK in 7734ms (Views: 5.7ms | ActiveRecord: 3.7ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-23 15:32:52 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (32.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.5ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) RailsAdserver::Advertisement Load (33.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Click Load (0.6ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (54.6ms) RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (475.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (8.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (6.0ms) Completed 200 OK in 1178ms (Views: 820.8ms | ActiveRecord: 119.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-23 15:32:54 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (20ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-23 15:32:54 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-23 15:32:54 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-23 15:32:54 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-23 15:32:54 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-23 15:32:54 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (5ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 15:32:54 -0500 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 15:32:54 -0500 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-23 15:32:54 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-23 15:32:54 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-23 15:32:54 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-23 15:32:54 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (9ms) Started GET "/rails_adserver/show/1" for 127.0.0.1 at 2012-03-23 15:33:10 -0500 ActionController::RoutingError (No route matches [GET] "/rails_adserver/show/1"): actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.3ms) Started GET "/rails_adserver/space/1" for 127.0.0.1 at 2012-03-23 15:33:15 -0500 ActionController::RoutingError (No route matches [GET] "/rails_adserver/space/1"): actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-23 15:33:24 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.4ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (36.3ms) Completed 200 OK in 46ms (Views: 39.2ms | ActiveRecord: 1.1ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-23 15:35:06 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (4.4ms) Completed 200 OK in 11ms (Views: 6.5ms | ActiveRecord: 0.8ms)  (13.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateRailsAdserverAdvertisements (20120227014859) Migrating to CreateRailsAdserverClicks (20120227014945) Migrating to DeviseCreateUsers (20120227204751) Migrating to AddParamRestrictionToAdvertisement (20120228000410) Migrating to AddNameOfParamRestrictionToAdvertisement (20120228000647) Migrating to CreateRailsAdserverAdspaces (20120228010151) Migrating to AddNameToAdspace (20120228010315) Migrating to AddAdspaceIdToAdvertisement (20120228043946) Migrating to AddAdTypeToAdvertisement (20120305034458) Migrating to AddParameterRestrictionBooleanToAdvertisement (20120305040026) Migrating to AddMoreOptionsToAdvertisement (20120305044238) Migrating to AddImageToAdvertisement (20120305054319) Migrating to AddMaxClicksToAdvertisement (20120305195421) Migrating to AddIndexes (20120305203049) Migrating to ChangeIndexes (20120305212451) Migrating to AddClickCountToAdvertisement (20120305214753) Migrating to Geolocation (20120306023105) Migrating to AddGeolocationNamesToAdvertisements (20120306052705) Migrating to AddAdvertisementIndexes (20120306065447) Migrating to AddCanManageAdsToUsers (20120307204255) Migrating to AddBackupBooleanToAds (20120323174313) Migrating to AddViewCountToAds (20120328043354)  (0.2ms) select sqlite_version(*)  (0.1ms) begin transaction  (70.6ms) ALTER TABLE "rails_adserver_advertisements" ADD "view_count" integer  (2.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120328043354')  (70.5ms) commit transaction  (0.7ms) select sqlite_version(*)  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.1ms) PRAGMA index_list("rails_adserver_adspaces")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_country_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_state_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.0ms) PRAGMA index_list("rails_adserver_clicks")  (0.0ms) PRAGMA index_info('index_rails_adserver_clicks_on_advertisement_id')  (0.1ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.1ms) PRAGMA index_info('index_users_on_email')  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateRailsAdserverAdvertisements (20120227014859) Migrating to CreateRailsAdserverClicks (20120227014945) Migrating to DeviseCreateUsers (20120227204751) Migrating to AddParamRestrictionToAdvertisement (20120228000410) Migrating to AddNameOfParamRestrictionToAdvertisement (20120228000647) Migrating to CreateRailsAdserverAdspaces (20120228010151) Migrating to AddNameToAdspace (20120228010315) Migrating to AddAdspaceIdToAdvertisement (20120228043946) Migrating to AddAdTypeToAdvertisement (20120305034458) Migrating to AddParameterRestrictionBooleanToAdvertisement (20120305040026) Migrating to AddMoreOptionsToAdvertisement (20120305044238) Migrating to AddImageToAdvertisement (20120305054319) Migrating to AddMaxClicksToAdvertisement (20120305195421) Migrating to AddIndexes (20120305203049) Migrating to ChangeIndexes (20120305212451) Migrating to AddClickCountToAdvertisement (20120305214753) Migrating to Geolocation (20120306023105) Migrating to AddGeolocationNamesToAdvertisements (20120306052705) Migrating to AddAdvertisementIndexes (20120306065447) Migrating to AddCanManageAdsToUsers (20120307204255) Migrating to AddBackupBooleanToAds (20120323174313) Migrating to AddViewCountToAds (20120328043354) Migrating to AddViewsToAds (20120328043651)  (0.1ms) select sqlite_version(*)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "ads" ADD "views" integer SQLite3::SQLException: no such table: ads: ALTER TABLE "ads" ADD "views" integer  (0.1ms) rollback transaction Started GET "/" for 127.0.0.1 at 2012-03-27 23:37:31 -0500 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (1.6ms) Completed 200 OK in 224ms (Views: 222.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:37:32 -0500 Served asset /application.css - 200 OK (5ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:37:32 -0500 Served asset /application.js - 200 OK (10ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:37:32 -0500 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-27 23:37:32 -0500 Served asset /page.css - 200 OK (2ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-27 23:37:32 -0500 Served asset /page.js - 200 OK (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:37:32 -0500 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-27 23:37:32 -0500 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (12.8ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.7ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (21.7ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_param.html.haml (59.9ms) Completed 200 OK in 2437ms (Views: 72.8ms | ActiveRecord: 41.0ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-27 23:37:45 -0500 Processing by RailsAdserver::PagesController#home as HTML Redirected to http://localhost:3000/404.html Filter chain halted as :_authenticate rendered or redirected Completed 302 Found in 9ms (ActiveRecord: 0.0ms) Started GET "/sign_in" for 127.0.0.1 at 2012-03-27 23:37:51 -0500 ActionController::RoutingError (No route matches [GET] "/sign_in"): actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms) Started GET "/users/sign_in" for 127.0.0.1 at 2012-03-27 23:37:59 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/_links.erb (2.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/sessions/new.html.erb within layouts/application (40.7ms) Completed 200 OK in 100ms (Views: 77.7ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:38:00 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-27 23:38:00 -0500 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:38:00 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:38:00 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:38:00 -0500 Served asset /application.js - 200 OK (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-27 23:38:00 -0500 Served asset /page.js - 304 Not Modified (0ms) Started POST "/users/sign_in" for 127.0.0.1 at 2012-03-27 23:38:05 -0500 Processing by Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nSaI2m6OLJZIT6BOOFCTqlbcd/P4IhmHqxnyQy5XU4Y=", "user"=>{"email"=>"tmuntan1@slu.edu", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"} User Load (15.7ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'tmuntan1@slu.edu' LIMIT 1  (0.1ms) begin transaction  (0.7ms) UPDATE "users" SET "last_sign_in_at" = '2012-03-23 16:51:01.073790', "current_sign_in_at" = '2012-03-28 04:38:06.206272', "sign_in_count" = 4, "updated_at" = '2012-03-28 04:38:06.207648' WHERE "users"."id" = 1  (1.5ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 239ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2012-03-27 23:38:06 -0500 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (0.1ms) Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:38:06 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:38:06 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-27 23:38:06 -0500 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:38:06 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-27 23:38:06 -0500 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:38:06 -0500 Served asset /application.js - 200 OK (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-27 23:38:06 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_param.html.haml (1.6ms) Completed 200 OK in 597ms (Views: 3.6ms | ActiveRecord: 2.0ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-27 23:38:13 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.1ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.7ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Click Load (12.9ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (55.6ms) RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 2 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (87.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (6.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (6.3ms) Completed 200 OK in 417ms (Views: 399.9ms | ActiveRecord: 15.0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:38:13 -0500 Served asset /rails_adserver/application.css - 200 OK (12ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-27 23:38:13 -0500 Served asset /rails_adserver/bootstrap.css - 200 OK (3ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-27 23:38:13 -0500 Served asset /rails_adserver/pages.css - 200 OK (4ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-27 23:38:13 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 200 OK (3ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-27 23:38:13 -0500 Served asset /rails_adserver/adspaces.css - 200 OK (18ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-27 23:38:13 -0500 Served asset /rails_adserver/advertisements.css - 200 OK (4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:38:13 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:38:14 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-27 23:38:14 -0500 Served asset /rails_adserver/adspaces.js - 200 OK (2ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-27 23:38:14 -0500 Served asset /rails_adserver/rails_adserver_form.js - 200 OK (2ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-27 23:38:14 -0500 Served asset /rails_adserver/advertisements.js - 200 OK (4ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:38:14 -0500 Served asset /rails_adserver/application.js - 200 OK (14ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-27 23:39:01 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (32.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (36.3ms) Completed 500 Internal Server Error in 92ms ActionView::Template::Error (undefined method `max_views' for #): 57: .control-group 58: = f.label :max_views, :class => "control-label", :id => "clicks" 59: .controls 60: = f.number_field :max_views 61: %p.help-block Use 0 for infinite views. 62: .control-group 63: = f.label "Parameter Restriction?", :class => "control-label" activemodel (3.2.1) lib/active_model/attribute_methods.rb:407:in `method_missing' activerecord (3.2.1) lib/active_record/attribute_methods.rb:126:in `method_missing' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1154:in `value_before_type_cast' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1142:in `value_before_type_cast' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `block in to_input_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `fetch' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `to_input_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1049:in `to_number_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:938:in `number_field' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1277:in `number_field' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml:60:in `block in ___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements__form_html_haml__4213307355911323240_70220267907240' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `call' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `block (2 levels) in form_for_with_haml' haml (3.1.4) lib/haml/helpers.rb:255:in `with_tabs' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `block in form_for_with_haml' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' haml (3.1.4) lib/haml/helpers/xss_mods.rb:109:in `with_output_buffer_with_haml_xss' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:40:in `capture' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:105:in `capture_with_haml' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:606:in `fields_for' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:377:in `form_for' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:183:in `form_for_with_haml' haml (3.1.4) lib/haml/helpers/xss_mods.rb:132:in `form_for_with_haml_xss' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements__form_html_haml__4213307355911323240_70220267907240' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:257:in `render_partial' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:230:in `block in render' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:229:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:41:in `render_partial' actionpack (3.2.1) lib/action_view/helpers/rendering_helper.rb:27:in `render' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `block in render_with_haml' haml (3.1.4) lib/haml/helpers.rb:90:in `non_haml' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `render_with_haml' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements_edit_html_haml___3266026213123548145_70220267854260' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:41:in `block (2 levels) in render_template' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:40:in `block in render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:48:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:414:in `_run__975624826082828964__process_action__4332275665205675341__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__4409659928223660686__call__1023208615302713871__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (7.1ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (14.8ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-27 23:39:27 -0500 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (48.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (56.3ms) Completed 500 Internal Server Error in 266ms ActionView::Template::Error (undefined method `max_views' for #): 57: .control-group 58: = f.label :max_views, :class => "control-label", :id => "clicks" 59: .controls 60: = f.number_field :max_views 61: %p.help-block Use 0 for infinite views. 62: .control-group 63: = f.label "Parameter Restriction?", :class => "control-label" activemodel (3.2.1) lib/active_model/attribute_methods.rb:407:in `method_missing' activerecord (3.2.1) lib/active_record/attribute_methods.rb:126:in `method_missing' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1154:in `value_before_type_cast' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1142:in `value_before_type_cast' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `block in to_input_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `fetch' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `to_input_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1049:in `to_number_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:938:in `number_field' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1277:in `number_field' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml:60:in `block in ___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements__form_html_haml__1836110793308488822_70252753580440' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `call' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `block (2 levels) in form_for_with_haml' haml (3.1.4) lib/haml/helpers.rb:255:in `with_tabs' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `block in form_for_with_haml' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' haml (3.1.4) lib/haml/helpers/xss_mods.rb:109:in `with_output_buffer_with_haml_xss' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:40:in `capture' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:105:in `capture_with_haml' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:606:in `fields_for' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:377:in `form_for' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:183:in `form_for_with_haml' haml (3.1.4) lib/haml/helpers/xss_mods.rb:132:in `form_for_with_haml_xss' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements__form_html_haml__1836110793308488822_70252753580440' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:257:in `render_partial' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:230:in `block in render' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:229:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:41:in `render_partial' actionpack (3.2.1) lib/action_view/helpers/rendering_helper.rb:27:in `render' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `block in render_with_haml' haml (3.1.4) lib/haml/helpers.rb:90:in `non_haml' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `render_with_haml' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements_edit_html_haml___4193780801645901238_70252752989700' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:41:in `block (2 levels) in render_template' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:40:in `block in render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:48:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:414:in `_run__1464215507983692664__process_action__3326141088129703265__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__2811196198258555451__call__3486459085322745937__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.8ms)  (46.1ms) select sqlite_version(*)  (2.0ms) CREATE TABLE "rails_adserver_adspaces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "name" varchar(255))  (2.0ms) CREATE TABLE "rails_adserver_advertisements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "width" integer, "height" integer, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "param_restriction" varchar(255), "param_restriction_name" varchar(255), "adspace_id" integer, "ad_type" varchar(255), "parameter_restriction_boolean" boolean, "ad_text" text, "url" varchar(255), "geolocation_boolean" boolean, "image" varchar(255), "max_clicks" integer, "click_count" integer, "geolocation_location" varchar(255), "city_name" varchar(255), "state_name" varchar(255), "country_name" varchar(255), "backup" boolean, "view_count" integer)   (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (1.8ms) CREATE INDEX "index_rails_adserver_advertisements_on_adspace_id" ON "rails_adserver_advertisements" ("adspace_id")  (0.2ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (1.9ms) CREATE INDEX "index_rails_adserver_advertisements_on_city_name" ON "rails_adserver_advertisements" ("city_name")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (1.9ms) CREATE INDEX "index_rails_adserver_advertisements_on_country_name" ON "rails_adserver_advertisements" ("country_name")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_country_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (1.8ms) CREATE INDEX "index_rails_adserver_advertisements_on_param_restriction" ON "rails_adserver_advertisements" ("param_restriction")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.2ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_country_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (2.1ms) CREATE INDEX "index_rails_adserver_advertisements_on_state_name" ON "rails_adserver_advertisements" ("state_name")  (1.8ms) CREATE TABLE "rails_adserver_clicks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ip_address" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "advertisement_id" integer)  (0.1ms) PRAGMA index_list("rails_adserver_clicks")  (1.8ms) CREATE INDEX "index_rails_adserver_clicks_on_advertisement_id" ON "rails_adserver_clicks" ("advertisement_id")  (2.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "can_manage_ads" boolean)   (0.1ms) PRAGMA index_list("users")  (1.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (126.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) PRAGMA index_list("schema_migrations")  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (2.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120328043354')  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120227204751')  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120307204255')  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120227014859')  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120227014945')  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120228000410')  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120228000647')  (2.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120228010151')  (2.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120228010315')  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120228043946')  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120305034458')  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120305040026')  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120305044238')  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120305054319')  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20120305195421')  (2.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120305203049')  (2.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120305212451')  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120305214753')  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120306023105')  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120306052705')  (22.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120306065447')  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120323174313')  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateRailsAdserverAdvertisements (20120227014859) Migrating to CreateRailsAdserverClicks (20120227014945) Migrating to DeviseCreateUsers (20120227204751) Migrating to AddParamRestrictionToAdvertisement (20120228000410) Migrating to AddNameOfParamRestrictionToAdvertisement (20120228000647) Migrating to CreateRailsAdserverAdspaces (20120228010151) Migrating to AddNameToAdspace (20120228010315) Migrating to AddAdspaceIdToAdvertisement (20120228043946) Migrating to AddAdTypeToAdvertisement (20120305034458) Migrating to AddParameterRestrictionBooleanToAdvertisement (20120305040026) Migrating to AddMoreOptionsToAdvertisement (20120305044238) Migrating to AddImageToAdvertisement (20120305054319) Migrating to AddMaxClicksToAdvertisement (20120305195421) Migrating to AddIndexes (20120305203049) Migrating to ChangeIndexes (20120305212451) Migrating to AddClickCountToAdvertisement (20120305214753) Migrating to Geolocation (20120306023105) Migrating to AddGeolocationNamesToAdvertisements (20120306052705) Migrating to AddAdvertisementIndexes (20120306065447) Migrating to AddCanManageAdsToUsers (20120307204255) Migrating to AddBackupBooleanToAds (20120323174313) Migrating to AddViewCountToAds (20120328043354) Migrating to AddViewsToAds (20120328043651)  (0.1ms) select sqlite_version(*)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "rails_adserver_advertisements" ADD "view_count" integer SQLite3::SQLException: duplicate column name: view_count: ALTER TABLE "rails_adserver_advertisements" ADD "view_count" integer  (0.1ms) rollback transaction  (4.8ms) select sqlite_version(*)  (13.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.1ms) PRAGMA index_list("rails_adserver_adspaces")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.1ms) PRAGMA index_info('index_rails_adserver_advertisements_on_state_name')  (0.1ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_country_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.1ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.1ms) PRAGMA index_list("rails_adserver_clicks")  (0.1ms) PRAGMA index_info('index_rails_adserver_clicks_on_advertisement_id')  (0.1ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateRailsAdserverAdvertisements (20120227014859) Migrating to CreateRailsAdserverClicks (20120227014945) Migrating to DeviseCreateUsers (20120227204751) Migrating to AddParamRestrictionToAdvertisement (20120228000410) Migrating to AddNameOfParamRestrictionToAdvertisement (20120228000647) Migrating to CreateRailsAdserverAdspaces (20120228010151) Migrating to AddNameToAdspace (20120228010315) Migrating to AddAdspaceIdToAdvertisement (20120228043946) Migrating to AddAdTypeToAdvertisement (20120305034458) Migrating to AddParameterRestrictionBooleanToAdvertisement (20120305040026) Migrating to AddMoreOptionsToAdvertisement (20120305044238) Migrating to AddImageToAdvertisement (20120305054319) Migrating to AddMaxClicksToAdvertisement (20120305195421) Migrating to AddIndexes (20120305203049) Migrating to ChangeIndexes (20120305212451) Migrating to AddClickCountToAdvertisement (20120305214753) Migrating to Geolocation (20120306023105) Migrating to AddGeolocationNamesToAdvertisements (20120306052705) Migrating to AddAdvertisementIndexes (20120306065447) Migrating to AddCanManageAdsToUsers (20120307204255) Migrating to AddBackupBooleanToAds (20120323174313) Migrating to AddViewCountToAds (20120328043354) Migrating to AddViewsToAds (20120328043651)  (0.1ms) select sqlite_version(*)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "rails_adserver_advertisements" ADD "view_count" integer SQLite3::SQLException: duplicate column name: view_count: ALTER TABLE "rails_adserver_advertisements" ADD "view_count" integer  (0.1ms) rollback transaction  (2.5ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("rails_adserver_adspaces")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_state_name')  (0.1ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_country_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.1ms) PRAGMA index_list("rails_adserver_clicks")  (0.0ms) PRAGMA index_info('index_rails_adserver_clicks_on_advertisement_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateRailsAdserverAdvertisements (20120227014859) Migrating to CreateRailsAdserverClicks (20120227014945) Migrating to DeviseCreateUsers (20120227204751) Migrating to AddParamRestrictionToAdvertisement (20120228000410) Migrating to AddNameOfParamRestrictionToAdvertisement (20120228000647) Migrating to CreateRailsAdserverAdspaces (20120228010151) Migrating to AddNameToAdspace (20120228010315) Migrating to AddAdspaceIdToAdvertisement (20120228043946) Migrating to AddAdTypeToAdvertisement (20120305034458) Migrating to AddParameterRestrictionBooleanToAdvertisement (20120305040026) Migrating to AddMoreOptionsToAdvertisement (20120305044238) Migrating to AddImageToAdvertisement (20120305054319) Migrating to AddMaxClicksToAdvertisement (20120305195421) Migrating to AddIndexes (20120305203049) Migrating to ChangeIndexes (20120305212451) Migrating to AddClickCountToAdvertisement (20120305214753) Migrating to Geolocation (20120306023105) Migrating to AddGeolocationNamesToAdvertisements (20120306052705) Migrating to AddAdvertisementIndexes (20120306065447) Migrating to AddCanManageAdsToUsers (20120307204255) Migrating to AddBackupBooleanToAds (20120323174313) Migrating to AddViewCountToAds (20120328043354) Migrating to AddViewsToAds (20120328043651)  (0.1ms) select sqlite_version(*)  (0.1ms) begin transaction  (1.0ms) ALTER TABLE "rails_adserver_advertisements" ADD "impressions_count" integer  (31.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120328043651')  (8.2ms) commit transaction  (0.6ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("rails_adserver_adspaces")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.1ms) PRAGMA index_info('index_rails_adserver_advertisements_on_state_name')  (0.1ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_country_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.1ms) PRAGMA index_list("rails_adserver_clicks")  (0.1ms) PRAGMA index_info('index_rails_adserver_clicks_on_advertisement_id')  (0.1ms) PRAGMA index_list("users")  (0.1ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_email') Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-27 23:45:39 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Redirected to http://localhost:3000/404.html Filter chain halted as :_authenticate rendered or redirected Completed 302 Found in 16ms (ActiveRecord: 1.3ms) Started GET "/" for 127.0.0.1 at 2012-03-27 23:45:48 -0500 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (2.0ms) Completed 200 OK in 122ms (Views: 121.0ms | ActiveRecord: 0.0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-27 23:45:48 -0500 Served asset /page.css - 304 Not Modified (2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:45:48 -0500 Served asset /application.css - 200 OK (5ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:45:48 -0500 Served asset /jquery_ujs.js - 304 Not Modified (5ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:45:48 -0500 Served asset /application.js - 200 OK (7ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-27 23:45:48 -0500 Served asset /page.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:45:48 -0500 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-27 23:45:48 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 24ms ActiveRecord::RecordNotFound (Couldn't find RailsAdserver::Adspace with id=1): activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:340:in `find_one' activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:311:in `find_with_ids' activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:107:in `find' activerecord (3.2.1) lib/active_record/querying.rb:5:in `find' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:6:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__1464215507983692664__process_action__4084614682611775074__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__2811196198258555451__call__3486459085322745937__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (56.4ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (65.8ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-27 23:45:54 -0500 Processing by RailsAdserver::PagesController#home as HTML Redirected to http://localhost:3000/404.html Filter chain halted as :_authenticate rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (2.4ms) select sqlite_version(*)  (2.0ms) CREATE TABLE "rails_adserver_adspaces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "name" varchar(255))  (2.0ms) CREATE TABLE "rails_adserver_advertisements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "width" integer, "height" integer, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "param_restriction" varchar(255), "param_restriction_name" varchar(255), "adspace_id" integer, "ad_type" varchar(255), "parameter_restriction_boolean" boolean, "ad_text" text, "url" varchar(255), "geolocation_boolean" boolean, "image" varchar(255), "max_clicks" integer, "click_count" integer, "geolocation_location" varchar(255), "city_name" varchar(255), "state_name" varchar(255), "country_name" varchar(255), "backup" boolean, "view_count" integer, "impressions_count" integer)   (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (2.2ms) CREATE INDEX "index_rails_adserver_advertisements_on_adspace_id" ON "rails_adserver_advertisements" ("adspace_id")  (0.3ms) PRAGMA index_list("rails_adserver_advertisements")  (0.1ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (2.5ms) CREATE INDEX "index_rails_adserver_advertisements_on_city_name" ON "rails_adserver_advertisements" ("city_name")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (2.1ms) CREATE INDEX "index_rails_adserver_advertisements_on_country_name" ON "rails_adserver_advertisements" ("country_name")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_country_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (1.8ms) CREATE INDEX "index_rails_adserver_advertisements_on_param_restriction" ON "rails_adserver_advertisements" ("param_restriction")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_country_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (1.6ms) CREATE INDEX "index_rails_adserver_advertisements_on_state_name" ON "rails_adserver_advertisements" ("state_name")  (1.6ms) CREATE TABLE "rails_adserver_clicks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ip_address" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "advertisement_id" integer)  (0.0ms) PRAGMA index_list("rails_adserver_clicks")  (1.5ms) CREATE INDEX "index_rails_adserver_clicks_on_advertisement_id" ON "rails_adserver_clicks" ("advertisement_id")  (1.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "can_manage_ads" boolean)   (0.1ms) PRAGMA index_list("users")  (2.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) PRAGMA index_list("users")  (0.1ms) PRAGMA index_info('index_users_on_email')  (2.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.0ms) PRAGMA index_list("schema_migrations")  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120328043651')  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120227204751')  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20120307204255')  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120227014859')  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120227014945')  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120228000410')  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120228000647')  (2.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120228010151')  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120228010315')  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120228043946')  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120305034458')  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120305040026')  (2.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120305044238')  (4.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120305054319')  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20120305195421')  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20120305203049')  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20120305212451')  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120305214753')  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120306023105')  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120306052705')  (2.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120306065447')  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120323174313')  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20120328043354')  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Started GET "/users/sign_up" for 127.0.0.1 at 2012-03-27 23:46:48 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/_links.erb (2.4ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/registrations/new.html.erb within layouts/application (20.0ms) Completed 200 OK in 227ms (Views: 102.9ms | ActiveRecord: 3.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:46:49 -0500 Served asset /application.css - 200 OK (5ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:46:49 -0500 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-27 23:46:49 -0500 Served asset /page.css - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:46:49 -0500 Served asset /application.js - 200 OK (6ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-27 23:46:49 -0500 Served asset /page.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:46:49 -0500 Served asset /jquery.js - 304 Not Modified (3ms) Started POST "/users" for 127.0.0.1 at 2012-03-27 23:46:56 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nSaI2m6OLJZIT6BOOFCTqlbcd/P4IhmHqxnyQy5XU4Y=", "user"=>{"email"=>"tmuntan1@slu.edu", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) begin transaction User Exists (0.3ms) SELECT 1 FROM "users" WHERE "users"."email" = 'tmuntan1@slu.edu' LIMIT 1  (0.4ms) rollback transaction Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/_links.erb (0.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/registrations/new.html.erb within layouts/application (9.3ms) Completed 200 OK in 193ms (Views: 18.0ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:46:57 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:46:57 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-27 23:46:57 -0500 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:46:57 -0500 Served asset /application.js - 200 OK (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-27 23:46:57 -0500 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:46:57 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started POST "/users" for 127.0.0.1 at 2012-03-27 23:47:10 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nSaI2m6OLJZIT6BOOFCTqlbcd/P4IhmHqxnyQy5XU4Y=", "user"=>{"email"=>"tmuntan1@slu.edu", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'tmuntan1@slu.edu' LIMIT 1  (0.1ms) rollback transaction Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/_links.erb (0.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/registrations/new.html.erb within layouts/application (6.8ms) Completed 200 OK in 117ms (Views: 13.8ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:47:10 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:47:10 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:47:10 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:47:10 -0500 Served asset /application.js - 200 OK (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-27 23:47:10 -0500 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-27 23:47:10 -0500 Served asset /page.js - 304 Not Modified (0ms) Started POST "/users" for 127.0.0.1 at 2012-03-27 23:47:19 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nSaI2m6OLJZIT6BOOFCTqlbcd/P4IhmHqxnyQy5XU4Y=", "user"=>{"email"=>"tmuntan1@slu.edu", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 FROM "users" WHERE "users"."email" = 'tmuntan1@slu.edu' LIMIT 1  (0.1ms) rollback transaction Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/_links.erb (0.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/registrations/new.html.erb within layouts/application (7.5ms) Completed 200 OK in 117ms (Views: 14.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:47:19 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-27 23:47:19 -0500 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-27 23:47:19 -0500 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:47:19 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:47:19 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:47:19 -0500 Served asset /application.js - 200 OK (0ms) Started POST "/users" for 127.0.0.1 at 2012-03-27 23:47:27 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nSaI2m6OLJZIT6BOOFCTqlbcd/P4IhmHqxnyQy5XU4Y=", "user"=>{"email"=>"tmuntan1@slu.edu", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) begin transaction User Exists (0.4ms) SELECT 1 FROM "users" WHERE "users"."email" = 'tmuntan1@slu.edu' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (40.9ms) INSERT INTO "users" ("can_manage_ads", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["can_manage_ads", nil], ["created_at", Wed, 28 Mar 2012 04:47:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "tmuntan1@slu.edu"], ["encrypted_password", "$2a$10$tN6wOP4Or1.s8GeWBNuZ3.8vVxVdn3YebFur.9D0kmhXVWK.dVeca"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 28 Mar 2012 04:47:28 UTC +00:00]]  (2.8ms) commit transaction  (0.1ms) begin transaction  (0.5ms) UPDATE "users" SET "last_sign_in_at" = '2012-03-28 04:47:28.060540', "current_sign_in_at" = '2012-03-28 04:47:28.060540', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-03-28 04:47:28.061578' WHERE "users"."id" = 1  (2.0ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 160ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2012-03-27 23:47:28 -0500 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (1.4ms) Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:47:28 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-27 23:47:28 -0500 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:47:28 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-27 23:47:28 -0500 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:47:28 -0500 Served asset /application.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:47:28 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-27 23:47:28 -0500 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 9ms ActiveRecord::RecordNotFound (Couldn't find RailsAdserver::Adspace with id=1): activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:340:in `find_one' activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:311:in `find_with_ids' activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:107:in `find' activerecord (3.2.1) lib/active_record/querying.rb:5:in `find' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:6:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__50573062999138606__process_action__3402232339174340539__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__4505533557924791008__call__3552273433309079041__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.1ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (74.3ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-27 23:47:36 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Redirected to http://localhost:3000/404.html Filter chain halted as :_authenticate rendered or redirected Completed 302 Found in 129ms (ActiveRecord: 0.4ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-27 23:48:40 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (2.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (5.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (8.8ms) Completed 200 OK in 286ms (Views: 283.4ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:41 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (10ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:41 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (6ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:41 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:41 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:41 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:41 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:41 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:41 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:41 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:41 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:41 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:41 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (10ms) Started GET "/rails_adserver/adspaces/new" for 127.0.0.1 at 2012-03-27 23:48:43 -0500 Processing by RailsAdserver::AdspacesController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/_form.html.haml (7.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/new.html.haml within layouts/rails_adserver/application (10.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.0ms) Completed 200 OK in 49ms (Views: 40.0ms | ActiveRecord: 0.4ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:44 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:44 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:44 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:44 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:44 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:44 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:44 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:44 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:44 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:44 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:44 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:44 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started POST "/rails_adserver/adspaces" for 127.0.0.1 at 2012-03-27 23:48:47 -0500 Processing by RailsAdserver::AdspacesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nSaI2m6OLJZIT6BOOFCTqlbcd/P4IhmHqxnyQy5XU4Y=", "adspace"=>{"name"=>"Test Adspace"}, "commit"=>"Submit"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "rails_adserver_adspaces" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 28 Mar 2012 04:48:47 UTC +00:00], ["name", "Test Adspace"], ["updated_at", Wed, 28 Mar 2012 04:48:47 UTC +00:00]]  (1.5ms) commit transaction Redirected to http://localhost:3000/rails_adserver/adspaces Completed 302 Found in 14ms (ActiveRecord: 2.9ms) Started GET "/rails_adserver/adspaces" for 127.0.0.1 at 2012-03-27 23:48:47 -0500 Processing by RailsAdserver::AdspacesController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/index.html.haml within layouts/rails_adserver/application (5.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 43ms (Views: 39.0ms | ActiveRecord: 0.5ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:48 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:48 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:48 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:48 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:48 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:48 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:48 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:48 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:48 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:48 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:48 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:48 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-27 23:48:49 -0500 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (4.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (19.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 56ms (Views: 48.9ms | ActiveRecord: 1.2ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:49 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:49 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:50 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:50 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:50 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:50 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-27 23:48:50 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:50 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:50 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:50 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:50 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:48:50 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-27 23:48:51 -0500 Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (35.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (66.8ms) Completed 500 Internal Server Error in 202ms ActionView::Template::Error (undefined method `max_impressions' for #): 57: .control-group 58: = f.label "Max Impressions", :class => "control-label", :id => "clicks" 59: .controls 60: = f.number_field :max_impressions 61: %p.help-block Use 0 for infinite views. 62: .control-group 63: = f.label "Parameter Restriction?", :class => "control-label" activemodel (3.2.1) lib/active_model/attribute_methods.rb:407:in `method_missing' activerecord (3.2.1) lib/active_record/attribute_methods.rb:126:in `method_missing' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1154:in `value_before_type_cast' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1142:in `value_before_type_cast' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `block in to_input_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `fetch' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `to_input_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1049:in `to_number_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:938:in `number_field' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1277:in `number_field' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml:60:in `block in ___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements__form_html_haml__1425112953136714842_70331254398180' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `call' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `block (2 levels) in form_for_with_haml' haml (3.1.4) lib/haml/helpers.rb:255:in `with_tabs' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `block in form_for_with_haml' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' haml (3.1.4) lib/haml/helpers/xss_mods.rb:109:in `with_output_buffer_with_haml_xss' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:40:in `capture' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:105:in `capture_with_haml' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:606:in `fields_for' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:377:in `form_for' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:183:in `form_for_with_haml' haml (3.1.4) lib/haml/helpers/xss_mods.rb:132:in `form_for_with_haml_xss' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements__form_html_haml__1425112953136714842_70331254398180' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:257:in `render_partial' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:230:in `block in render' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:229:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:41:in `render_partial' actionpack (3.2.1) lib/action_view/helpers/rendering_helper.rb:27:in `render' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `block in render_with_haml' haml (3.1.4) lib/haml/helpers.rb:90:in `non_haml' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `render_with_haml' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements_new_html_haml__4440225452381617441_70331254233860' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:41:in `block (2 levels) in render_template' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:40:in `block in render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:48:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:268:in `block in retrieve_response_from_mimes' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `call' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:102:in `new' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:414:in `_run__50573062999138606__process_action__544815241208044282__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__4505533557924791008__call__3552273433309079041__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (9.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.3ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-27 23:49:26 -0500 Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (27.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (29.3ms) Completed 500 Internal Server Error in 35ms ActionView::Template::Error (undefined method `max_impressions' for #): 57: .control-group 58: = f.label "Max Impressions", :class => "control-label", :id => "clicks" 59: .controls 60: = f.number_field :max_impressions 61: %p.help-block Use 0 for infinite views. 62: .control-group 63: = f.label "Parameter Restriction?", :class => "control-label" activemodel (3.2.1) lib/active_model/attribute_methods.rb:407:in `method_missing' activerecord (3.2.1) lib/active_record/attribute_methods.rb:126:in `method_missing' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1154:in `value_before_type_cast' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1142:in `value_before_type_cast' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `block in to_input_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `fetch' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `to_input_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1049:in `to_number_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:938:in `number_field' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1277:in `number_field' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml:60:in `block in ___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements__form_html_haml__1425112953136714842_70331255445300' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `call' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `block (2 levels) in form_for_with_haml' haml (3.1.4) lib/haml/helpers.rb:255:in `with_tabs' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `block in form_for_with_haml' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' haml (3.1.4) lib/haml/helpers/xss_mods.rb:109:in `with_output_buffer_with_haml_xss' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:40:in `capture' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:105:in `capture_with_haml' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:606:in `fields_for' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:377:in `form_for' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:183:in `form_for_with_haml' haml (3.1.4) lib/haml/helpers/xss_mods.rb:132:in `form_for_with_haml_xss' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements__form_html_haml__1425112953136714842_70331255445300' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:257:in `render_partial' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:230:in `block in render' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:229:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:41:in `render_partial' actionpack (3.2.1) lib/action_view/helpers/rendering_helper.rb:27:in `render' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `block in render_with_haml' haml (3.1.4) lib/haml/helpers.rb:90:in `non_haml' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `render_with_haml' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements_new_html_haml__4440225452381617441_70331254233860' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:41:in `block (2 levels) in render_template' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:40:in `block in render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:48:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:268:in `block in retrieve_response_from_mimes' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `call' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:102:in `new' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:414:in `_run__50573062999138606__process_action__544815241208044282__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__4505533557924791008__call__3552273433309079041__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (7.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (61.6ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (74.5ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-27 23:49:27 -0500 Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (15.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (17.4ms) Completed 500 Internal Server Error in 24ms ActionView::Template::Error (undefined method `max_impressions' for #): 57: .control-group 58: = f.label "Max Impressions", :class => "control-label", :id => "clicks" 59: .controls 60: = f.number_field :max_impressions 61: %p.help-block Use 0 for infinite views. 62: .control-group 63: = f.label "Parameter Restriction?", :class => "control-label" activemodel (3.2.1) lib/active_model/attribute_methods.rb:407:in `method_missing' activerecord (3.2.1) lib/active_record/attribute_methods.rb:126:in `method_missing' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1154:in `value_before_type_cast' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1142:in `value_before_type_cast' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `block in to_input_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `fetch' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `to_input_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1049:in `to_number_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:938:in `number_field' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1277:in `number_field' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml:60:in `block in ___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements__form_html_haml__1425112953136714842_70331255445300' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `call' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `block (2 levels) in form_for_with_haml' haml (3.1.4) lib/haml/helpers.rb:255:in `with_tabs' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `block in form_for_with_haml' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' haml (3.1.4) lib/haml/helpers/xss_mods.rb:109:in `with_output_buffer_with_haml_xss' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:40:in `capture' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:105:in `capture_with_haml' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:606:in `fields_for' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:377:in `form_for' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:183:in `form_for_with_haml' haml (3.1.4) lib/haml/helpers/xss_mods.rb:132:in `form_for_with_haml_xss' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements__form_html_haml__1425112953136714842_70331255445300' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:257:in `render_partial' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:230:in `block in render' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:229:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:41:in `render_partial' actionpack (3.2.1) lib/action_view/helpers/rendering_helper.rb:27:in `render' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `block in render_with_haml' haml (3.1.4) lib/haml/helpers.rb:90:in `non_haml' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `render_with_haml' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements_new_html_haml__4440225452381617441_70331254233860' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:41:in `block (2 levels) in render_template' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:40:in `block in render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:48:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:268:in `block in retrieve_response_from_mimes' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `call' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:102:in `new' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:414:in `_run__50573062999138606__process_action__544815241208044282__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__4505533557924791008__call__3552273433309079041__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.9ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-27 23:49:55 -0500 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (67.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (75.0ms) Completed 500 Internal Server Error in 300ms ActionView::Template::Error (undefined method `max_impressions' for #): 57: .control-group 58: = f.label "Max Impressions", :class => "control-label", :id => "clicks" 59: .controls 60: = f.number_field :max_impressions 61: %p.help-block Use 0 for infinite views. 62: .control-group 63: = f.label "Parameter Restriction?", :class => "control-label" activemodel (3.2.1) lib/active_model/attribute_methods.rb:407:in `method_missing' activerecord (3.2.1) lib/active_record/attribute_methods.rb:126:in `method_missing' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1154:in `value_before_type_cast' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1142:in `value_before_type_cast' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `block in to_input_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `fetch' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `to_input_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1049:in `to_number_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:938:in `number_field' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1277:in `number_field' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml:60:in `block in ___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements__form_html_haml___4156776514493936790_70147837228840' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `call' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `block (2 levels) in form_for_with_haml' haml (3.1.4) lib/haml/helpers.rb:255:in `with_tabs' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `block in form_for_with_haml' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' haml (3.1.4) lib/haml/helpers/xss_mods.rb:109:in `with_output_buffer_with_haml_xss' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:40:in `capture' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:105:in `capture_with_haml' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:606:in `fields_for' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:377:in `form_for' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:183:in `form_for_with_haml' haml (3.1.4) lib/haml/helpers/xss_mods.rb:132:in `form_for_with_haml_xss' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements__form_html_haml___4156776514493936790_70147837228840' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:257:in `render_partial' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:230:in `block in render' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:229:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:41:in `render_partial' actionpack (3.2.1) lib/action_view/helpers/rendering_helper.rb:27:in `render' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `block in render_with_haml' haml (3.1.4) lib/haml/helpers.rb:90:in `non_haml' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `render_with_haml' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements_new_html_haml__2958167580613643295_70147830923360' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:41:in `block (2 levels) in render_template' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:40:in `block in render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:48:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:268:in `block in retrieve_response_from_mimes' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `call' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:102:in `new' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:414:in `_run__2145322819113279092__process_action__155936892530489547__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3161930631462505029__call__19146483420150374__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.1ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-27 23:50:10 -0500 Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (35.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (36.8ms) Completed 500 Internal Server Error in 48ms ActionView::Template::Error (undefined method `max_impressions' for #): 57: .control-group 58: = f.label "Max Impressions", :class => "control-label" 59: .controls 60: = f.number_field :max_impressions 61: %p.help-block Use 0 for infinite views. 62: .control-group 63: = f.label "Parameter Restriction?", :class => "control-label" activemodel (3.2.1) lib/active_model/attribute_methods.rb:407:in `method_missing' activerecord (3.2.1) lib/active_record/attribute_methods.rb:126:in `method_missing' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1154:in `value_before_type_cast' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1142:in `value_before_type_cast' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `block in to_input_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `fetch' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1036:in `to_input_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1049:in `to_number_field_tag' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:938:in `number_field' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:1277:in `number_field' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml:60:in `block in ___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements__form_html_haml___4156776514493936790_70147848946880' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `call' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `block (2 levels) in form_for_with_haml' haml (3.1.4) lib/haml/helpers.rb:255:in `with_tabs' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:181:in `block in form_for_with_haml' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:40:in `block in capture' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer' haml (3.1.4) lib/haml/helpers/xss_mods.rb:109:in `with_output_buffer_with_haml_xss' actionpack (3.2.1) lib/action_view/helpers/capture_helper.rb:40:in `capture' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:105:in `capture_with_haml' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:606:in `fields_for' actionpack (3.2.1) lib/action_view/helpers/form_helper.rb:377:in `form_for' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:183:in `form_for_with_haml' haml (3.1.4) lib/haml/helpers/xss_mods.rb:132:in `form_for_with_haml_xss' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements__form_html_haml___4156776514493936790_70147848946880' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:257:in `render_partial' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:230:in `block in render' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/partial_renderer.rb:229:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:41:in `render_partial' actionpack (3.2.1) lib/action_view/helpers/rendering_helper.rb:27:in `render' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `block in render_with_haml' haml (3.1.4) lib/haml/helpers.rb:90:in `non_haml' haml (3.1.4) lib/haml/helpers/action_view_mods.rb:11:in `render_with_haml' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml:1:in `___sers_thomasmuntaner__esktop__rojects__ebsites_adserver_app_views_rails_adserver_advertisements_new_html_haml__2958167580613643295_70147830923360' actionpack (3.2.1) lib/action_view/template.rb:143:in `block in render' activesupport (3.2.1) lib/active_support/notifications.rb:125:in `instrument' actionpack (3.2.1) lib/action_view/template.rb:141:in `render' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:41:in `block (2 levels) in render_template' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:40:in `block in render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:48:in `render_with_layout' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:39:in `render_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:12:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:268:in `block in retrieve_response_from_mimes' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `call' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:102:in `new' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:414:in `_run__2145322819113279092__process_action__155936892530489547__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3161930631462505029__call__19146483420150374__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (7.1ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (13.1ms)  (0.2ms) select sqlite_version(*)  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateRailsAdserverAdvertisements (20120227014859)  (0.1ms) begin transaction  (1.0ms) CREATE TABLE "rails_adserver_advertisements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "width" integer, "height" integer, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120227014859')  (1.7ms) commit transaction Migrating to CreateRailsAdserverClicks (20120227014945)  (0.0ms) begin transaction  (0.6ms) CREATE TABLE "rails_adserver_clicks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ip_address" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120227014945')  (2.7ms) commit transaction Migrating to DeviseCreateUsers (20120227204751)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) PRAGMA index_list("users")  (33.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (0.1ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_email')  (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120227204751')  (1.9ms) commit transaction Migrating to AddParamRestrictionToAdvertisement (20120228000410)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "rails_adserver_advertisements" ADD "param_restriction" varchar(255)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120228000410')  (2.0ms) commit transaction Migrating to AddNameOfParamRestrictionToAdvertisement (20120228000647)  (0.1ms) begin transaction  (1.4ms) ALTER TABLE "rails_adserver_advertisements" ADD "param_restriction_name" varchar(255)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120228000647')  (1.4ms) commit transaction Migrating to CreateRailsAdserverAdspaces (20120228010151)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "rails_adserver_adspaces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120228010151')  (2.1ms) commit transaction Migrating to AddNameToAdspace (20120228010315)  (0.0ms) begin transaction  (1.3ms) ALTER TABLE "rails_adserver_adspaces" ADD "name" varchar(255)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120228010315')  (1.3ms) commit transaction Migrating to AddAdspaceIdToAdvertisement (20120228043946)  (0.0ms) begin transaction  (0.5ms) ALTER TABLE "rails_adserver_advertisements" ADD "adspace_id" integer  (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (0.2ms) CREATE INDEX "index_rails_adserver_advertisements_on_adspace_id" ON "rails_adserver_advertisements" ("adspace_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120228043946')  (1.9ms) commit transaction Migrating to AddAdTypeToAdvertisement (20120305034458)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "rails_adserver_advertisements" ADD "ad_type" varchar(255)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305034458')  (1.6ms) commit transaction Migrating to AddParameterRestrictionBooleanToAdvertisement (20120305040026)  (0.0ms) begin transaction  (0.6ms) ALTER TABLE "rails_adserver_advertisements" ADD "parameter_restriction_boolean" boolean  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305040026')  (1.7ms) commit transaction Migrating to AddMoreOptionsToAdvertisement (20120305044238)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "rails_adserver_advertisements" ADD "ad_text" text  (0.2ms) ALTER TABLE "rails_adserver_advertisements" ADD "url" varchar(255)  (0.2ms) ALTER TABLE "rails_adserver_advertisements" ADD "geolocation_boolean" boolean  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305044238')  (2.6ms) commit transaction Migrating to AddImageToAdvertisement (20120305054319)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "rails_adserver_advertisements" ADD "image" varchar(255)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305054319')  (1.7ms) commit transaction Migrating to AddMaxClicksToAdvertisement (20120305195421)  (0.0ms) begin transaction  (0.5ms) ALTER TABLE "rails_adserver_advertisements" ADD "max_clicks" integer  (0.2ms) ALTER TABLE "rails_adserver_advertisements" ADD "clicks" integer  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305195421')  (3.3ms) commit transaction Migrating to AddIndexes (20120305203049)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "rails_adserver_clicks" ADD "rails_adserver_advertisement_id" integer  (0.1ms) PRAGMA index_list("rails_adserver_clicks")  (0.2ms) CREATE INDEX "rails_adserver_clicks_ad_id_index" ON "rails_adserver_clicks" ("rails_adserver_advertisement_id")  (0.2ms) ALTER TABLE "rails_adserver_advertisements" ADD "rails_adserver_adspace_id" integer  (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.1ms) CREATE INDEX "rails_adserver_clicks_adspace_id_index" ON "rails_adserver_advertisements" ("rails_adserver_adspace_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305203049')  (2.1ms) commit transaction Migrating to ChangeIndexes (20120305212451)  (0.0ms) begin transaction  (0.1ms) PRAGMA index_list("rails_adserver_clicks")  (0.0ms) PRAGMA index_info('rails_adserver_clicks_ad_id_index')  (69.0ms) DROP INDEX "rails_adserver_clicks_ad_id_index"  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.1ms) PRAGMA index_info('rails_adserver_clicks_adspace_id_index')  (0.1ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.7ms) DROP INDEX "rails_adserver_clicks_adspace_id_index"  (0.9ms) CREATE TEMPORARY TABLE "altered_rails_adserver_clicks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ip_address" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "rails_adserver_advertisement_id" integer)  (0.0ms) PRAGMA index_list("rails_adserver_clicks")  (0.1ms) SELECT * FROM "rails_adserver_clicks"  (0.3ms) DROP TABLE "rails_adserver_clicks"  (0.2ms) CREATE TABLE "rails_adserver_clicks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ip_address" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) PRAGMA index_list("altered_rails_adserver_clicks")  (0.1ms) SELECT * FROM "altered_rails_adserver_clicks"  (0.5ms) DROP TABLE "altered_rails_adserver_clicks"  (0.4ms) CREATE TEMPORARY TABLE "altered_rails_adserver_advertisements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "width" integer, "height" integer, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "param_restriction" varchar(255), "param_restriction_name" varchar(255), "adspace_id" integer, "ad_type" varchar(255), "parameter_restriction_boolean" boolean, "ad_text" text, "url" varchar(255), "geolocation_boolean" boolean, "image" varchar(255), "max_clicks" integer, "clicks" integer, "rails_adserver_adspace_id" integer)  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.1ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.0ms) PRAGMA index_list("altered_rails_adserver_advertisements")  (0.2ms) CREATE INDEX "temp_index_altered_rails_adserver_advertisements_on_adspace_id" ON "altered_rails_adserver_advertisements" ("adspace_id")  (0.1ms) SELECT * FROM "rails_adserver_advertisements"  (0.3ms) DROP TABLE "rails_adserver_advertisements"  (0.2ms) CREATE TABLE "rails_adserver_advertisements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "width" integer, "height" integer, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "param_restriction" varchar(255), "param_restriction_name" varchar(255), "adspace_id" integer, "ad_type" varchar(255), "parameter_restriction_boolean" boolean, "ad_text" text, "url" varchar(255), "geolocation_boolean" boolean, "image" varchar(255), "max_clicks" integer, "clicks" integer)   (0.0ms) PRAGMA index_list("altered_rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('temp_index_altered_rails_adserver_advertisements_on_adspace_id')  (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (0.2ms) CREATE INDEX "index_rails_adserver_advertisements_on_adspace_id" ON "rails_adserver_advertisements" ("adspace_id")  (0.1ms) SELECT * FROM "altered_rails_adserver_advertisements"  (0.2ms) DROP TABLE "altered_rails_adserver_advertisements"  (0.2ms) ALTER TABLE "rails_adserver_clicks" ADD "advertisement_id" integer  (0.0ms) PRAGMA index_list("rails_adserver_clicks")  (0.2ms) CREATE INDEX "index_rails_adserver_clicks_on_advertisement_id" ON "rails_adserver_clicks" ("advertisement_id")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305212451')  (3.1ms) commit transaction Migrating to AddClickCountToAdvertisement (20120305214753)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "rails_adserver_advertisements" ADD "click_count" integer  (0.4ms) CREATE TEMPORARY TABLE "altered_rails_adserver_advertisements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "width" integer, "height" integer, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "param_restriction" varchar(255), "param_restriction_name" varchar(255), "adspace_id" integer, "ad_type" varchar(255), "parameter_restriction_boolean" boolean, "ad_text" text, "url" varchar(255), "geolocation_boolean" boolean, "image" varchar(255), "max_clicks" integer, "clicks" integer, "click_count" integer)   (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.0ms) PRAGMA index_list("altered_rails_adserver_advertisements")  (0.2ms) CREATE INDEX "temp_index_altered_rails_adserver_advertisements_on_adspace_id" ON "altered_rails_adserver_advertisements" ("adspace_id")  (0.1ms) SELECT * FROM "rails_adserver_advertisements"  (0.6ms) DROP TABLE "rails_adserver_advertisements"  (0.3ms) CREATE TABLE "rails_adserver_advertisements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "width" integer, "height" integer, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "param_restriction" varchar(255), "param_restriction_name" varchar(255), "adspace_id" integer, "ad_type" varchar(255), "parameter_restriction_boolean" boolean, "ad_text" text, "url" varchar(255), "geolocation_boolean" boolean, "image" varchar(255), "max_clicks" integer, "click_count" integer)  (0.0ms) PRAGMA index_list("altered_rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('temp_index_altered_rails_adserver_advertisements_on_adspace_id')  (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (0.2ms) CREATE INDEX "index_rails_adserver_advertisements_on_adspace_id" ON "rails_adserver_advertisements" ("adspace_id")  (0.1ms) SELECT * FROM "altered_rails_adserver_advertisements"  (0.2ms) DROP TABLE "altered_rails_adserver_advertisements"  (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120305214753')  (2.7ms) commit transaction Migrating to Geolocation (20120306023105)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "rails_adserver_advertisements" ADD "geolocation_location" varchar(255)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120306023105')  (1.1ms) commit transaction Migrating to AddGeolocationNamesToAdvertisements (20120306052705)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "rails_adserver_advertisements" ADD "city_name" varchar(255)  (0.3ms) ALTER TABLE "rails_adserver_advertisements" ADD "state_name" varchar(255)  (0.2ms) ALTER TABLE "rails_adserver_advertisements" ADD "country_name" varchar(255)  (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120306052705')  (3.0ms) commit transaction Migrating to AddAdvertisementIndexes (20120306065447)  (0.1ms) begin transaction  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.1ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.6ms) CREATE INDEX "index_rails_adserver_advertisements_on_param_restriction" ON "rails_adserver_advertisements" ("param_restriction")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.2ms) CREATE INDEX "index_rails_adserver_advertisements_on_city_name" ON "rails_adserver_advertisements" ("city_name")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.2ms) CREATE INDEX "index_rails_adserver_advertisements_on_state_name" ON "rails_adserver_advertisements" ("state_name")  (0.0ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_state_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.2ms) CREATE INDEX "index_rails_adserver_advertisements_on_country_name" ON "rails_adserver_advertisements" ("country_name")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120306065447')  (3.3ms) commit transaction Migrating to AddCanManageAdsToUsers (20120307204255)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "users" ADD "can_manage_ads" boolean  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120307204255')  (2.2ms) commit transaction Migrating to AddBackupBooleanToAds (20120323174313)  (0.1ms) begin transaction  (0.8ms) ALTER TABLE "rails_adserver_advertisements" ADD "backup" boolean  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120323174313')  (1.2ms) commit transaction Migrating to AddViewCountToAds (20120328043354)  (0.1ms) begin transaction  (1.2ms) ALTER TABLE "rails_adserver_advertisements" ADD "max_impressions" integer  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120328043354')  (1.5ms) commit transaction Migrating to AddViewsToAds (20120328043651)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "rails_adserver_advertisements" ADD "impressions_count" integer  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120328043651')  (1.7ms) commit transaction  (0.6ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("rails_adserver_adspaces")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_country_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_state_name')  (0.1ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.0ms) PRAGMA index_list("rails_adserver_clicks")  (0.0ms) PRAGMA index_info('index_rails_adserver_clicks_on_advertisement_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_email') Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-27 23:52:06 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Redirected to http://localhost:3000/404.html Filter chain halted as :_authenticate rendered or redirected Completed 302 Found in 88ms (ActiveRecord: 4.2ms) Started GET "/" for 127.0.0.1 at 2012-03-27 23:52:09 -0500 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (1.6ms) Completed 200 OK in 88ms (Views: 87.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:52:09 -0500 Served asset /application.css - 200 OK (8ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:52:09 -0500 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-27 23:52:09 -0500 Served asset /page.css - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:52:09 -0500 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-27 23:52:09 -0500 Served asset /page.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:52:09 -0500 Served asset /application.js - 200 OK (6ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-27 23:52:10 -0500 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 9ms ActiveRecord::RecordNotFound (Couldn't find RailsAdserver::Adspace with id=1): activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:340:in `find_one' activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:311:in `find_with_ids' activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:107:in `find' activerecord (3.2.1) lib/active_record/querying.rb:5:in `find' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:6:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__98141309022879039__process_action__2214792325053684844__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__4600133097822373211__call__1821921124116469128__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.9ms) Started GET "/users/sign_in" for 127.0.0.1 at 2012-03-27 23:52:14 -0500 Processing by Devise::SessionsController#new as HTML Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/_links.erb (2.4ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/sessions/new.html.erb within layouts/application (15.6ms) Completed 200 OK in 75ms (Views: 51.8ms | ActiveRecord: 0.0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-27 23:52:14 -0500 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:52:14 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:52:14 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:52:14 -0500 Served asset /application.js - 200 OK (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-27 23:52:14 -0500 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:52:14 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/users/sign_up" for 127.0.0.1 at 2012-03-27 23:52:16 -0500 Processing by Devise::RegistrationsController#new as HTML Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/_links.erb (1.4ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views/devise/registrations/new.html.erb within layouts/application (8.6ms) Completed 200 OK in 21ms (Views: 19.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:52:16 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:52:16 -0500 Served asset /application.js - 200 OK (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-27 23:52:17 -0500 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:52:17 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-27 23:52:17 -0500 Served asset /page.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:52:17 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started POST "/users" for 127.0.0.1 at 2012-03-27 23:52:24 -0500 Processing by Devise::RegistrationsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nSaI2m6OLJZIT6BOOFCTqlbcd/P4IhmHqxnyQy5XU4Y=", "user"=>{"email"=>"tmuntan1@slu.edu", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}  (0.1ms) begin transaction User Exists (0.3ms) SELECT 1 FROM "users" WHERE "users"."email" = 'tmuntan1@slu.edu' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (2.2ms) INSERT INTO "users" ("can_manage_ads", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["can_manage_ads", nil], ["created_at", Wed, 28 Mar 2012 04:52:24 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "tmuntan1@slu.edu"], ["encrypted_password", "$2a$10$NgsOLC9u/ZvgCDbQAMLNhu3Qd4Ugksbo.B.W7R0qGI7aPVnpxEUMu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 28 Mar 2012 04:52:24 UTC +00:00]]  (1.7ms) commit transaction  (0.1ms) begin transaction  (0.6ms) UPDATE "users" SET "last_sign_in_at" = '2012-03-28 04:52:24.322934', "current_sign_in_at" = '2012-03-28 04:52:24.322934', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2012-03-28 04:52:24.324320' WHERE "users"."id" = 1  (1.6ms) commit transaction Redirected to http://localhost:3000/ Completed 302 Found in 178ms (ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2012-03-27 23:52:24 -0500 Processing by PageController#home as HTML Rendered page/home.html.haml within layouts/application (0.2ms) Completed 200 OK in 66ms (Views: 65.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:52:24 -0500 Served asset /application.css - 200 OK (0ms) Started GET "/assets/page.css?body=1" for 127.0.0.1 at 2012-03-27 23:52:24 -0500 Served asset /page.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:52:24 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:52:24 -0500 Served asset /application.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:52:24 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/page.js?body=1" for 127.0.0.1 at 2012-03-27 23:52:24 -0500 Served asset /page.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-27 23:52:24 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 2ms ActiveRecord::RecordNotFound (Couldn't find RailsAdserver::Adspace with id=1): activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:340:in `find_one' activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:311:in `find_with_ids' activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:107:in `find' activerecord (3.2.1) lib/active_record/querying.rb:5:in `find' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:6:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__98141309022879039__process_action__2214792325053684844__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__4600133097822373211__call__1821921124116469128__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.5ms)  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to DeviseCreateUsers (20120227204751) Migrating to AddCanManageAdsToUsers (20120307204255)  (0.5ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("rails_adserver_adspaces")  (0.1ms) PRAGMA index_list("rails_adserver_advertisements")  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_country_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_state_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_city_name')  (0.0ms) PRAGMA index_info('index_rails_adserver_advertisements_on_param_restriction')  (0.1ms) PRAGMA index_info('index_rails_adserver_advertisements_on_adspace_id')  (0.0ms) PRAGMA index_list("rails_adserver_clicks")  (0.0ms) PRAGMA index_info('index_rails_adserver_clicks_on_advertisement_id')  (0.0ms) PRAGMA index_list("users")  (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')  (0.0ms) PRAGMA index_info('index_users_on_email') Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-27 23:55:08 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.1ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (3.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (7.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (10.3ms) Completed 200 OK in 416ms (Views: 358.1ms | ActiveRecord: 1.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:09 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (21ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:09 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:09 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:09 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:09 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:09 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:09 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:09 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:09 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:09 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:09 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (11ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:09 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (2ms) Started GET "/rails_adserver/adspaces/new" for 127.0.0.1 at 2012-03-27 23:55:12 -0500 Processing by RailsAdserver::AdspacesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/_form.html.haml (8.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/new.html.haml within layouts/rails_adserver/application (12.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 117ms (Views: 107.0ms | ActiveRecord: 0.3ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:12 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:12 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:12 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:12 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:12 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:12 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:12 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:12 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:12 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:12 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:12 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:12 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started POST "/rails_adserver/adspaces" for 127.0.0.1 at 2012-03-27 23:55:17 -0500 Processing by RailsAdserver::AdspacesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nSaI2m6OLJZIT6BOOFCTqlbcd/P4IhmHqxnyQy5XU4Y=", "adspace"=>{"name"=>"Test Adspace"}, "commit"=>"Submit"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "rails_adserver_adspaces" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 28 Mar 2012 04:55:17 UTC +00:00], ["name", "Test Adspace"], ["updated_at", Wed, 28 Mar 2012 04:55:17 UTC +00:00]]  (2.0ms) commit transaction Redirected to http://localhost:3000/rails_adserver/adspaces Completed 302 Found in 12ms (ActiveRecord: 3.3ms) Started GET "/rails_adserver/adspaces" for 127.0.0.1 at 2012-03-27 23:55:17 -0500 Processing by RailsAdserver::AdspacesController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/adspaces/index.html.haml within layouts/rails_adserver/application (5.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 46ms (Views: 41.8ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:17 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:17 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:17 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:17 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:17 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:17 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:17 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:17 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:17 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:17 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:18 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:18 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-27 23:55:20 -0500 Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (37.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (66.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 202ms (Views: 101.4ms | ActiveRecord: 1.1ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:20 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:20 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:20 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:20 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:20 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-27 23:55:20 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:20 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:20 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:20 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:20 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:20 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:55:21 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-27 23:56:05 -0500 Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (33.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (35.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 120ms (Views: 117.6ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-27 23:56:05 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-27 23:56:05 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-27 23:56:05 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-27 23:56:05 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-27 23:56:05 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-27 23:56:05 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-27 23:56:05 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-27 23:56:05 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-27 23:56:05 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-27 23:56:06 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-27 23:56:06 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-27 23:56:06 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 00:04:33 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.4ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_param.html.haml (4.0ms) Completed 200 OK in 2974ms (Views: 39.2ms | ActiveRecord: 4.2ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 00:04:50 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_param.html.haml (0.1ms) Completed 200 OK in 1003ms (Views: 3.5ms | ActiveRecord: 3.5ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-28 00:04:58 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (1.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 114ms (Views: 17.6ms | ActiveRecord: 1.5ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:04:58 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:04:58 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:04:58 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:04:58 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:04:58 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:04:58 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:04:58 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:04:58 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:04:58 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:04:58 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:04:58 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:04:58 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/new" for 127.0.0.1 at 2012-03-28 00:05:00 -0500 Processing by RailsAdserver::AdvertisementsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (83.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/new.html.haml within layouts/rails_adserver/application (86.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 138ms (Views: 103.2ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:05:00 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:05:00 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:05:00 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:05:00 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:05:00 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:05:00 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:05:00 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:05:00 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:05:00 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:05:00 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:05:00 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:05:00 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started POST "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-28 00:05:57 -0500 Processing by RailsAdserver::AdvertisementsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nSaI2m6OLJZIT6BOOFCTqlbcd/P4IhmHqxnyQy5XU4Y=", "advertisement"=>{"title"=>"Test Ad", "adspace_id"=>"1", "ad_type"=>"image_link", "backup"=>"0", "ad_text"=>"", "image"=>#>, "width"=>"300", "height"=>"300", "url"=>"http://www.campusbazar.com", "max_clicks"=>"0", "max_impressions"=>"0", "parameter_restriction_boolean"=>"false", "param_restriction_name"=>"id", "param_restriction"=>"", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"1"}, "commit"=>"Submit"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Completed 500 Internal Server Error in 3ms ActiveModel::MassAssignmentSecurity::Error (Can't mass-assign protected attributes: max_impressions): activemodel (3.2.1) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes' activemodel (3.2.1) lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal' activemodel (3.2.1) lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize' activemodel (3.2.1) lib/active_model/mass_assignment_security.rb:228:in `sanitize_for_mass_assignment' activerecord (3.2.1) lib/active_record/attribute_assignment.rb:75:in `assign_attributes' activerecord (3.2.1) lib/active_record/base.rb:495:in `initialize' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:132:in `new' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:132:in `create' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:414:in `_run__98141309022879039__process_action__2777808476551122931__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:35:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__4600133097822373211__call__1821921124116469128__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.3ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.8ms) Started POST "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-28 00:07:04 -0500 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nSaI2m6OLJZIT6BOOFCTqlbcd/P4IhmHqxnyQy5XU4Y=", "advertisement"=>{"title"=>"Test Ad", "adspace_id"=>"1", "ad_type"=>"image_link", "backup"=>"0", "ad_text"=>"", "image"=>#>, "width"=>"300", "height"=>"300", "url"=>"http://www.campusbazar.com", "max_clicks"=>"0", "max_impressions"=>"0", "parameter_restriction_boolean"=>"false", "param_restriction_name"=>"id", "param_restriction"=>"", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"1"}, "commit"=>"Submit"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.1ms) begin transaction SQL (69.3ms) INSERT INTO "rails_adserver_advertisements" ("ad_text", "ad_type", "adspace_id", "backup", "city_name", "click_count", "content", "country_name", "created_at", "geolocation_boolean", "geolocation_location", "height", "image", "impressions_count", "is_active", "max_clicks", "max_impressions", "param_restriction", "param_restriction_name", "parameter_restriction_boolean", "state_name", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["ad_text", ""], ["ad_type", "image_link"], ["adspace_id", 1], ["backup", false], ["city_name", nil], ["click_count", nil], ["content", nil], ["country_name", nil], ["created_at", Wed, 28 Mar 2012 05:07:07 UTC +00:00], ["geolocation_boolean", false], ["geolocation_location", ""], ["height", 300], ["image", "uszgP.jpg"], ["impressions_count", nil], ["is_active", true], ["max_clicks", 0], ["max_impressions", 0], ["param_restriction", ""], ["param_restriction_name", "id"], ["parameter_restriction_boolean", false], ["state_name", nil], ["title", "Test Ad"], ["updated_at", Wed, 28 Mar 2012 05:07:07 UTC +00:00], ["url", "http://www.campusbazar.com"], ["width", 300]]  (2.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements/1 Completed 302 Found in 2353ms (ActiveRecord: 76.1ms) Started GET "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-28 00:07:07 -0500 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (3.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (5.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (6.2ms) Completed 200 OK in 157ms (Views: 151.7ms | ActiveRecord: 0.8ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:08 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (16ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:08 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:08 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:08 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:08 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (7ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:08 -0500 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:08 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (56ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:08 -0500 Served asset /jquery_ujs.js - 304 Not Modified (6ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:08 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:08 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:08 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:08 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (11ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 00:07:19 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.6ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_param.html.haml (8.3ms) Completed 200 OK in 2886ms (Views: 10.9ms | ActiveRecord: 2.8ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-28 00:07:26 -0500 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  RailsAdserver::Click Load (0.2ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (100.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (114.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 149ms (Views: 145.7ms | ActiveRecord: 1.1ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:27 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:27 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:27 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:27 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:27 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:27 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:27 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:27 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:27 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:27 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:27 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:27 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-28 00:07:29 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (33.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (35.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 94ms (Views: 90.2ms | ActiveRecord: 0.8ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:29 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:29 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:29 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:29 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:29 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:29 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:29 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:29 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:29 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:29 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:29 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:29 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started PUT "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-28 00:07:40 -0500 Processing by RailsAdserver::AdvertisementsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nSaI2m6OLJZIT6BOOFCTqlbcd/P4IhmHqxnyQy5XU4Y=", "advertisement"=>{"title"=>"Test Ad", "adspace_id"=>"1", "ad_type"=>"image_link", "backup"=>"0", "ad_text"=>"", "width"=>"300", "height"=>"300", "url"=>"http://www.campusbazar.com", "max_clicks"=>"0", "max_impressions"=>"2", "parameter_restriction_boolean"=>"false", "param_restriction_name"=>"id", "param_restriction"=>"", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"1"}, "commit"=>"Submit", "id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction  (0.6ms) UPDATE "rails_adserver_advertisements" SET "max_impressions" = 2, "updated_at" = '2012-03-28 05:07:40.816246' WHERE "rails_adserver_advertisements"."id" = 1  (1.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements/1 Completed 302 Found in 244ms (ActiveRecord: 3.0ms) Started GET "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-28 00:07:41 -0500 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (1.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 19ms (Views: 16.3ms | ActiveRecord: 0.5ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:41 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:41 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:41 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:41 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:41 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:41 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:41 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:41 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:41 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:41 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:07:41 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:07:41 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 00:07:46 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 7693ms NoMethodError (undefined method `+' for nil:NilClass): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:46:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__1589508876978562874__process_action__368419581899930398__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__2603644650205273674__call__1851841999778994281__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.4ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 00:08:33 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1181ms NoMethodError (undefined method `+' for nil:NilClass): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:45:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__1589508876978562874__process_action__368419581899930398__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__2603644650205273674__call__1851841999778994281__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.1ms) DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 00:12:53 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.5ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 2, "updated_at" = '2012-03-28 05:12:54.773169' WHERE "rails_adserver_advertisements"."id" = 1  (1.7ms) commit transaction  (0.1ms) begin transaction  (0.5ms) UPDATE "rails_adserver_advertisements" SET "is_active" = 'f', "updated_at" = '2012-03-28 05:12:54.778551' WHERE "rails_adserver_advertisements"."id" = 1  (1.2ms) commit transaction Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_param.html.haml (2.2ms) Completed 200 OK in 1354ms (Views: 50.2ms | ActiveRecord: 8.9ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 00:12:56 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_param.html.haml (0.2ms) Completed 200 OK in 12656ms (Views: 33.5ms | ActiveRecord: 2.3ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 00:13:10 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_param.html.haml (0.2ms) Completed 200 OK in 12748ms (Views: 3.7ms | ActiveRecord: 2.2ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-28 00:13:22 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (5.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (1.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (2.1ms) Completed 200 OK in 192ms (Views: 78.2ms | ActiveRecord: 1.8ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:23 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:23 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:23 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:23 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:23 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:23 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:23 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:23 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:23 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:23 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:23 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:23 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-28 00:13:26 -0500 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" RailsAdserver::Click Load (0.2ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (30.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (44.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.0ms) Completed 200 OK in 80ms (Views: 75.1ms | ActiveRecord: 1.6ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:26 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:26 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:26 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:26 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:26 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:26 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:26 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:26 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:26 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:26 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:26 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:26 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-28 00:13:28 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (18.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (36.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 83ms (Views: 78.4ms | ActiveRecord: 0.9ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:28 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (78ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:28 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:28 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:28 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:28 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:28 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:28 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:28 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:28 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:28 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:28 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:28 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started PUT "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-28 00:13:33 -0500 Processing by RailsAdserver::AdvertisementsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nSaI2m6OLJZIT6BOOFCTqlbcd/P4IhmHqxnyQy5XU4Y=", "advertisement"=>{"title"=>"Test Ad", "adspace_id"=>"1", "ad_type"=>"image_link", "backup"=>"0", "ad_text"=>"", "width"=>"300", "height"=>"300", "url"=>"http://www.campusbazar.com", "max_clicks"=>"0", "max_impressions"=>"3", "parameter_restriction_boolean"=>"false", "param_restriction_name"=>"id", "param_restriction"=>"", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"0"}, "commit"=>"Submit", "id"=>"1"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction  (0.5ms) UPDATE "rails_adserver_advertisements" SET "max_impressions" = 3, "updated_at" = '2012-03-28 05:13:33.085245' WHERE "rails_adserver_advertisements"."id" = 1  (1.5ms) commit transaction  (0.1ms) begin transaction  (0.6ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = NULL, "updated_at" = '2012-03-28 05:13:36.353974' WHERE "rails_adserver_advertisements"."id" = 1  (2.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements/1 Completed 302 Found in 3291ms (ActiveRecord: 6.3ms) Started GET "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-28 00:13:36 -0500 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"1"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (1.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 35ms (Views: 30.7ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:36 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:36 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:36 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:36 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:36 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:36 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:13:36 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:36 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:36 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:36 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:36 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:13:36 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 00:13:43 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (2.4ms) Completed 200 OK in 25ms (Views: 20.7ms | ActiveRecord: 0.7ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 00:13:45 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (0.1ms) Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.9ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 00:13:46 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (0.1ms) Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.7ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 00:20:15 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (0.1ms) Completed 200 OK in 42ms (Views: 3.7ms | ActiveRecord: 2.3ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 00:25:00 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (0.1ms) Completed 200 OK in 35ms (Views: 2.6ms | ActiveRecord: 2.1ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 00:25:02 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.8ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (0.1ms) Completed 200 OK in 8ms (Views: 2.3ms | ActiveRecord: 1.3ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 00:25:13 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (0.1ms) Completed 200 OK in 28ms (Views: 2.8ms | ActiveRecord: 2.4ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-28 00:25:25 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.4ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (2.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (1.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (2.1ms) Completed 200 OK in 149ms (Views: 87.7ms | ActiveRecord: 1.8ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:26 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:26 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:26 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:26 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:26 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:26 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:26 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:26 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:26 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:26 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:26 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:26 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-28 00:25:28 -0500 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" RailsAdserver::Click Load (0.2ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (28.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (43.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (1.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 108ms (Views: 69.7ms | ActiveRecord: 1.3ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:28 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:28 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:28 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:28 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:28 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:28 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:28 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:28 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:28 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:28 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:28 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:28 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-28 00:25:32 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (16.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (35.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 87ms (Views: 83.2ms | ActiveRecord: 0.9ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:32 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:32 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:32 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:32 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:32 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:32 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:32 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:32 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:32 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:32 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:32 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:32 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started PUT "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-28 00:25:36 -0500 Processing by RailsAdserver::AdvertisementsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nSaI2m6OLJZIT6BOOFCTqlbcd/P4IhmHqxnyQy5XU4Y=", "advertisement"=>{"title"=>"Test Ad", "adspace_id"=>"1", "ad_type"=>"image_link", "backup"=>"0", "ad_text"=>"", "width"=>"300", "height"=>"300", "url"=>"http://www.campusbazar.com", "max_clicks"=>"0", "max_impressions"=>"3", "parameter_restriction_boolean"=>"false", "param_restriction_name"=>"id", "param_restriction"=>"", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"1"}, "commit"=>"Submit", "id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]]  (0.2ms) begin transaction  (27.4ms) UPDATE "rails_adserver_advertisements" SET "is_active" = 't', "updated_at" = '2012-03-28 05:25:36.675848' WHERE "rails_adserver_advertisements"."id" = 1  (1.6ms) commit transaction  (0.2ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements/1 Completed 302 Found in 315ms (ActiveRecord: 29.8ms) Started GET "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-28 00:25:37 -0500 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (1.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 40ms (Views: 36.7ms | ActiveRecord: 0.6ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:37 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:37 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:37 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:37 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:37 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:37 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:25:37 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:37 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:37 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:37 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:37 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:25:37 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 00:25:43 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.5ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 0, "updated_at" = '2012-03-28 05:25:43.465045' WHERE "rails_adserver_advertisements"."id" = 1  (1.5ms) commit transaction  (0.0ms) begin transaction  (0.4ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 1, "updated_at" = '2012-03-28 05:25:43.469293' WHERE "rails_adserver_advertisements"."id" = 1  (1.0ms) commit transaction Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (1.9ms) Completed 200 OK in 42ms (Views: 29.4ms | ActiveRecord: 4.2ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 00:26:01 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.5ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 2, "updated_at" = '2012-03-28 05:26:01.982885' WHERE "rails_adserver_advertisements"."id" = 1  (1.4ms) commit transaction Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (1.6ms) Completed 200 OK in 36ms (Views: 27.1ms | ActiveRecord: 2.6ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 00:26:03 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.5ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 3, "updated_at" = '2012-03-28 05:26:03.510657' WHERE "rails_adserver_advertisements"."id" = 1  (1.2ms) commit transaction  (0.0ms) begin transaction  (0.4ms) UPDATE "rails_adserver_advertisements" SET "is_active" = 'f', "updated_at" = '2012-03-28 05:26:03.514982' WHERE "rails_adserver_advertisements"."id" = 1  (1.5ms) commit transaction Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (1.5ms) Completed 200 OK in 17ms (Views: 3.5ms | ActiveRecord: 4.8ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 00:26:05 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (backup = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (0.1ms) Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.9ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-28 00:26:26 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (2.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (2.1ms) Completed 200 OK in 134ms (Views: 130.9ms | ActiveRecord: 0.8ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:26:26 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:26:26 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:26:26 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:26:26 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:26:26 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:26:26 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:26:26 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:26:26 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:26:26 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:26:26 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:26:26 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:26:26 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-28 00:26:31 -0500 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (4.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (17.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 80ms (Views: 77.3ms | ActiveRecord: 0.8ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:26:31 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:26:31 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:26:31 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:26:31 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:26:31 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:26:31 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:26:31 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:26:31 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:26:31 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:26:32 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:26:32 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:26:32 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-28 00:28:58 -0500 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" RailsAdserver::Click Load (0.4ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (10.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (14.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (1.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 196ms (Views: 192.4ms | ActiveRecord: 1.0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:28:58 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:28:58 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:28:58 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:28:58 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:28:58 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:28:58 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:28:58 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:28:58 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:28:58 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:28:58 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:28:58 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:28:58 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-28 00:30:01 -0500 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (8.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (10.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 38ms (Views: 34.5ms | ActiveRecord: 0.9ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:01 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:01 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:01 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:01 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:01 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:01 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:01 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:01 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:01 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:01 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:01 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:01 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-28 00:30:26 -0500 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (10.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (12.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (1.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 109ms (Views: 105.5ms | ActiveRecord: 0.9ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:26 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:26 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:26 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:26 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:26 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:26 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:26 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:26 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:26 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:26 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:26 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:26 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-28 00:30:33 -0500 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (10.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (12.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 32ms (Views: 27.6ms | ActiveRecord: 1.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:33 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:33 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:33 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:33 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:33 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:33 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:33 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:33 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:33 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:33 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:33 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:33 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-28 00:30:35 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (16.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (34.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 79ms (Views: 75.7ms | ActiveRecord: 0.8ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:36 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:36 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:36 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:36 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:36 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:36 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:36 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:36 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:36 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:36 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:36 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:36 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started PUT "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-28 00:30:51 -0500 Processing by RailsAdserver::AdvertisementsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nSaI2m6OLJZIT6BOOFCTqlbcd/P4IhmHqxnyQy5XU4Y=", "advertisement"=>{"title"=>"Test Ad", "adspace_id"=>"1", "ad_type"=>"image_link", "backup"=>"0", "ad_text"=>"", "width"=>"300", "height"=>"300", "url"=>"http://www.campusbazar.com", "max_clicks"=>"0", "max_impressions"=>"0", "parameter_restriction_boolean"=>"false", "param_restriction_name"=>"id", "param_restriction"=>"", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"0"}, "commit"=>"Submit", "id"=>"1"} User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction  (41.9ms) UPDATE "rails_adserver_advertisements" SET "max_impressions" = 0, "updated_at" = '2012-03-28 05:30:51.607563' WHERE "rails_adserver_advertisements"."id" = 1  (1.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements/1 Completed 302 Found in 2483ms (ActiveRecord: 45.6ms) Started GET "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-28 00:30:54 -0500 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (1.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 49ms (Views: 46.1ms | ActiveRecord: 0.5ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:54 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:54 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:54 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:54 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:54 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:54 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:54 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:54 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:54 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:54 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:54 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:54 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-28 00:30:56 -0500 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (3.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (5.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 25ms (Views: 21.6ms | ActiveRecord: 0.8ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:57 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:57 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:57 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:57 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:57 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:57 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:30:57 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:57 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:57 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:57 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:57 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:30:57 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-28 00:31:33 -0500 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  RailsAdserver::Click Load (0.4ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (11.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (13.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.0ms) Completed 200 OK in 32ms (Views: 29.1ms | ActiveRecord: 1.0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:31:33 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:31:33 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:31:33 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:31:33 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:31:33 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:31:33 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:31:33 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:31:33 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:31:33 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:31:33 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:31:33 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:31:33 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-28 00:31:46 -0500 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (9.2ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (11.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (1.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 100ms (Views: 96.8ms | ActiveRecord: 0.8ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:31:47 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (1ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:31:47 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:31:47 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:31:47 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:31:47 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:31:47 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:31:47 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:31:47 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:31:47 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:31:47 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:31:47 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:31:47 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-28 00:33:19 -0500 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (10.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (12.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 30ms (Views: 26.8ms | ActiveRecord: 0.9ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:19 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:19 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:19 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:19 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:19 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:19 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:19 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:19 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:19 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:19 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:19 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:19 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-28 00:33:21 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (18.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (20.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 38ms (Views: 35.9ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:22 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:22 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:22 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:22 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:22 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:22 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:22 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:22 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:22 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:22 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:22 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:22 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started PUT "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-28 00:33:31 -0500 Processing by RailsAdserver::AdvertisementsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nSaI2m6OLJZIT6BOOFCTqlbcd/P4IhmHqxnyQy5XU4Y=", "advertisement"=>{"title"=>"Test Ad", "adspace_id"=>"1", "ad_type"=>"image_link", "backup"=>"0", "ad_text"=>"", "width"=>"300", "height"=>"300", "url"=>"http://www.campusbazar.com", "max_clicks"=>"0", "max_impressions"=>"", "parameter_restriction_boolean"=>"false", "param_restriction_name"=>"id", "param_restriction"=>"", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"0"}, "commit"=>"Submit", "id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction  (17.4ms) UPDATE "rails_adserver_advertisements" SET "max_impressions" = NULL, "updated_at" = '2012-03-28 05:33:31.989464' WHERE "rails_adserver_advertisements"."id" = 1  (1.4ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements/1 Completed 302 Found in 295ms (ActiveRecord: 19.6ms) Started GET "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-28 00:33:32 -0500 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"1"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (1.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (2.1ms) Completed 200 OK in 43ms (Views: 40.0ms | ActiveRecord: 0.7ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:32 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:32 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:32 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:32 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:32 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:32 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:32 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:32 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:32 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:32 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:32 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:32 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-28 00:33:34 -0500 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (3.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (5.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.6ms) Completed 200 OK in 24ms (Views: 21.3ms | ActiveRecord: 0.8ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:34 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:34 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:34 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:34 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:34 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:34 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:33:34 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:34 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:34 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:34 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:34 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:33:34 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements" for 127.0.0.1 at 2012-03-28 00:34:16 -0500 Processing by RailsAdserver::AdvertisementsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements"  RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (4.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/index.html.haml within layouts/rails_adserver/application (6.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.0ms) Completed 200 OK in 25ms (Views: 22.4ms | ActiveRecord: 0.8ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:34:16 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:34:16 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:34:16 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:34:16 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:34:16 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:34:16 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:34:16 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:34:16 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:34:16 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:34:16 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:34:16 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:34:16 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-28 00:34:21 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (107.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (109.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.2ms) Completed 200 OK in 130ms (Views: 125.1ms | ActiveRecord: 1.3ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:34:21 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:34:21 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:34:21 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:34:21 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:34:21 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:34:21 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:34:21 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:34:21 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:34:21 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:34:21 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:34:21 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:34:21 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/advertisements/1/edit" for 127.0.0.1 at 2012-03-28 00:36:15 -0500 Processing by RailsAdserver::AdvertisementsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_form.html.haml (55.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/edit.html.haml within layouts/rails_adserver/application (57.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 214ms (Views: 72.0ms | ActiveRecord: 3.0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:16 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:16 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:16 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:16 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:16 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:16 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:16 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:16 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:16 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:16 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:16 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:16 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started PUT "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-28 00:36:19 -0500 Processing by RailsAdserver::AdvertisementsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nSaI2m6OLJZIT6BOOFCTqlbcd/P4IhmHqxnyQy5XU4Y=", "advertisement"=>{"title"=>"Test Ad", "adspace_id"=>"1", "ad_type"=>"image_link", "backup"=>"0", "ad_text"=>"", "width"=>"300", "height"=>"300", "url"=>"http://www.campusbazar.com", "max_clicks"=>"0", "max_impressions"=>"", "parameter_restriction_boolean"=>"false", "param_restriction_name"=>"id", "param_restriction"=>"", "geolocation_boolean"=>"false", "geolocation_location"=>"", "is_active"=>"1"}, "commit"=>"Submit", "id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction  (0.5ms) UPDATE "rails_adserver_advertisements" SET "is_active" = 't', "updated_at" = '2012-03-28 05:36:19.855140' WHERE "rails_adserver_advertisements"."id" = 1  (2.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/rails_adserver/advertisements/1 Completed 302 Found in 600ms (ActiveRecord: 3.3ms) Started GET "/rails_adserver/advertisements/1" for 127.0.0.1 at 2012-03-28 00:36:20 -0500 Processing by RailsAdserver::AdvertisementsController#show as HTML Parameters: {"id"=>"1"} User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/show.html.haml within layouts/rails_adserver/application (1.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.3ms) Completed 200 OK in 21ms (Views: 16.7ms | ActiveRecord: 0.8ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:20 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:20 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:20 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:20 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:20 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:20 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:20 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:20 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:20 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:20 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:20 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:20 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 00:36:27 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.4ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (1.7ms) Completed 200 OK in 34ms (Views: 27.0ms | ActiveRecord: 1.0ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 00:36:28 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (1.7ms) Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.6ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 00:36:29 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (2.6ms) Completed 200 OK in 10ms (Views: 4.9ms | ActiveRecord: 0.7ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 00:36:30 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (1.5ms) Completed 200 OK in 7ms (Views: 3.4ms | ActiveRecord: 0.6ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-28 00:36:32 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Click Load (0.2ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (20.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (25.0ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.0ms) Completed 200 OK in 64ms (Views: 60.1ms | ActiveRecord: 1.5ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:33 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:33 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:33 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:33 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:33 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:33 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:33 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:33 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:33 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:33 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:33 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:33 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-28 00:36:48 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Click Load (0.2ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (2.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (6.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 25ms (Views: 21.1ms | ActiveRecord: 1.1ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:48 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:48 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:48 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:48 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:48 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:36:48 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:48 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:48 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:48 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:48 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:48 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:36:48 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 00:36:54 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (1.8ms) Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 0.7ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 00:37:27 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (28.0ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 4, "updated_at" = '2012-03-28 05:37:27.818821' WHERE "rails_adserver_advertisements"."id" = 1  (1.6ms) commit transaction Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (1.5ms) Completed 200 OK in 177ms (Views: 4.2ms | ActiveRecord: 32.1ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 00:37:28 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (3.5ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 5, "updated_at" = '2012-03-28 05:37:28.533306' WHERE "rails_adserver_advertisements"."id" = 1  (1.5ms) commit transaction Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_space.html.haml (1.3ms) Completed 200 OK in 16ms (Views: 3.4ms | ActiveRecord: 5.8ms) Started GET "/rails_adserver/" for 127.0.0.1 at 2012-03-28 00:37:30 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Click Load (0.2ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (9.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (13.4ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.0ms) Completed 200 OK in 84ms (Views: 27.9ms | ActiveRecord: 2.1ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 00:37:30 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 00:37:30 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 00:37:30 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 00:37:30 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 00:37:30 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 00:37:30 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 00:37:30 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 00:37:30 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 00:37:30 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 00:37:30 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 00:37:30 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 00:37:30 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:18:23 -0500 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} Completed 500 Internal Server Error in 78ms NoMethodError (undefined method `ad_with_param' for #): activerecord (3.2.1) lib/active_record/dynamic_matchers.rb:50:in `method_missing' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:6:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__268565204981863308__process_action__1345862074388587516__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3232172976894540747__call__4536837276142071443__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.9ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.3ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:18:50 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.4ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') Completed 500 Internal Server Error in 173ms NameError (undefined local variable or method `request' for #): activerecord (3.2.1) lib/active_record/dynamic_matchers.rb:50:in `method_missing' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:20:in `ad_with_parameter' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:6:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__268565204981863308__process_action__1345862074388587516__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3232172976894540747__call__4536837276142071443__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.6ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:20:52 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') Completed 500 Internal Server Error in 21ms NoMethodError (undefined method `remote_ip' for "127.0.0.1":String): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:20:in `ad_with_parameter' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:6:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__268565204981863308__process_action__1345862074388587516__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3232172976894540747__call__4536837276142071443__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.6ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:22:24 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (38.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') Completed 500 Internal Server Error in 2573ms ActiveRecord::RecordNotFound (Couldn't find RailsAdserver::Advertisement without an ID): activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:309:in `find_with_ids' activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:107:in `find' activerecord (3.2.1) lib/active_record/querying.rb:5:in `find' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:7:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__268565204981863308__process_action__1345862074388587516__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3232172976894540747__call__4536837276142071443__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.2ms) DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:35:40 -0500 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1482ms NoMethodError (undefined method `impressions_count' for nil:NilClass): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:41:in `ad_with_parameter' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:6:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__4011621044126989095__process_action__1360023259943658412__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3967663011825204693__call__1807723145343935898__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.1ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.1ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:36:29 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.6ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 6, "updated_at" = '2012-03-28 19:36:29.906988' WHERE "rails_adserver_advertisements"."id" = 1  (1.4ms) commit transaction RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.5ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 7, "updated_at" = '2012-03-28 19:36:29.956058' WHERE "rails_adserver_advertisements"."id" = 1  (2.1ms) commit transaction Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_param.html.haml (15.4ms) Completed 200 OK in 788ms (Views: 26.3ms | ActiveRecord: 8.5ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:36:32 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.5ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 8, "updated_at" = '2012-03-28 19:36:43.861929' WHERE "rails_adserver_advertisements"."id" = 1  (1.8ms) commit transaction RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.3ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 9, "updated_at" = '2012-03-28 19:36:43.867581' WHERE "rails_adserver_advertisements"."id" = 1  (1.2ms) commit transaction Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_param.html.haml (1.2ms) Completed 200 OK in 11700ms (Views: 3.2ms | ActiveRecord: 6.3ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-28 14:36:51 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (16.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Click Load (0.5ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (32.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (126.7ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (5.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (6.2ms) Completed 200 OK in 577ms (Views: 472.8ms | ActiveRecord: 18.6ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 14:36:51 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (9ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 14:36:51 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (6ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 14:36:51 -0500 Served asset /jquery.js - 304 Not Modified (7ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 14:36:51 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 14:36:51 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 14:36:52 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (4ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 14:36:52 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 14:36:52 -0500 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 14:36:52 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (3ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 14:36:52 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (90ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 14:36:52 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (2ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 14:36:52 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (3ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:37:01 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.4ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 10, "updated_at" = '2012-03-28 19:37:02.741796' WHERE "rails_adserver_advertisements"."id" = 1  (1.8ms) commit transaction RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction  (0.6ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 11, "updated_at" = '2012-03-28 19:37:02.811380' WHERE "rails_adserver_advertisements"."id" = 1  (1.6ms) commit transaction Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_param.html.haml (1.4ms) Completed 200 OK in 1027ms (Views: 3.5ms | ActiveRecord: 6.6ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-28 14:37:07 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Click Load (0.3ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (3.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (20.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (1.1ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.4ms) Completed 200 OK in 128ms (Views: 124.0ms | ActiveRecord: 1.3ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 14:37:07 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 14:37:07 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 14:37:07 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 14:37:07 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 14:37:07 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 14:37:07 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 14:37:07 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 14:37:07 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 14:37:07 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 14:37:07 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 14:37:07 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 14:37:07 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:37:15 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (1.0ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 12, "updated_at" = '2012-03-28 19:37:17.040408' WHERE "rails_adserver_advertisements"."id" = 1  (1.6ms) commit transaction RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.5ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 13, "updated_at" = '2012-03-28 19:37:17.047453' WHERE "rails_adserver_advertisements"."id" = 1  (1.2ms) commit transaction Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/ad_param.html.haml (1.6ms) Completed 200 OK in 1697ms (Views: 4.1ms | ActiveRecord: 7.0ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-28 14:37:21 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Click Load (0.2ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (2.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (7.3ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.9ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 28ms (Views: 24.2ms | ActiveRecord: 1.2ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 14:37:21 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 14:37:21 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 14:37:21 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 14:37:21 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 14:37:21 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 14:37:21 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 14:37:21 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 14:37:21 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 14:37:21 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 14:37:21 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 14:37:21 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 14:37:21 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/rails_adserver" for 127.0.0.1 at 2012-03-28 14:38:36 -0500 Processing by RailsAdserver::PagesController#home as HTML User Load (17.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces"  RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't') RailsAdserver::Click Load (0.5ms) SELECT "rails_adserver_clicks".* FROM "rails_adserver_clicks" WHERE "rails_adserver_clicks"."advertisement_id" = 1 Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisements_table.html.haml (34.5ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/pages/home.html.haml within layouts/rails_adserver/application (90.8ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_topbar.html.haml (0.6ms) Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/layouts/rails_adserver/_sidebar.html.haml (1.1ms) Completed 200 OK in 245ms (Views: 105.4ms | ActiveRecord: 20.9ms) Started GET "/assets/rails_adserver/application.css?body=1" for 127.0.0.1 at 2012-03-28 14:38:36 -0500 Served asset /rails_adserver/application.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.css?body=1" for 127.0.0.1 at 2012-03-28 14:38:36 -0500 Served asset /rails_adserver/adspaces.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.css?body=1" for 127.0.0.1 at 2012-03-28 14:38:36 -0500 Served asset /rails_adserver/advertisements.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap.css?body=1" for 127.0.0.1 at 2012-03-28 14:38:36 -0500 Served asset /rails_adserver/bootstrap.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2012-03-28 14:38:36 -0500 Served asset /rails_adserver/bootstrap-responsive.css - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/pages.css?body=1" for 127.0.0.1 at 2012-03-28 14:38:36 -0500 Served asset /rails_adserver/pages.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-28 14:38:36 -0500 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/advertisements.js?body=1" for 127.0.0.1 at 2012-03-28 14:38:36 -0500 Served asset /rails_adserver/advertisements.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-28 14:38:36 -0500 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/adspaces.js?body=1" for 127.0.0.1 at 2012-03-28 14:38:36 -0500 Served asset /rails_adserver/adspaces.js - 304 Not Modified (0ms) Started GET "/assets/rails_adserver/application.js?body=1" for 127.0.0.1 at 2012-03-28 14:38:36 -0500 Served asset /rails_adserver/application.js - 304 Not Modified (1ms) Started GET "/assets/rails_adserver/rails_adserver_form.js?body=1" for 127.0.0.1 at 2012-03-28 14:38:36 -0500 Served asset /rails_adserver/rails_adserver_form.js - 304 Not Modified (0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:38:40 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.4ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.4ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 14, "updated_at" = '2012-03-28 19:38:41.393923' WHERE "rails_adserver_advertisements"."id" = 1  (1.9ms) commit transaction RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 587ms ActionView::MissingTemplate (Missing template rails_adserver/advertisements/ad with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy" * "/" ): actionpack (3.2.1) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.1) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:22:in `block in determine_template' actionpack (3.2.1) lib/action_view/lookup_context.rb:130:in `with_fallbacks' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `with_fallbacks' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:22:in `determine_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:10:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:9:in `block (2 levels) in ad_param' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `call' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:8:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__4011621044126989095__process_action__1360023259943658412__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3967663011825204693__call__1807723145343935898__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (1.0ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:40:01 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.5ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 15, "updated_at" = '2012-03-28 19:40:02.778711' WHERE "rails_adserver_advertisements"."id" = 1  (1.8ms) commit transaction RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1509ms ActionView::MissingTemplate (Missing template /rails_adserver/advertisements/ad with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy" * "/" ): actionpack (3.2.1) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.1) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:22:in `block in determine_template' actionpack (3.2.1) lib/action_view/lookup_context.rb:130:in `with_fallbacks' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `with_fallbacks' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:22:in `determine_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:10:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:9:in `block (2 levels) in ad_param' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `call' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:8:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__4011621044126989095__process_action__1360023259943658412__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3967663011825204693__call__1807723145343935898__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.6ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:42:11 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.6ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.5ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 16, "updated_at" = '2012-03-28 19:42:12.515246' WHERE "rails_adserver_advertisements"."id" = 1  (1.5ms) commit transaction RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1037ms ActionView::MissingTemplate (Missing template rails_adserver/advertisements/ad with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy" * "/" ): actionpack (3.2.1) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.1) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:22:in `block in determine_template' actionpack (3.2.1) lib/action_view/lookup_context.rb:130:in `with_fallbacks' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `with_fallbacks' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:22:in `determine_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:10:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:9:in `block (2 levels) in ad_param' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `call' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:8:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__4011621044126989095__process_action__1360023259943658412__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3967663011825204693__call__1807723145343935898__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:42:27 -0500 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.4ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction  (0.9ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 17, "updated_at" = '2012-03-28 19:42:28.368662' WHERE "rails_adserver_advertisements"."id" = 1  (1.8ms) commit transaction RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 896ms ActionView::MissingTemplate (Missing template rails_adserver/advertisements/ad with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy" * "/" ): actionpack (3.2.1) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.1) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:22:in `block in determine_template' actionpack (3.2.1) lib/action_view/lookup_context.rb:130:in `with_fallbacks' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `with_fallbacks' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:22:in `determine_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:10:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:9:in `block (2 levels) in ad_param' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `call' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:8:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__1332771303199656794__process_action__3133229752620262085__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__427785361919608633__call__1078207635066850090__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.8ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:43:19 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (17.9ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (46.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.7ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.9ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (5.9ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (7.6ms) begin transaction  (0.7ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 18, "updated_at" = '2012-03-28 19:43:23.967208' WHERE "rails_adserver_advertisements"."id" = 1  (1.8ms) commit transaction RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 2518ms ActionView::MissingTemplate (Missing template rails_adserver/advertisements/ad with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy" * "/" ): actionpack (3.2.1) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.1) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:22:in `block in determine_template' actionpack (3.2.1) lib/action_view/lookup_context.rb:130:in `with_fallbacks' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `with_fallbacks' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:22:in `determine_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:10:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:9:in `block (2 levels) in ad_param' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `call' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:8:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__1332771303199656794__process_action__3133229752620262085__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__427785361919608633__call__1078207635066850090__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (2.6ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:44:04 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.6ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 19, "updated_at" = '2012-03-28 19:44:08.410969' WHERE "rails_adserver_advertisements"."id" = 1  (1.9ms) commit transaction RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1219ms ActionView::MissingTemplate (Missing template advertisements/ad with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy" * "/" ): actionpack (3.2.1) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.1) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:22:in `block in determine_template' actionpack (3.2.1) lib/action_view/lookup_context.rb:130:in `with_fallbacks' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `with_fallbacks' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:22:in `determine_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:10:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:9:in `block (2 levels) in ad_param' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `call' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:8:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__1332771303199656794__process_action__3133229752620262085__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__427785361919608633__call__1078207635066850090__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (1.4ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:44:50 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (20.0ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 20, "updated_at" = '2012-03-28 19:44:51.952536' WHERE "rails_adserver_advertisements"."id" = 1  (21.8ms) commit transaction RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1106ms ActionView::MissingTemplate (Missing template app/views/rails_adserver/advertisements/ad with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy" * "/" ): actionpack (3.2.1) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.1) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:22:in `block in determine_template' actionpack (3.2.1) lib/action_view/lookup_context.rb:130:in `with_fallbacks' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `with_fallbacks' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:22:in `determine_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:10:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:9:in `block (2 levels) in ad_param' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `call' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:8:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__1332771303199656794__process_action__3133229752620262085__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__427785361919608633__call__1078207635066850090__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.8ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:47:01 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.5ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.6ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 21, "updated_at" = '2012-03-28 19:47:02.169808' WHERE "rails_adserver_advertisements"."id" = 1  (51.5ms) commit transaction RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1104ms ActionView::MissingTemplate (Missing template rails_adserver/advertisements/ad, rails_adserver/application/ad with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" ): actionpack (3.2.1) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.1) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:28:in `determine_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:10:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:9:in `block (2 levels) in ad_param' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `call' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:8:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__1332771303199656794__process_action__3133229752620262085__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__427785361919608633__call__1078207635066850090__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:47:31 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.5ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 22, "updated_at" = '2012-03-28 19:47:34.167022' WHERE "rails_adserver_advertisements"."id" = 1  (1.3ms) commit transaction RailsAdserver::Advertisement Load (0.1ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 2347ms ActionView::MissingTemplate (Missing template rails_adserver/advertisements/ad, rails_adserver/application/ad with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" ): actionpack (3.2.1) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.1) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:28:in `determine_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:10:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:9:in `block (2 levels) in ad_param' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `call' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:8:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__1332771303199656794__process_action__3133229752620262085__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__427785361919608633__call__1078207635066850090__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:48:02 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.7ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 23, "updated_at" = '2012-03-28 19:48:03.602249' WHERE "rails_adserver_advertisements"."id" = 1  (2.4ms) commit transaction RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 1066ms ActionView::MissingTemplate (Missing template rails_adserver/advertisements/advertisement, rails_adserver/application/advertisement with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :haml]}. Searched in: * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/test/dummy/app/views" * "/Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views" * "/Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views" ): actionpack (3.2.1) lib/action_view/path_set.rb:58:in `find' actionpack (3.2.1) lib/action_view/lookup_context.rb:109:in `find' actionpack (3.2.1) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:28:in `determine_template' actionpack (3.2.1) lib/action_view/renderer/template_renderer.rb:10:in `render' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:36:in `render_template' actionpack (3.2.1) lib/action_view/renderer/renderer.rb:17:in `render' actionpack (3.2.1) lib/abstract_controller/rendering.rb:109:in `_render_template' actionpack (3.2.1) lib/action_controller/metal/streaming.rb:225:in `_render_template' actionpack (3.2.1) lib/abstract_controller/rendering.rb:103:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/renderers.rb:28:in `render_to_body' actionpack (3.2.1) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' actionpack (3.2.1) lib/abstract_controller/rendering.rb:88:in `render' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' activesupport (3.2.1) lib/active_support/core_ext/benchmark.rb:5:in `ms' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:40:in `block in render' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:39:in `render' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:9:in `block (2 levels) in ad_param' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `call' actionpack (3.2.1) lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:8:in `ad_param' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__1332771303199656794__process_action__3133229752620262085__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__427785361919608633__call__1078207635066850090__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:50:45 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (1.5ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 24, "updated_at" = '2012-03-28 19:50:48.779960' WHERE "rails_adserver_advertisements"."id" = 1  (1.7ms) commit transaction RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisement.html.haml (146.3ms) Completed 200 OK in 2936ms (Views: 208.6ms | ActiveRecord: 7.3ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 14:54:38 -0500 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.4ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.6ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 25, "updated_at" = '2012-03-28 19:54:40.858923' WHERE "rails_adserver_advertisements"."id" = 1  (1.6ms) commit transaction RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisement.html.haml (54.5ms) Completed 200 OK in 2277ms (Views: 101.6ms | ActiveRecord: 9.2ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 14:54:44 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} Completed 500 Internal Server Error in 1ms ArgumentError (wrong number of arguments (2 for 3)): /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:16:in `ad_with_parameter' /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/controllers/rails_adserver/advertisements_controller.rb:14:in `ad_space' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:403:in `_run__2524559488322912281__process_action__2688464866204452836__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in `method_missing' journey (1.0.3) lib/journey/router.rb:68:in `block in call' journey (1.0.3) lib/journey/router.rb:56:in `each' journey (1.0.3) lib/journey/router.rb:56:in `call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' warden (1.1.1) lib/warden/manager.rb:35:in `block in call' warden (1.1.1) lib/warden/manager.rb:34:in `catch' warden (1.1.1) lib/warden/manager.rb:34:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' rack (1.4.1) lib/rack/etag.rb:23:in `call' rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3142437552385532541__call__4199441492886897842__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' rack (1.4.1) lib/rack/runtime.rb:17:in `call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.1) lib/rack/lock.rb:15:in `call' actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' railties (3.2.1) lib/rails/engine.rb:479:in `call' railties (3.2.1) lib/rails/application.rb:220:in `call' rack (1.4.1) lib/rack/content_length.rb:14:in `call' railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.5ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /Users/thomasmuntaner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.1ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 14:54:57 -0500 Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (0.2ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.5ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 26, "updated_at" = '2012-03-28 19:54:58.562004' WHERE "rails_adserver_advertisements"."id" = 1  (1.5ms) commit transaction RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisement.html.haml (1.5ms) Completed 200 OK in 711ms (Views: 4.3ms | ActiveRecord: 6.2ms) Started GET "/rails_adserver/ad/space/1" for 127.0.0.1 at 2012-03-28 15:27:10 -0500 DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from at /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/models/rails_adserver/advertisement.rb:5) Processing by RailsAdserver::AdvertisementsController#ad_space as HTML Parameters: {"adspace_id"=>"1"} RailsAdserver::Adspace Load (21.6ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't' AND geolocation_boolean = 't') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't' AND geolocation_boolean = 't') RailsAdserver::Advertisement Load (0.6ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't' AND geolocation_boolean = 't') RailsAdserver::Advertisement Load (16.6ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.8ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 27, "updated_at" = '2012-03-28 20:27:12.900161' WHERE "rails_adserver_advertisements"."id" = 1  (1.8ms) commit transaction RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisement.html.haml (26.6ms) Completed 200 OK in 2663ms (Views: 91.3ms | ActiveRecord: 47.6ms) Started GET "/rails_adserver/ad/space/1/param/1" for 127.0.0.1 at 2012-03-28 15:27:28 -0500 Processing by RailsAdserver::AdvertisementsController#ad_param as HTML Parameters: {"adspace_id"=>"1", "id"=>"1"} RailsAdserver::Adspace Load (0.3ms) SELECT "rails_adserver_adspaces".* FROM "rails_adserver_adspaces" WHERE "rails_adserver_adspaces"."id" = ? LIMIT 1 [["id", "1"]] RailsAdserver::Advertisement Load (11.6ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND param_restriction = '1' AND backup = 'f') RailsAdserver::Advertisement Load (0.4ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (city_name = NULL AND is_active = 't' AND geolocation_boolean = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (state_name = NULL AND city_name = NULL AND is_active = 't' AND geolocation_boolean = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (country_name = NULL AND state_name = NULL AND city_name = NULL AND is_active = 't' AND geolocation_boolean = 't') RailsAdserver::Advertisement Load (0.3ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."adspace_id" = 1 AND (is_active = 't' AND parameter_restriction_boolean = 'f' AND geolocation_boolean = 'f' AND backup = 'f') RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.5ms) UPDATE "rails_adserver_advertisements" SET "impressions_count" = 28, "updated_at" = '2012-03-28 20:27:28.598237' WHERE "rails_adserver_advertisements"."id" = 1  (2.4ms) commit transaction RailsAdserver::Advertisement Load (0.2ms) SELECT "rails_adserver_advertisements".* FROM "rails_adserver_advertisements" WHERE "rails_adserver_advertisements"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/thomasmuntaner/Desktop/Projects/Websites/adserver/app/views/rails_adserver/advertisements/_advertisement.html.haml (2.1ms) Completed 200 OK in 581ms (Views: 4.5ms | ActiveRecord: 16.6ms)