Created
February 22, 2012 17:08
-
-
Save nbartlomiej/1886112 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started GET "/admin/employees/7" for 127.0.0.1 at 2012-02-22 17:39:13 +0100 | |
Processing by Admin::EmployeesController#show as HTML | |
Parameters: {"id"=>"7"} | |
AdminUser Load (0.9ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 2 LIMIT 1 | |
Employee Load (0.9ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1 [["id", "7"]] | |
(1.3ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Employee' AND "active_admin_comments"."resource_id" = 7 AND "active_admin_comments"."namespace" = 'admin' | |
PGError: ERROR: operator does not exist: character varying = integer | |
LINE 1: ...ployee' AND "active_admin_comments"."resource_id" = 7 AND "a... | |
^ | |
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. | |
: SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Employee' AND "active_admin_comments"."resource_id" = 7 AND "active_admin_comments"."namespace" = 'admin' | |
Rendered /Users/benek/.rvm/gems/ruby-1.9.2-p290@x_2_0/gems/activeadmin-0.4.1/app/views/active_admin/resource/show.html.arb (182.4ms) | |
Completed 500 Internal Server Error in 398ms | |
ActionView::Template::Error (PGError: ERROR: operator does not exist: character varying = integer | |
LINE 1: ...ployee' AND "active_admin_comments"."resource_id" = 7 AND "a... | |
^ | |
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. | |
: SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Employee' AND "active_admin_comments"."resource_id" = 7 AND "active_admin_comments"."namespace" = 'admin'): | |
1: render renderer_for(:show) | |
lib/strip_www.rb:14:in `call' | |
Rendered /Users/benek/.rvm/gems/ruby-1.9.2-p290@x_2_0/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.5ms) | |
Rendered /Users/benek/.rvm/gems/ruby-1.9.2-p290@x_2_0/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) | |
Rendered /Users/benek/.rvm/gems/ruby-1.9.2-p290@x_2_0/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.9ms) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment