Skip to content

Instantly share code, notes, and snippets.

View leonardorb's full-sized avatar
Shipping.

Leo leonardorb

Shipping.
View GitHub Profile
SCRIPT5007: Unable to get value of the property 'toLowerCase': object is null or undefined
application-9e17ef4adc135ea38a3bbf5d59aada3a.js, line 16 character 22499
class AddFileSizeLimitToAllPlans < ActiveRecord::Migration
def self.up
plans = Plan.all.select{|pl| pl.file_size_limit == 0}
plans.each do |plan|
plan.change_component_value(:file_size_limit,500)
end
end
def self.down
end
{"class_name":"message","message":"The folowing required parameters are missing: username","backtrace":"/a/dev/apps/pixilyapp/releases/20120711142507/app/controllers/api/api_controller.rb:214:in `require_parameters'\n/a/dev/apps/pixilyapp/releases/20120711142507/app/controllers/api/v2/sessions_controller.rb:7:in `create'\n/a/dev/apps/pixilyapp/shared/bundle/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in `send'\n/a/dev/apps/pixilyapp/shared/bundle/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in `perform_action_without_filters'\n/a/dev/apps/pixilyapp/shared/bundle/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:617:in `call_filters'\n/a/dev/apps/pixilyapp/shared/bundle/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'\n/a/dev/apps/pixilyapp/shared/bundle/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'\n/a/dev/apps/pixilyapp/shared/bund
{
"type" : "Folder",
"file_creation_time" : 0,
"id" : 125953,
"filename" : "00testFolder",
"page_count" : 0,
"folder_id" : 125670,
"has_children" : true,
"children_count" : 21,
"created_at" : "2012-07-05T17:30:13Z",
[
{
"type" : "Folder",
"size" : 0,
"class_name" : "file_entry",
"updated_at" : "2012-05-25T20:20:45Z",
"filename" : "Untitled Folder",
"shares_count" : 0,
"cached_parent_path" : "/",
"has_children" : false,
[
{
"type" : "Folder",
"size" : 0,
"class_name" : "file_entry",
"updated_at" : "2012-05-25T20:20:45Z",
"filename" : "Untitled Folder",
"shares_count" : 0,
"cached_parent_path" : "/",
"has_children" : false,
---------------------------1337690905211 Content-Disposition: form-data; name="Filedata[]"; filename="57702438945176605_Mx7mpuJE_c.jpg" Content-Type: application/octet-stream ÿØÿà�JFIF������ÿÛ�C�     ÿÛ�C   ÿÀ�›*"�ÿÄ����������� ÿÄ�µ���}�!1AQa"q2‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖ×ØÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ�������� ÿÄ�µ��w�!1AQaq"2B‘¡±Á #3RðbrÑ $4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖ×ØÙÚâãäåæçèéêòóôõö÷øùúÿÚ� ��?�âüaãMcÇ~ »Ö5›ë‹ËÛ©LŽòHH\Ÿºƒ¢¨è�㱄€7œýzSAÇ^”ª7 t­LîL²?÷›ïT‘»žC·>õ§2õàsڀ%Wp~óqïS«±þ6À÷¨‘N*dq@‰Uœÿ�cКž7ï°üjrj¨ôüètw'ï½O?woьd ³秵¹23ã–nGv5f6cÑÛ¯<Ô¨žOz°˜AÈ$�±3`‡?X‰Îxs‘êkcÃ>Ö¼TAÓì ?òÞA²1øž¿…uúÏà i«u¯ê
Cabeçalhos de Solicitação
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding gzip, deflate
Accept-Language pt-br,pt;q=0.8,en-us;q=0.5,en;q=0.3
Connection keep-alive
Content-Length 25367
Content-Type multipart/form-data; boundary=-------------------------1337690905211
Cookie _gingerbread-frontend_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTY5ZTU0MjQ0ODU2NzQ3Y2RiODcxY2ZmODdhZTJkYzA1BjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMUN2RjZkenUxYVY4bEtYWW9OS1J0NjNoaFMwdDI4RnJJZWNmU0hnQU03UGM9BjsARg%3D%3D--c6d97e89eb3ca6c21a791aabe27a3f27988a9050; _pixilyapp_session=7b3df341ce3ff00dbe89026db9224370; STK=devhpa101; _app_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTU2YzRhNjU1M2ViZGVkMDkzNjFjNTBiOGEzOWY3ZDY2BjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMWJkOUFheEErVWJ6RldvVVNJQVo4LzY4dlVrWVBMWU1QSXgxNEQzdWk2bmM9BjsARg%3D%3D--a1449b2a652405ba5fff7ead90dbde5b2c546f3a
Host localhost:3000
Referer http://localhost:3000/
<?xml version="1.0" encoding="UTF-8"?>
<message>
<backtrace>/a/dev/apps/pixilyapp/releases/20120522020226/app/model_helpers/uploaded_file.rb:75:in `path'
/a/dev/apps/pixilyapp/releases/20120522020226/app/model_helpers/uploaded_file.rb:27:in `attributes'
/a/dev/apps/pixilyapp/releases/20120522020226/app/services/document_processing_service.rb:18:in `accept_uploaded_file'
/a/dev/apps/pixilyapp/releases/20120522020226/app/services/document_processing_service.rb:6:in `accept_upload'
/a/dev/apps/pixilyapp/releases/20120522020226/app/controller_helpers/controller_document_uploader.rb:29:in `upload_document'
/a/dev/apps/pixilyapp/releases/20120522020226/app/controllers/api/sync/files_controller.rb:35:in `create'
/a/dev/apps/pixilyapp/shared/bundle/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in `send'
/a/dev/apps/pixilyapp/shared/bundle/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in `perform_action_without_filters'
2012/05/14 17:40:13 - - FATAL - Pixily::Log::CustomLogger - /!\ FAILSAFE /!\ Mon May 14 17:40:13 -0300 2012
Status: 500 Internal Server Error
could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (fe80::1) and accepting