Skip to content

Instantly share code, notes, and snippets.

@jmercedes
Created June 2, 2016 03:35
Show Gist options
  • Select an option

  • Save jmercedes/1adac45fbc7fda0f70e041fc9bdfa128 to your computer and use it in GitHub Desktop.

Select an option

Save jmercedes/1adac45fbc7fda0f70e041fc9bdfa128 to your computer and use it in GitHub Desktop.
Started POST "/refinery/posts" for ::1 at 2016-06-01 23:32:29 -0400
Processing by Refinery::Posts::Admin::PostsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"BI4868SbS9UKePiDLAFe1VlquHvrB4z8TGjbDG2sEHjrCWgCQdoK6qpOxhc4gP0WvZyzCAUQm/ITwhHhwnhdog==", "switch_locale"=>"", "post"=>{"post_image_id"=>"", "title"=>"Segunda noticia", "post_date(3i)"=>"2", "post_date(2i)"=>"6", "post_date(1i)"=>"2016", "author"=>"", "description"=>""}, "locale"=>:pt}
(0.5ms) SELECT MAX("refinery_posts"."position") FROM "refinery_posts"
Refinery::Authentication::Devise::User Load (0.7ms) SELECT "refinery_authentication_devise_users".* FROM "refinery_authentication_devise_users" WHERE "refinery_authentication_devise_users"."id" = $1 ORDER BY "refinery_authentication_devise_users"."id" ASC LIMIT 1 [["id", 1]]
Refinery::Authentication::Devise::Role Load (1.9ms) SELECT "refinery_authentication_devise_roles".* FROM "refinery_authentication_devise_roles" INNER JOIN "refinery_authentication_devise_roles_users" ON "refinery_authentication_devise_roles"."id" = "refinery_authentication_devise_roles_users"."role_id" WHERE "refinery_authentication_devise_roles_users"."user_id" = $1 [["user_id", 1]]
(0.2ms) BEGIN
Refinery::Posts::Post::Translation Load (0.5ms) SELECT DISTINCT locale FROM "refinery_post_translations" ORDER BY "refinery_post_translations"."locale" ASC
Refinery::Posts::Post Exists (0.3ms) SELECT 1 AS one FROM "refinery_posts" INNER JOIN "refinery_post_translations" ON "refinery_post_translations"."refinery_post_id" = "refinery_posts"."id" WHERE "refinery_post_translations"."locale" = $1 AND ("refinery_post_translations"."title" = 'Segunda noticia' AND "refinery_post_translations"."locale" = '') LIMIT 1 [["locale", "en"]]
(0.3ms) ROLLBACK
Refinery::Posts::Post::Translation Load (0.3ms) SELECT DISTINCT locale FROM "refinery_post_translations" ORDER BY "refinery_post_translations"."locale" ASC
Refinery::Posts::Post Exists (0.3ms) SELECT 1 AS one FROM "refinery_posts" INNER JOIN "refinery_post_translations" ON "refinery_post_translations"."refinery_post_id" = "refinery_posts"."id" WHERE "refinery_post_translations"."locale" = $1 AND ("refinery_post_translations"."title" = 'Segunda noticia' AND "refinery_post_translations"."locale" = '') LIMIT 1 [["locale", "en"]]
Rendered /Users/juan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/refinerycms-9e79b276891f/core/app/views/refinery/admin/_error_messages.html.erb (0.5ms)
Rendered vendor/extensions/posts/app/views/refinery/posts/admin/posts/_locale_picker.html.erb (2.0ms)
Rendered /Users/juan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/refinerycms-9e79b276891f/core/app/views/refinery/admin/_image_picker.html.erb (2.3ms)
Rendered /Users/juan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/refinerycms-9e79b276891f/core/app/views/refinery/admin/_wysiwyg.html.erb (0.5ms)
Rendered /Users/juan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/refinerycms-9e79b276891f/core/app/views/refinery/admin/_form_actions.html.erb (1.0ms)
Rendered vendor/extensions/posts/app/views/refinery/posts/admin/posts/_form.html.erb (114.7ms)
Rendered vendor/extensions/posts/app/views/refinery/posts/admin/posts/new.html.erb within layouts/refinery/admin (118.8ms)
Rendered refinery/_html_tag.html.erb (0.1ms)
Rendered /Users/juan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/refinerycms-9e79b276891f/core/app/views/refinery/admin/_javascripts.html.erb (132.0ms)
Rendered /Users/juan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/refinerycms-9e79b276891f/core/app/views/refinery/admin/_head.html.erb (201.8ms)
Rendered refinery/_site_bar.html.erb (0.7ms)
Rendered /Users/juan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/refinerycms-9e79b276891f/core/app/views/refinery/admin/_menu_item.html.erb (55.3ms)
Rendered /Users/juan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/bundler/gems/refinerycms-9e79b276891f/core/app/views/refinery/admin/_menu.html.erb (84.1ms)
Rendered refinery/_no_script.html.erb (0.3ms)
Rendered refinery/_message.html.erb (0.1ms)
Completed 200 OK in 511ms (Views: 485.9ms | ActiveRecord: 5.0ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment