daily pastebin goal
4%
SHARE
TWEET

Untitled

a guest Nov 24th, 2017 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Started POST "/articulos" for 127.0.0.1 at 2011-05-30 22:21:35 -0430
  2.   Processing by ArticulosController#create as HTML
  3.   Parameters: {"utf8"=>"✓", "authenticity_token"=>"PJKaCSIp8SioTOKdRcmP62dh4utjSOXM5vK7lErM05Q=", "articulo"=>{"titulo"=>"railcasts", "location"=>"Venezuela", "categoria_ids"=>["1"], "excerpt"=>"blah", "body"=>"lalalalalalalaalalala", "published_at(1i)"=>"2011", "published_at(2i)"=>"5", "published_at(3i)"=>"31", "published_at(4i)"=>"02", "published_at(5i)"=>"51"}, "commit"=>"Create Articulo"}
  4.   SQL (2.3ms)   SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
  5.  FROM pg_attribute a LEFT JOIN pg_attrdef d
  6.  ON a.attrelid = d.adrelid AND a.attnum = d.adnum
  7.  WHERE a.attrelid = '"usuarios"'::regclass
  8.  AND a.attnum > 0 AND NOT a.attisdropped
  9.  ORDER BY a.attnum
  10.  
  11.   SQL (1.4ms)   SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
  12.  FROM pg_attribute a LEFT JOIN pg_attrdef d
  13.  ON a.attrelid = d.adrelid AND a.attnum = d.adnum
  14.  WHERE a.attrelid = '"usuarios"'::regclass
  15.  AND a.attnum > 0 AND NOT a.attisdropped
  16.  ORDER BY a.attnum
  17.   Usuario Load (0.7ms)  SELECT "usuarios".* FROM "usuarios" WHERE "usuarios"."id" = 4 LIMIT 1
  18.   PK and serial sequence (2.9ms)   SELECT attr.attname, seq.relname
  19.  FROM pg_class seq,
  20.  pg_attribute attr,
  21.  pg_depend dep,
  22.  pg_namespace name,
  23.  pg_constraint cons
  24.  WHERE seq.oid = dep.objid
  25.  AND seq.relkind = 'S'
  26.  AND attr.attrelid = dep.refobjid
  27.  AND attr.attnum = dep.refobjsubid
  28.  AND attr.attrelid = cons.conrelid
  29.  AND attr.attnum = cons.conkey[1]
  30.  AND cons.contype = 'p'
  31.  AND dep.refobjid = '"articulos_categorias"'::regclass
  32.   PK and custom sequence (1.7ms)   SELECT attr.attname,
  33.  CASE
  34.  WHEN split_part(def.adsrc, '''', 2) ~ '.' THEN
  35.  substr(split_part(def.adsrc, '''', 2),
  36.  strpos(split_part(def.adsrc, '''', 2), '.')+1)
  37.  ELSE split_part(def.adsrc, '''', 2)
  38.  END
  39.  FROM pg_class t
  40.  JOIN pg_attribute attr ON (t.oid = attrelid)
  41.  JOIN pg_attrdef def ON (adrelid = attrelid AND adnum = attnum)
  42.  JOIN pg_constraint cons ON (conrelid = adrelid AND adnum = conkey[1])
  43.  WHERE t.oid = '"articulos_categorias"'::regclass
  44.  AND cons.contype = 'p'
  45.  AND def.adsrc ~* 'nextval'
  46.  
  47.   SQL (1.4ms)   SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
  48.  FROM pg_attribute a LEFT JOIN pg_attrdef d
  49.  ON a.attrelid = d.adrelid AND a.attnum = d.adnum
  50.  WHERE a.attrelid = '"articulos"'::regclass
  51.  AND a.attnum > 0 AND NOT a.attisdropped
  52.  ORDER BY a.attnum
  53.   SQL (0.3ms)  BEGIN
  54.   SQL (0.3ms)  ROLLBACK
  55.   PK and serial sequence (2.9ms)   SELECT attr.attname, seq.relname
  56.  FROM pg_class seq,
  57.  pg_attribute attr,
  58.  pg_depend dep,
  59.  pg_namespace name,
  60.  pg_constraint cons
  61.  WHERE seq.oid = dep.objid
  62.  AND seq.relkind = 'S'
  63.  AND attr.attrelid = dep.refobjid
  64.  AND attr.attnum = dep.refobjsubid
  65.  AND attr.attrelid = cons.conrelid
  66.  AND attr.attnum = cons.conkey[1]
  67.  AND cons.contype = 'p'
  68.  AND dep.refobjid = '"articulos_categorias"'::regclass
  69.  
  70.   PK and custom sequence (1.7ms)   SELECT attr.attname,
  71.  CASE
  72.  WHEN split_part(def.adsrc, '''', 2) ~ '.' THEN
  73.  substr(split_part(def.adsrc, '''', 2),
  74.  strpos(split_part(def.adsrc, '''', 2), '.')+1)
  75.  ELSE split_part(def.adsrc, '''', 2)
  76.  END
  77.  FROM pg_class t
  78.  JOIN pg_attribute attr ON (t.oid = attrelid)
  79.  JOIN pg_attrdef def ON (adrelid = attrelid AND adnum = attnum)
  80.  JOIN pg_constraint cons ON (conrelid = adrelid AND adnum = conkey[1])
  81.  WHERE t.oid = '"articulos_categorias"'::regclass
  82.  AND cons.contype = 'p'
  83.  AND def.adsrc ~* 'nextval'
  84.   Categoria Load (0.6ms)  SELECT "categorias".* FROM "categorias"
  85.   SQL (1.1ms)   SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
  86.  FROM pg_attribute a LEFT JOIN pg_attrdef d
  87.  ON a.attrelid = d.adrelid AND a.attnum = d.adnum
  88.  WHERE a.attrelid = '"categorias"'::regclass
  89.  AND a.attnum > 0 AND NOT a.attisdropped
  90.  ORDER BY a.attnum
  91.   SQL (1.2ms)   SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
  92.  FROM pg_attribute a LEFT JOIN pg_attrdef d
  93.  ON a.attrelid = d.adrelid AND a.attnum = d.adnum
  94.  WHERE a.attrelid = '"articulos_categorias"'::regclass
  95.  AND a.attnum > 0 AND NOT a.attisdropped
  96.  ORDER BY a.attnum
  97.  
  98.   Categoria Load (0.6ms)  SELECT "categorias".id FROM "categorias" INNER JOIN "articulos_categorias" ON "categorias".id = "articulos_categorias".categoria_id WHERE ("articulos_categorias".articulo_id = NULL )
  99.   CACHE (0.0ms)  SELECT "categorias".id FROM "categorias" INNER JOIN "articulos_categorias" ON "categorias".id = "articulos_categorias".categoria_id WHERE ("articulos_categorias".articulo_id = NULL )
  100.   CACHE (0.0ms)  SELECT "categorias".id FROM "categorias" INNER JOIN "articulos_categorias" ON "categorias".id = "articulos_categorias".categoria_id WHERE ("articulos_categorias".articulo_id = NULL )
  101.   CACHE (0.0ms)  SELECT "categorias".id FROM "categorias" INNER JOIN "articulos_categorias" ON "categorias".id = "articulos_categorias".categoria_id WHERE ("articulos_categorias".articulo_id = NULL )
  102.   CACHE (0.0ms)  SELECT "categorias".id FROM "categorias" INNER JOIN "articulos_categorias" ON "categorias".id = "articulos_categorias".categoria_id WHERE ("articulos_categorias".articulo_id = NULL )
  103. Rendered articulos/_form.html.erb (114.9ms)
  104. Rendered articulos/new.html.erb within layouts/application (126.5ms)
  105. Completed 200 OK in 626ms (Views: 128.7ms | ActiveRecord: 20.2ms)
RAW Paste Data
Top