Skip to content

Instantly share code, notes, and snippets.

@tubbo
Created July 30, 2010 01:12
Show Gist options
  • Select an option

  • Save tubbo/499639 to your computer and use it in GitHub Desktop.

Select an option

Save tubbo/499639 to your computer and use it in GitHub Desktop.
Processing PagesController#home (for 69.142.78.178 at 2010-07-29 18:08:51) [GET]
Parameters: {"action"=>"home", "controller"=>"pages"}
Rendering template within layouts/application
Rendering pages/home
ActionView::TemplateError (PGError: ERROR: relation "sessions" does not exist
: SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"sessions"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
) on line #10 of app/views/pages/home.html.erb:
7:
8: <h2>Get It Started</h2>
9: <p>
10: <% if current_user %>
11: <h1 align="center" class="colors">
12: <%=link_to 'Dashboard', '/user/account' %> | <%=link_to 'Artists', '/user/artists' %>
13: </h1>
authlogic (2.1.5) lib/authlogic/session/session.rb:48:in `session_credentials'
authlogic (2.1.5) lib/authlogic/session/session.rb:33:in `persist_by_session'
authlogic (2.1.5) lib/authlogic/session/callbacks.rb:90:in `persist'
authlogic (2.1.5) lib/authlogic/session/persistence.rb:55:in `persisting?'
authlogic (2.1.5) lib/authlogic/session/persistence.rb:39:in `find'
app/controllers/application_controller.rb:20:in `current_user_session'
app/controllers/application_controller.rb:25:in `current_user'
(eval):2:in `send'
(eval):2:in `current_user'
app/views/pages/home.html.erb:10
/home/heroku_rack/lib/static_assets.rb:9:in `call'
/home/heroku_rack/lib/last_access.rb:25:in `call'
/home/heroku_rack/lib/date_header.rb:14:in `call'
thin (1.2.6) lib/thin/connection.rb:76:in `pre_process'
thin (1.2.6) lib/thin/connection.rb:74:in `catch'
thin (1.2.6) lib/thin/connection.rb:74:in `pre_process'
thin (1.2.6) lib/thin/connection.rb:57:in `process'
thin (1.2.6) lib/thin/connection.rb:42:in `receive_data'
eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine'
eventmachine (0.12.10) lib/eventmachine.rb:256:in `run'
thin (1.2.6) lib/thin/backends/base.rb:57:in `start'
thin (1.2.6) lib/thin/server.rb:156:in `start'
thin (1.2.6) lib/thin/controllers/controller.rb:80:in `start'
thin (1.2.6) lib/thin/runner.rb:177:in `send'
thin (1.2.6) lib/thin/runner.rb:177:in `run_command'
thin (1.2.6) lib/thin/runner.rb:143:in `run!'
thin (1.2.6) bin/thin:6
/usr/ruby1.8.7/bin/thin:19:in `load'
/usr/ruby1.8.7/bin/thin:19
Rendering /disk1/home/slugs/249053_1ab7c1f_9a95/mnt/public/500.html (500 Internal Server Error)
==> dyno-1838865.log <==
/disk1/home/slugs/249053_1ab7c1f_9a95/mnt/app/models/user.rb:3: warning: Object#id will be deprecated; use Object#object_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment