Skip to content

Instantly share code, notes, and snippets.

@wnstn
Created April 11, 2012 19:56
Show Gist options
  • Save wnstn/2361979 to your computer and use it in GitHub Desktop.
Save wnstn/2361979 to your computer and use it in GitHub Desktop.
→ tail -f log/development.log
SOLR Request (0.9ms) [ path=#<RSolr::Client:0x007fb4b96bdf58> parameters={data: <?xml version="1.0" encoding="UTF-8"?><delete><query>type:Role</query></delete>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
Creating scope :open. Overwriting existing method Invitation.open.
Creating scope :open_for_bids. Overwriting existing method Invitation.open_for_bids.
Creating scope :outstanding_for_user. Overwriting existing method Invitation.outstanding_for_user.
Creating scope :incoming_for_user. Overwriting existing method Invitation.incoming_for_user.
Creating scope :open. Overwriting existing method Invitation.open.
Creating scope :accepted. Overwriting existing method Invitation.accepted.
Creating scope :declined. Overwriting existing method Invitation.declined.
(0.1ms) SHOW search_path
SOLR Request (0.8ms) [ path=#<RSolr::Client:0x007ff8b7b61310> parameters={data: <?xml version="1.0" encoding="UTF-8"?><delete><query>type:Role</query></delete>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
Started GET "/" for 127.0.0.1 at 2012-04-11 14:55:51 -0500
Processing by PagesController#index as HTML
Geokit is using the domain: localhost
Rendered pages/index.html.erb within layouts/application (0.7ms)
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
(0.2ms) BEGIN
(0.5ms) UPDATE "users" SET "last_request_at" = '2012-04-11 19:55:52.010584', "perishable_token" = 'Q4etzXYmjyyYLwOzFGc', "updated_at" = '2012-04-11 19:55:52.011530' WHERE "users"."id" = 1
[paperclip] Saving attachments.
UserSkill Load (0.3ms) SELECT "user_skills".* FROM "user_skills" WHERE "user_skills"."user_id" = 1
SQL (0.7ms) SELECT "tags"."id" AS t0_r0, "tags"."tag_category_id" AS t0_r1, "tags"."name" AS t0_r2, "tags"."created_at" AS t0_r3, "tags"."updated_at" AS t0_r4, "tags"."weight" AS t0_r5, "tag_categories"."id" AS t1_r0, "tag_categories"."name" AS t1_r1, "tag_categories"."created_at" AS t1_r2, "tag_categories"."updated_at" AS t1_r3 FROM "tags" LEFT OUTER JOIN "tag_categories" ON "tag_categories"."id" = "tags"."tag_category_id" INNER JOIN "tags_users" ON "tags"."id" = "tags_users"."tag_id" WHERE "tags_users"."user_id" = 1 AND (tag_categories.name = 'Genres') ORDER BY tags.id ASC
SOLR Request (1.1ms) [ path=#<RSolr::Client:0x007f93e6c90a28> parameters={data: <?xml version="1.0" encoding="UTF-8"?><add><doc><field name="id">User 1</field><field name="type">User</field><field name="type">ActiveRecord::Base</field><field name="class_name">User</field><field name="id_i">1</field><field name="login_text">Winston Hearn</field><field name="first_name_text">Winston</field><field name="last_name_text">Hearn</field><field name="email_text">whearn@centresource.com</field><field name="zip_text">37203</field><field boost="5" name="skill_list_text"></field><field boost="2" name="genres_list_text"></field></doc></add>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
(0.2ms) ROLLBACK
Completed 500 Internal Server Error in 361ms
ActionView::Template::Error (Connection refused - connect(2)):
42: <%= link_to image_tag('icon_twitter.png', :alt => 'Twitter'), '#' %>
43: </div>
44:
45: <%- if current_user -%>
46: <%= link_to 'My Account', career_dashboard_my_account_path, :class => 'btn' %>
47: <%- else -%>
48: <%= link_to 'Login', sign_in_path, :class => 'btn' %>
app/controllers/application_controller.rb:12:in `current_user_session'
app/controllers/application_controller.rb:17:in `current_user'
app/views/layouts/application.html.erb:45:in `_app_views_layouts_application_html_erb__2529711403000986617_70136595835580'
app/controllers/application_controller.rb:49:in `catch_exceptions'
Rendered /Users/CS_Spare/.rvm/gems/ruby-1.9.2-p290@minorbeat/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
Rendered /Users/CS_Spare/.rvm/gems/ruby-1.9.2-p290@minorbeat/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /Users/CS_Spare/.rvm/gems/ruby-1.9.2-p290@minorbeat/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.5ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment