Skip to content

Instantly share code, notes, and snippets.

@tubbo
Created July 24, 2010 02:30
Show Gist options
  • Select an option

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

Select an option

Save tubbo/488330 to your computer and use it in GitHub Desktop.
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 #25 of app/views/layouts/application.html.erb:
22: </span>
23: </div>
24: <div id="navigation">
25: <% if !current_user %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment