Skip to content

Instantly share code, notes, and snippets.

View lamp's full-sized avatar
🇨🇦

@lamp lamp

🇨🇦
  • BC
  • 21:53 (UTC -06:00)
View GitHub Profile
merb : worker (port 5555) ~ In repository block default
merb : worker (port 5555) ~ Started request handling: Fri Dec 17 15:39:55 +0000 2010
merb : worker (port 5555) ~ Routed to: {"oauth_nonce"=>"7656", "format"=>nil, "action"=>"index", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1292600395", "seed_name"=>"development", "user_id"=>"1", "controller"=>"assets/all", "oauth_consumer_key"=>"test_consumer_key", "oauth_token"=>"VA4IjNkq8YVulyT7Dk979sxNPS5i3i", "asset"=>{"order"=>"updated_at.desc", "page"=>"2", "limit"=>"15"}, "oauth_signature"=>"rua+4jG4IAx34xDZrsiheoibRWA=", "api_version"=>"1"}
merb : worker (port 5555) ~ Params: {"oauth_nonce"=>"7656", "format"=>nil, "action"=>"index", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1292600395", "seed_name"=>"development", "user_id"=>"1", "controller"=>"assets/all", "oauth_consumer_key"=>"test_consumer_key", "oauth_token"=>"VA4IjNkq8YVulyT7Dk979sxNPS5i3i", "asset"=>{"order"=>"updated_at.desc", "page"=>"2", "limit"=>"15"}, "oauth_signatur
can't convert String into Integer - (TypeError)
/work/videojuicer/vj-core/app/controllers/assets/all.rb:17:in `[]'
/work/videojuicer/vj-core/app/controllers/assets/all.rb:17:in `index'
undefined method `created_at' for #<Hash:0x10639aa60> - (NoMethodError)
/work/videojuicer/vj-core/app/controllers/assets/all.rb:22:in `send'
/work/videojuicer/vj-core/app/controllers/assets/all.rb:22:in `index'
/work/videojuicer/vj-core/app/controllers/assets/all.rb:19:in `sort'
/work/videojuicer/vj-core/app/controllers/assets/all.rb:19:in `index'
<?xml version="1.1" encoding="UTF-8"?>
<!DOCTYPE smil PUBLIC "-//W3C//DTD SMIL 3.0 Language//EN" "http://www.w3.org/2008/SMIL30/SMIL30Language.dtd">
<!-- Default SMIL document layout rendered at 14:33:34 2010:12:07-->
<smil xmlns="http://www.w3.org/ns/SMIL">
<head>
<meta name="title" content="Thumbnail Test" />
<meta name="author" content="" />
<meta name="abstract" content="" />
<meta name="copyright" content="" />
<meta name="ga" content="UA-2152923-6" />
{
"format" = >nil,
"action" = >"update",
"_method" = >"put",
"id" = >"45",
"campaign" = >{
"name" = >"kjfkjhfkjhg",
"presentations" = >"tagged",
"tag_list" = >"",
"insert_domain" = >"com.videojuicer.asset"
~ (0.000006) INSERT INTO `inserts` (`user_id`, `campaign_id`, `role`, `duration`, `offset_time`, `offset_x`, `offset_y`, `anchor_x`, `anchor_y`, `click_href`, `click_target`, `asset_type`, `asset_id`, `created_at`, `updated_at`) VALUES (1, 45, 'overlay', 30000, 30000, 0, 0, 'left', 'top', '', '_self', 'com.videojuicer.core.asset.Image', 49, '', '2010-11-25 14:42:10')
~ Incorrect datetime value: '' for column 'created_at' at row 1 (code: 1292, sql state: 22007, query: INSERT INTO `inserts` (`user_id`, `campaign_id`, `role`, `duration`, `offset_time`, `offset_x`, `offset_y`, `anchor_x`, `anchor_y`, `click_href`, `click_target`, `asset_type`, `asset_id`, `created_at`, `updated_at`) VALUES (1, 45, 'overlay', 30000, 30000, 0, 0, 'left', 'top', '', '_self', 'com.videojuicer.core.asset.Image', 49, '', '2010-11-25 14:42:10'), uri: mysql://root@127.0.01:3306seed_development_development)
merb : worker (port 5555) ~ Incorrect datetime value: '' for column 'created_at' at row 1 - (DataObjects::DataError)
/Users/matthew
{
"oauth_nonce" = >"6767",
"format" = >nil,
"action" = >"create",
"seed_name" = >"development",
"oauth_timestamp" = >"1290695900",
"oauth_signature_method" = >"HMAC-SHA1",
"insert" = >{
"asset_type" = >"com.videojuicer.core.asset.Video",
"duration" = >"30000",
{
"format" = >nil,
"action" = >"update",
"_method" = >"put",
"id" = >"45",
"campaign" = >{
"name" = >"kjfkjhfkjhg",
"presentations" = >"tagged",
"tag_list" = >"",
"insert_domain" = >"com.videojuicer.asset"
{"format"=>nil, "action"=>"update", "_method"=>"put", "id"=>"45", "campaign"=>{"name"=>"kjfkjhfkjhg", "presentations"=>"tagged", "tag_list"=>"", "insert_domain"=>"com.videojuicer.asset"}, "insert_529CEF23"=>{"asset_type"=>"image", "duration"=>"34000", "role"=>"overlay", "offset_x"=>"0", "anchor_x"=>"left", "offset_time"=>"30000", "offset_y"=>"0", "anchor_y"=>"top", "click_href"=>"", "asset_id"=>"48"}, "controller"=>"campaigns", "insert_asset"=>{"asset_type"=>"", "asset_id"=>""}}
{"oauth_nonce"=>"5348", "format"=>nil, "action"=>"create", "seed_name"=>"development", "oauth_timestamp"=>"1290694695", "oauth_signature_method"=>"HMAC-SHA1", "insert"=>{"asset_type"=>"com.videojuicer.core.asset.Image", "duration"=>"30000", "created_at"=>"", "campaign_id"=>"45", "updated_at"=>"", "role"=>"overlay", "anchor_x"=>"left", "offset_time"=>"30000", "offset_x"=>"0", "anchor_y"=>"top", "click_href"=>"", "offset_y"=>"0", "click_target"=>"_self", "asset_id"=>"47"}, "user_id"=>"1", "controller"=>"inserts", "oauth_token"=>"vQohJr3cUlxVSSj8Fc6ScdlR6EOKQy", "oauth_consumer_key"=>"test_consumer_key", "oauth_signature"=>"cC3jPFw3Skrr+h94GFpooD/RcaQ=", "api_version"=>"1"}
merb : worker (port 5555) ~ Params: {"oauth_nonce"=>"5348", "format"=>nil, "action"=>"create", "seed_name"=>"development", "oauth_timestamp"=>"1290694695", "oauth_signature_method"=>"HMAC-SHA1", "insert"=>{"asset_type"=>"com.videojuicer.core.asset.Image", "duration"=>"30000", "created_at"=>"", "campaign_id"=>"45", "updated_at"=>"", "role"=>"o