time-exchange-gr/oscurrency — Issue #63: long description when giving hours causes StatementInvalid in exchanges#create
Author: 3point2
Created: 2011-12-22 23:41:54+00:00
State: open

there's also no error message.

the form should validate the length of the input and show a nice message if it's too long.

```
A ActiveRecord::StatementInvalid occurred in exchanges#create:

PGError: ERROR: value too long for type character varying(255)
: INSERT INTO "reqs" ("name", "estimated_hours", "created_at", "updated_at", "group_id", "due_date", "person_id", "description", "notifications", "active") VALUES('this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. ', 5.0, '2011-12-22 23:29:57.537080', '2011-12-22 23:29:57.537080', 1, '2011-12-22 23:29:57.526046', 2, NULL, 'f', 'f') RETURNING "id"
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract_adapter.rb:227:in `log'

-------------------------------
Request:
-------------------------------

* URL : http://test.time-exchange.gr/people/4-forum-notification-default-tester/exchanges
* IP address: 24.161.126.228
* Parameters: {"action"=>"create", "authenticity_token"=>"aYqEycAA3xGTcgRVI1vx5X58dgYzcHeq2hLy3iJqwKQ=", "exchange"=>{"amount"=>"5", "group_id"=>"1"}, "person_id"=>"4-forum-notification-default-tester", "controller"=>"exchanges", "req"=>{"name"=>"this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. "}}
* Rails root: /app

-------------------------------
Session:
-------------------------------

* session id: nil
* data: nil

-------------------------------
Environment:
-------------------------------

