Skip to content

Instantly share code, notes, and snippets.

@dmclark
Created November 14, 2010 23:51
Show Gist options
  • Select an option

  • Save dmclark/676237 to your computer and use it in GitHub Desktop.

Select an option

Save dmclark/676237 to your computer and use it in GitHub Desktop.
Started GET "/" for 127.0.0.1 at 2010-11-14 18:48:03 -0500
Processing by RoutesController#new as HTML
SQL (1.0ms) 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 = '"routes"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
Venue Load (6.0ms) SELECT "venues".* FROM "venues" ORDER BY name ASC
Rendered routes/_form.html.erb (1.3ms)
Rendered routes/new.html.erb within layouts/application (2.9ms)
Completed in 132ms
ActionView::Template::Error (No route matches {:action=>"destroy", :controller=>"routes"}):
1: <%= form_for @route, :html => { :method => :get, :url => route_path, :remote => true } do |f| %>
2: <div class="field" style="float:left; padding-right:1em">
3: <%= f.label :startpoint_id %><br />
4: <%= f.select :startpoint_id, options_from_collection_for_select(@venues, 'id', 'name'), { :include_blank => false }, { :size => 15 } %>
app/views/routes/_form.html.erb:1:in `_app_views_routes__form_html_erb__2558137885231793841_2174894360_1608881539346596751'
app/views/routes/new.html.erb:5:in `_app_views_routes_new_html_erb___695330475453746291_2174909900_1054592411617362798'
Rendered /Users/Administrator/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
SQL (1.0ms) 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 = '"venues"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
Rendered /Users/Administrator/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (94.2ms)
Rendered /Users/Administrator/.rvm/gems/ruby-1.9.2-p0@rails3/gems/actionpack-3.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (100.0ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment