Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PagesController#create
- PROJECT:
- #<Project id: 1, name: "Awesome", description: "This is an awesome project.", developer_id: nil, created_at: "2011-01-20 21:54:44", updated_at: "2011-01-20 22:12:43", cached_slug: "awesome">
- PAGE:
- #<Page id: nil, name: "Awesome page!", metadata: "<root>Lorem ipsum!...</root>", project_id: 1, created_at: nil, updated_at: nil, cached_slug: nil>
- Started POST "/projects/awesome/pages" for 127.0.0.1 at Thu Jan 20 17:13:33 -0500 2011
- Processing by PagesController#create as HTML
- Parameters: {"commit"=>"Create Page", "project_id"=>"awesome", "authenticity_token"=>"n9kLtg1fsWZPcPxnzTVIfYKxyKlIw/VnM7RHYedoJGc=", "utf8"=>"✓", "page"=>{"name"=>"Awesome page!", "project_id"=>"1", "metadata"=>"<root>Lorem ipsum!...</root>"}}
- Developer Load (0.3ms) SELECT developers.* FROM developers WHERE (developers.id = 1) LIMIT 1
- Project Load (0.6ms) SELECT projects.* FROM projects WHERE (projects.cached_slug = 'awesome') LIMIT 1
- Project Load (0.4ms) SELECT projects.* FROM projects WHERE (projects.id = 1) LIMIT 1
- AREL (14.2ms) INSERT INTO pages (metadata, cached_slug, created_at, updated_at, name, project_id) VALUES ('<ibm>@@@IBMXML@@@</ibm>', NULL, '2011-01-20 22:13:33', '2011-01-20 22:13:33', 'Awesome page!', 1)
- Slug Load (3.6ms) SELECT slugs.* FROM slugs WHERE (slugs.sluggable_id IS NULL AND slugs.sluggable_type = 'Page') ORDER BY id DESC
- Slug Load (3.7ms) SELECT slugs.* FROM slugs WHERE (slugs.sluggable_id IS NULL AND slugs.sluggable_type = 'Page') AND (slugs.name = 'awesome-page') AND (slugs.scope = 'awesome') ORDER BY id DESC
- SQL (2.4ms) SELECT COUNT(*) FROM slugs WHERE (slugs.scope = 'awesome') AND (slugs.sluggable_type = 'Page') AND (slugs.name = 'awesome-page')
- AREL (13.6ms) INSERT INTO slugs (scope, sluggable_id, sluggable_type, created_at, sequence, name) VALUES ('awesome', 2, 'Page', '2011-01-20 22:13:33', 1, 'awesome-page')
- update of LOB/XML field(s)in handle_lobs (0.0ms) UPDATE pages SET (metadata) = (?) WHERE id = ?
- Slug Load (5.7ms) SELECT slugs.* FROM slugs WHERE (slugs.sluggable_id = 2 AND slugs.sluggable_type = 'Page') ORDER BY id DESC LIMIT 1
- AREL (3.1ms) UPDATE pages SET metadata = '<ibm>@@@IBMXML@@@</ibm>', cached_slug = 'awesome-page', created_at = '2011-01-20 22:13:33', updated_at = '2011-01-20 22:13:33', name = 'Awesome page!', project_id = 1 WHERE (pages.id = 2)
- Redirected to http://localhost:3000/projects/awesome/pages/awesome-page
- Completed 302 Found in 291ms
- Started GET "/projects/awesome/pages/awesome-page" for 127.0.0.1 at Thu Jan 20 17:13:33 -0500 2011
- Processing by PagesController#show as HTML
- Parameters: {"project_id"=>"awesome", "id"=>"awesome-page"}
- Developer Load (0.5ms) SELECT developers.* FROM developers WHERE (developers.id = 1) LIMIT 1
- Project Load (0.3ms) SELECT projects.* FROM projects WHERE (projects.cached_slug = 'awesome') LIMIT 1
- Page Load (2.5ms) SELECT pages.* FROM pages WHERE (pages.project_id = 1) AND (pages.cached_slug = 'awesome-page') LIMIT 1
- Rendered layouts/_stylesheets.html.erb (4.6ms)
- Rendered layouts/_header.html.erb (2.7ms)
- Rendered layouts/_footer.html.erb (1.1ms)
- Rendered pages/show.html.erb within layouts/application (21.5ms)
- Completed 200 OK in 189ms (Views: 26.9ms | ActiveRecord: 51.0ms)
- Started GET "/images/logo.png" for 127.0.0.1 at Thu Jan 20 17:13:34 -0500 2011
- ActionController::RoutingError (No route matches "/images/logo.png"):
- Rendered /home/marius/.rvm/gems/ruby-1.8.7-p302@rails3gemset/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)
Add Comment
Please, Sign In to add comment