* CONTENT_LENGTH : 1248
* CONTENT_TYPE : application/x-www-form-urlencoded
* GATEWAY_INTERFACE : CGI/1.2
* HTTP_ACCEPT : text/javascript, application/javascript, */*; q=0.01
* HTTP_ACCEPT_CHARSET : ISO-8859-1,utf-8;q=0.7,*;q=0.3
* HTTP_ACCEPT_ENCODING : gzip,deflate,sdch
* HTTP_ACCEPT_LANGUAGE : en-US,en;q=0.8,el;q=0.6
* HTTP_CONNECTION : close
* HTTP_COOKIE : person_credentials=a7d16c3c955c5eb85229b74566d6bfcd86fa61b6a0da8e100666c4e8f4f365c9b71eef861bb62bb1b27f3f58321a14cff05eaf0a0d4c01b3503a13a97bd802be%3A%3A2; _oscurrency_session=BAh7CSIacGVyc29uX2NyZWRlbnRpYWxzX2lkaQc6EF9jc3JmX3Rva2VuIjFhWXFFeWNBQTN4R1RjZ1JWSTF2eDVYNThkZ1l6Y0hlcTJoTHkzaUpxd0tRPToPc2Vzc2lvbl9pZCIlNjE3ZjA4ZTk4YmI3NTZmOWNkNGE0YzYyZDBkZmNkNjIiF3BlcnNvbl9jcmVkZW50aWFscyIBgGE3ZDE2YzNjOTU1YzVlYjg1MjI5Yjc0NTY2ZDZiZmNkODZmYTYxYjZhMGRhOGUxMDA2NjZjNGU4ZjRmMzY1YzliNzFlZWY4NjFiYjYyYmIxYjI3ZjNmNTgzMjFhMTRjZmYwNWVhZjBhMGQ0YzAxYjM1MDNhMTNhOTdiZDgwMmJl--53e0f2ee60dcac8bf87ac724ce606e0d8858841d
* HTTP_HOST : test.time-exchange.gr
* HTTP_ORIGIN : http://test.time-exchange.gr
* HTTP_REFERER : http://test.time-exchange.gr/groups/1
* HTTP_USER_AGENT : Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2
* HTTP_VERSION : HTTP/1.0
* HTTP_X_FORWARDED_FOR : 24.161.126.228
* HTTP_X_HEROKU_DYNOS_IN_USE : 1
* HTTP_X_HEROKU_QUEUE_DEPTH : 0
* HTTP_X_HEROKU_QUEUE_WAIT_TIME : 2
* HTTP_X_REAL_IP : 24.161.126.228
* HTTP_X_REQUESTED_WITH : XMLHttpRequest
* HTTP_X_REQUEST_START : 1324596597433
* PATH_INFO : /people/4-forum-notification-default-tester/exchanges
* QUERY_STRING :
* REMOTE_ADDR : 10.104.43.187
* REQUEST_METHOD : POST
* REQUEST_PATH : /people/4-forum-notification-default-tester/exchanges
* REQUEST_URI : /people/4-forum-notification-default-tester/exchanges
* SCRIPT_NAME :
* SERVER_NAME : test.time-exchange.gr
* SERVER_PORT : 80
* SERVER_PROTOCOL : HTTP/1.1
* SERVER_SOFTWARE : thin 1.2.6 codename Crazy Delicious
* action_controller.request.path_parameters : actioncreateperson_id4-forum-notification-default-testercontrollerexchanges
* action_controller.request.query_parameters :
* action_controller.request.request_parameters : authenticity_tokenaYqEycAA3xGTcgRVI1vx5X58dgYzcHeq2hLy3iJqwKQ=exchangeamount5group_id1reqnamethis is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description.
* action_controller.rescue.request : #
* action_controller.rescue.response : #
* action_dispatch.request.unsigned_session_cookie: person_credentials_id2_csrf_tokenaYqEycAA3xGTcgRVI1vx5X58dgYzcHeq2hLy3iJqwKQ=session_id617f08e98bb756f9cd4a4c62d0dfcd62person_credentialsa7d16c3c955c5eb85229b74566d6bfcd86fa61b6a0da8e100666c4e8f4f365c9b71eef861bb62bb1b27f3f58321a14cff05eaf0a0d4c01b3503a13a97bd802be
* async.callback : #
* async.close : #
* rack.errors : #
* rack.input : #
* rack.multiprocess : false
* rack.multithread : false
* rack.request.cookie_hash : _oscurrency_sessionBAh7CSIacGVyc29uX2NyZWRlbnRpYWxzX2lkaQc6EF9jc3JmX3Rva2VuIjFhWXFFeWNBQTN4R1RjZ1JWSTF2eDVYNThkZ1l6Y0hlcTJoTHkzaUpxd0tRPToPc2Vzc2lvbl9pZCIlNjE3ZjA4ZTk4YmI3NTZmOWNkNGE0YzYyZDBkZmNkNjIiF3BlcnNvbl9jcmVkZW50aWFscyIBgGE3ZDE2YzNjOTU1YzVlYjg1MjI5Yjc0NTY2ZDZiZmNkODZmYTYxYjZhMGRhOGUxMDA2NjZjNGU4ZjRmMzY1YzliNzFlZWY4NjFiYjYyYmIxYjI3ZjNmNTgzMjFhMTRjZmYwNWVhZjBhMGQ0YzAxYjM1MDNhMTNhOTdiZDgwMmJl--53e0f2ee60dcac8bf87ac724ce606e0d8858841dperson_credentialsa7d16c3c955c5eb85229b74566d6bfcd86fa61b6a0da8e100666c4e8f4f365c9b71eef861bb62bb1b27f3f58321a14cff05eaf0a0d4c01b3503a13a97bd802be::2
* rack.request.cookie_string : person_credentials=a7d16c3c955c5eb85229b74566d6bfcd86fa61b6a0da8e100666c4e8f4f365c9b71eef861bb62bb1b27f3f58321a14cff05eaf0a0d4c01b3503a13a97bd802be%3A%3A2; _oscurrency_session=BAh7CSIacGVyc29uX2NyZWRlbnRpYWxzX2lkaQc6EF9jc3JmX3Rva2VuIjFhWXFFeWNBQTN4R1RjZ1JWSTF2eDVYNThkZ1l6Y0hlcTJoTHkzaUpxd0tRPToPc2Vzc2lvbl9pZCIlNjE3ZjA4ZTk4YmI3NTZmOWNkNGE0YzYyZDBkZmNkNjIiF3BlcnNvbl9jcmVkZW50aWFscyIBgGE3ZDE2YzNjOTU1YzVlYjg1MjI5Yjc0NTY2ZDZiZmNkODZmYTYxYjZhMGRhOGUxMDA2NjZjNGU4ZjRmMzY1YzliNzFlZWY4NjFiYjYyYmIxYjI3ZjNmNTgzMjFhMTRjZmYwNWVhZjBhMGQ0YzAxYjM1MDNhMTNhOTdiZDgwMmJl--53e0f2ee60dcac8bf87ac724ce606e0d8858841d
* rack.request.form_hash : authenticity_tokenaYqEycAA3xGTcgRVI1vx5X58dgYzcHeq2hLy3iJqwKQ=exchangeamount5group_id1reqnamethis is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description. this is a really long description.
* rack.request.form_input : #
* rack.request.form_vars : authenticity_token=aYqEycAA3xGTcgRVI1vx5X58dgYzcHeq2hLy3iJqwKQ%3D&exchange%5Bgroup_id%5D=1&exchange%5Bamount%5D=5&req%5Bname%5D=this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+this+is+a+really+long+description.+
* rack.request.query_hash :
* rack.request.query_string :
* rack.run_once : false
* rack.session : person_credentials_id2_csrf_tokenaYqEycAA3xGTcgRVI1vx5X58dgYzcHeq2hLy3iJqwKQ=session_id617f08e98bb756f9cd4a4c62d0dfcd62person_credentialsa7d16c3c955c5eb85229b74566d6bfcd86fa61b6a0da8e100666c4e8f4f365c9b71eef861bb62bb1b27f3f58321a14cff05eaf0a0d4c01b3503a13a97bd802be
* rack.session.options : domainpath/expire_afterkey_session_idhttponlytrueid617f08e98bb756f9cd4a4c62d0dfcd62
* rack.url_scheme : http
* rack.version : 10

* Process: 1
* Server : 5f5e7667-5d71-4aed-8ba7-79915f3fcd2c

-------------------------------
Backtrace:
-------------------------------

[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract_adapter.rb:227:in `log'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/postgresql_adapter.rb:520:in `execute'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/postgresql_adapter.rb:1002:in `select_raw'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/postgresql_adapter.rb:989:in `select'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in `select_all_without_query_cache'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/query_cache.rb:60:in `select_all'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/query_cache.rb:81:in `cache_sql'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/query_cache.rb:60:in `select_all'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/database_statements.rb:13:in `select_one'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/database_statements.rb:19:in `select_value'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/postgresql_adapter.rb:460:in `insert'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/base.rb:2961:in `create_without_timestamps'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/timestamp.rb:53:in `create_without_callbacks'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/callbacks.rb:266:in `create'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/callbacks.rb:250:in `create_or_update'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/base.rb:2594:in `save_without_validation!'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/validations.rb:1099:in `save_without_dirty!'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/dirty.rb:87:in `save_without_transactions!'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:200:in `save!'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:182:in `transaction'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:200:in `save!'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:200:in `save!'
[RAILS_ROOT]/app/controllers/exchanges_controller.rb:74:in `create'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in `send'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in `perform_action_without_filters'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:617:in `call_filters'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/ruby1.8.7/lib/ruby/1.8/benchmark.rb:308:in `realtime'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/core_ext/benchmark.rb:17:in `ms'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/flash.rb:151:in `perform_action_without_render_component'
[RAILS_ROOT]/vendor/plugins/render_component/lib/components.rb:39:in `perform_action'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in `send'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in `process_without_filters'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:606:in `process'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:391:in `process'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:386:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/routing/route_set.rb:438:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:87:in `dispatch'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:121:in `_call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:29:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:29:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:9:in `cache'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:28:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/string_coercion.rb:25:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/rack-1.1.2/lib/rack/head.rb:9:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/rack-1.1.2/lib/rack/methodoverride.rb:24:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/params_parser.rb:15:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/session/cookie_store.rb:99:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/cache/strategy/local_cache.rb:25:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/failsafe.rb:26:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/rack-1.1.2/lib/rack/lock.rb:11:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/rack-1.1.2/lib/rack/lock.rb:11:in `synchronize'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/rack-1.1.2/lib/rack/lock.rb:11:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:106:in `call'
/usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/rack/adapter/rails.rb:74:in `call'
/home/heroku_rack/lib/static_assets.rb:9:in `call'
/home/heroku_rack/lib/last_access.rb:15:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/rack-1.1.2/lib/rack/urlmap.rb:47:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/rack-1.1.2/lib/rack/urlmap.rb:41:in `each'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/rack-1.1.2/lib/rack/urlmap.rb:41:in `call'
/home/heroku_rack/lib/date_header.rb:14:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/rack-1.1.2/lib/rack/builder.rb:77:in `call'
/usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/thin/connection.rb:76:in `pre_process'
/usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/thin/connection.rb:74:in `catch'
/usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/thin/connection.rb:74:in `pre_process'
/usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/thin/connection.rb:57:in `process'
/usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/thin/connection.rb:42:in `receive_data'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
/usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/thin/backends/base.rb:57:in `start'
/usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/thin/server.rb:156:in `start'
/usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/thin/controllers/controller.rb:80:in `start'
/usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/thin/runner.rb:177:in `send'
/usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/thin/runner.rb:177:in `run_command'
/usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/thin/runner.rb:143:in `run!'
/usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/bin/thin:6
/usr/ruby1.8.7/bin/thin:19:in `load'
/usr/ruby1.8.7/bin/thin:19
```