time-exchange-gr/oscurrency — Issue #23: StatementInvalid exception in bids#create
Author: 3point2
Created: 2011-11-14 23:32:10+00:00
State: open

phone number in the private message santized with X's. this also happened with one other user creating a bid, i have the details from that one too if needed. seems like an encoding issue in the db backend.

A ActiveRecord::StatementInvalid occurred in bids#create:

PGError: ERROR: invalid byte sequence for encoding "UTF8": 0xcf2e
HINT: This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding".
: INSERT INTO "communications" ("created_at", "recipient_read_at", "replied_at", "updated_at", "conversation_id", "subject", "recipient_id", "sender_deleted_at", "type", "content", "sender_id", "parent_id", "sender_read_at", "recipient_deleted_at") VALUES('2011-11-12 11:32:14.294259', NULL, NULL, '2011-11-12 11:32:14.294259', 58, 'BID: 1.0 hours - Κηπουρική και μαθήματα ισπανικÏ...', 28, NULL, 'Message', 'Καλησπέρα. Πρέπει να δώ τα φυτά σου και να σου φέρω το δικό μου βιολογικό λίπασμα αν χρειάζεται. Πες μου περισσότερα όμως. κιν:XXXXXXXXXX
Υ.Γ. για Δωρεάν μαθήματα Ισπανικών μπορείς να έρθεις εκεί που πάω εγώ !
--

See your request to consider bid', 26, NULL, NULL, NULL) 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://www.time-exchange.gr/reqs/42/bids
* IP address: 188.4.110.6
* Parameters: {"action"=>"create", "authenticity_token"=>"bx29Y0rt6DvizW88x35stqyub7wfaU+vodA0nGesExk=", "bid"=>{"expiration_date"=>"11/30/2011", "estimated_hours"=>"1", "private_message_to_requestor"=>"Καλησπέρα. Πρέπει να δώ τα φυτά σου και να σου φέρω το δικό μου βιολογικό λίπασμα αν χρειάζεται. Πες μου περισσότερα όμως. κιν:XXXXXXXXXX\nΥ.Γ. για Δωρεάν μαθήματα Ισπανικών μπορείς να έρθεις εκεί που πάω εγώ !"}, "controller"=>"bids", "req_id"=>"42"}
* Rails root: /app

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

* session id: nil
* data: nil

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

* CONTENT_LENGTH : 1171
* CONTENT_TYPE : application/x-www-form-urlencoded; charset=UTF-8
* GATEWAY_INTERFACE : CGI/1.2
* HTTP_ACCEPT : text/javascript, application/javascript, */*; q=0.01
* HTTP_ACCEPT_CHARSET : ISO-8859-7,utf-8;q=0.7,*;q=0.7
* HTTP_ACCEPT_ENCODING : gzip,deflate
* HTTP_ACCEPT_LANGUAGE : el-gr,el;q=0.8,en-us;q=0.5,en;q=0.3
* HTTP_CACHE_CONTROL : no-cache
* HTTP_CONNECTION : close
* HTTP_COOKIE : trcusr=1827; cltid=5900; fboard_settings[member_id]=149; fboard_settings[current_view]=flat; _oscurrency_session=BAh7CSIacGVyc29uX2NyZWRlbnRpYWxzX2lkaR86EF9jc3JmX3Rva2VuIjFieDI5WTBydDZEdml6Vzg4eDM1c3RxeXViN3dmYVUrdm9kQTBuR2VzRXhrPToPc2Vzc2lvbl9pZCIlMzY1OGVmYmFmZTAxNDk0ZWU0Mjg5ZTFjYjQ5MGZmZTgiF3BlcnNvbl9jcmVkZW50aWFscyIBgGY1OTc2NjMyNWYzMjE4MDZhODQ0ODc2NjQ4MDdiZDY1NTMwNDU5NGZlM2RjOTNiMmQ4ODQzZmY3N2QwYzYwNDg4NjVlOTQ3MTNkNGUyYzg1ZjliYmMyOWY3MTY2OWIwMDVhM2I2NDEzZWNlMWJiYWQxNmNmYWE1MTY1MmUwYWE1--c72d0ea99cec4a8e734b18fe1eb4e9178c1b2240; person_credentials=f59766325f321806a84487664807bd655304594fe3dc93b2d8843ff77d0c6048865e94713d4e2c85f9bbc29f71669b005a3b6413ece1bbad16cfaa51652e0aa5%3A%3A26
* HTTP_HOST : www.time-exchange.gr
* HTTP_PRAGMA : no-cache
* HTTP_REFERER : http://www.time-exchange.gr/groups/1
* HTTP_USER_AGENT : Mozilla/5.0 (Windows; U; Windows NT 5.1; el; rv:1.9.2.24) Gecko/20111103 Firefox/3.6.24
* HTTP_VERSION : HTTP/1.0
* HTTP_X_FORWARDED_FOR : 188.4.110.6
* HTTP_X_HEROKU_DYNOS_IN_USE : 1
* HTTP_X_HEROKU_QUEUE_DEPTH : 0
* HTTP_X_HEROKU_QUEUE_WAIT_TIME : 2
* HTTP_X_REAL_IP : 188.4.110.6
* HTTP_X_REQUESTED_WITH : XMLHttpRequest
* HTTP_X_REQUEST_START : 1321097534248
* PATH_INFO : /reqs/42/bids
* QUERY_STRING :
* REMOTE_ADDR : 10.188.19.23
* REQUEST_METHOD : POST
* REQUEST_PATH : /reqs/42/bids
* REQUEST_URI : /reqs/42/bids
* SCRIPT_NAME :
* SERVER_NAME : www.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 : actioncreatereq_id42controllerbids
* action_controller.request.query_parameters :
* action_controller.request.request_parameters : authenticity_tokenbx29Y0rt6DvizW88x35stqyub7wfaU+vodA0nGesExk=bidestimated_hours1expiration_date11/30/2011private_message_to_requestorÎšÎ±Î»Î·ÏƒÏ€Î­ÏÎ±. Î ÏÎ­Ï€ÎµÎ¹ Î½Î± Î´ÏŽ Ï„Î± Ï†Ï…Ï„Î¬ ÏƒÎ¿Ï… ÎºÎ±Î¹ Î½Î± ÏƒÎ¿Ï… Ï†Î­ÏÏ‰ Ï„Î¿ Î´Î¹ÎºÏŒ Î¼Î¿Ï… Î²Î¹Î¿Î»Î¿Î³Î¹ÎºÏŒ Î»Î¯Ï€Î±ÏƒÎ¼Î± Î±Î½ Ï‡ÏÎµÎ¹Î¬Î¶ÎµÏ„Î±Î¹. Î ÎµÏ‚ Î¼Î¿Ï… Ï€ÎµÏÎ¹ÏƒÏƒÏŒÏ„ÎµÏÎ± ÏŒÎ¼Ï‰Ï‚. ÎºÎ¹Î½:6932500093
Î¥.Î“. Î³Î¹Î± Î”Ï‰ÏÎµÎ¬Î½ Î¼Î±Î¸Î®Î¼Î±Ï„Î± Î™ÏƒÏ€Î±Î½Î¹ÎºÏŽÎ½ Î¼Ï€Î¿ÏÎµÎ¯Ï‚ Î½Î± Î­ÏÎ¸ÎµÎ¹Ï‚ ÎµÎºÎµÎ¯ Ï€Î¿Ï… Ï€Î¬Ï‰ ÎµÎ³ÏŽ !
* action_controller.rescue.request : #
* action_controller.rescue.response : #
* action_dispatch.request.unsigned_session_cookie: _csrf_tokenbx29Y0rt6DvizW88x35stqyub7wfaU+vodA0nGesExk=person_credentials_id26session_id3658efbafe01494ee4289e1cb490ffe8person_credentialsf59766325f321806a84487664807bd655304594fe3dc93b2d8843ff77d0c6048865e94713d4e2c85f9bbc29f71669b005a3b6413ece1bbad16cfaa51652e0aa5
* async.callback : #
* async.close : #
* rack.errors : #
* rack.input : #
* rack.multiprocess : false
* rack.multithread : false
* rack.request.cookie_hash : fboard_settings[member_id]149_oscurrency_sessionBAh7CSIacGVyc29uX2NyZWRlbnRpYWxzX2lkaR86EF9jc3JmX3Rva2VuIjFieDI5WTBydDZEdml6Vzg4eDM1c3RxeXViN3dmYVUrdm9kQTBuR2VzRXhrPToPc2Vzc2lvbl9pZCIlMzY1OGVmYmFmZTAxNDk0ZWU0Mjg5ZTFjYjQ5MGZmZTgiF3BlcnNvbl9jcmVkZW50aWFscyIBgGY1OTc2NjMyNWYzMjE4MDZhODQ0ODc2NjQ4MDdiZDY1NTMwNDU5NGZlM2RjOTNiMmQ4ODQzZmY3N2QwYzYwNDg4NjVlOTQ3MTNkNGUyYzg1ZjliYmMyOWY3MTY2OWIwMDVhM2I2NDEzZWNlMWJiYWQxNmNmYWE1MTY1MmUwYWE1--c72d0ea99cec4a8e734b18fe1eb4e9178c1b2240fboard_settings[current_view]flatcltid5900person_credentialsf59766325f321806a84487664807bd655304594fe3dc93b2d8843ff77d0c6048865e94713d4e2c85f9bbc29f71669b005a3b6413ece1bbad16cfaa51652e0aa5::26trcusr1827
* rack.request.cookie_string : trcusr=1827; cltid=5900; fboard_settings[member_id]=149; fboard_settings[current_view]=flat; _oscurrency_session=BAh7CSIacGVyc29uX2NyZWRlbnRpYWxzX2lkaR86EF9jc3JmX3Rva2VuIjFieDI5WTBydDZEdml6Vzg4eDM1c3RxeXViN3dmYVUrdm9kQTBuR2VzRXhrPToPc2Vzc2lvbl9pZCIlMzY1OGVmYmFmZTAxNDk0ZWU0Mjg5ZTFjYjQ5MGZmZTgiF3BlcnNvbl9jcmVkZW50aWFscyIBgGY1OTc2NjMyNWYzMjE4MDZhODQ0ODc2NjQ4MDdiZDY1NTMwNDU5NGZlM2RjOTNiMmQ4ODQzZmY3N2QwYzYwNDg4NjVlOTQ3MTNkNGUyYzg1ZjliYmMyOWY3MTY2OWIwMDVhM2I2NDEzZWNlMWJiYWQxNmNmYWE1MTY1MmUwYWE1--c72d0ea99cec4a8e734b18fe1eb4e9178c1b2240; person_credentials=f59766325f321806a84487664807bd655304594fe3dc93b2d8843ff77d0c6048865e94713d4e2c85f9bbc29f71669b005a3b6413ece1bbad16cfaa51652e0aa5%3A%3A26
* rack.request.form_hash : authenticity_tokenbx29Y0rt6DvizW88x35stqyub7wfaU+vodA0nGesExk=bidexpiration_date11/30/2011estimated_hours1private_message_to_requestorÎšÎ±Î»Î·ÏƒÏ€Î­ÏÎ±. Î ÏÎ­Ï€ÎµÎ¹ Î½Î± Î´ÏŽ Ï„Î± Ï†Ï…Ï„Î¬ ÏƒÎ¿Ï… ÎºÎ±Î¹ Î½Î± ÏƒÎ¿Ï… Ï†Î­ÏÏ‰ Ï„Î¿ Î´Î¹ÎºÏŒ Î¼Î¿Ï… Î²Î¹Î¿Î»Î¿Î³Î¹ÎºÏŒ Î»Î¯Ï€Î±ÏƒÎ¼Î± Î±Î½ Ï‡ÏÎµÎ¹Î¬Î¶ÎµÏ„Î±Î¹. Î ÎµÏ‚ Î¼Î¿Ï… Ï€ÎµÏÎ¹ÏƒÏƒÏŒÏ„ÎµÏÎ± ÏŒÎ¼Ï‰Ï‚. ÎºÎ¹Î½:6932500093
Î¥.Î“. Î³Î¹Î± Î”Ï‰ÏÎµÎ¬Î½ Î¼Î±Î¸Î®Î¼Î±Ï„Î± Î™ÏƒÏ€Î±Î½Î¹ÎºÏŽÎ½ Î¼Ï€Î¿ÏÎµÎ¯Ï‚ Î½Î± Î­ÏÎ¸ÎµÎ¹Ï‚ ÎµÎºÎµÎ¯ Ï€Î¿Ï… Ï€Î¬Ï‰ ÎµÎ³ÏŽ !
* rack.request.form_input : #
* rack.request.form_vars : authenticity_token=bx29Y0rt6DvizW88x35stqyub7wfaU%2BvodA0nGesExk%3D&bid%5Bestimated_hours%5D=1&bid%5Bexpiration_date%5D=11%2F30%2F2011&bid%5Bprivate_message_to_requestor%5D=%CE%9A%CE%B1%CE%BB%CE%B7%CF%83%CF%80%CE%AD%CF%81%CE%B1.+%CE%A0%CF%81%CE%AD%CF%80%CE%B5%CE%B9+%CE%BD%CE%B1+%CE%B4%CF%8E+%CF%84%CE%B1+%CF%86%CF%85%CF%84%CE%AC+%CF%83%CE%BF%CF%85+%CE%BA%CE%B1%CE%B9+%CE%BD%CE%B1+%CF%83%CE%BF%CF%85+%CF%86%CE%AD%CF%81%CF%89+%CF%84%CE%BF+%CE%B4%CE%B9%CE%BA%CF%8C+%CE%BC%CE%BF%CF%85+%CE%B2%CE%B9%CE%BF%CE%BB%CE%BF%CE%B3%CE%B9%CE%BA%CF%8C+%CE%BB%CE%AF%CF%80%CE%B1%CF%83%CE%BC%CE%B1+%CE%B1%CE%BD+%CF%87%CF%81%CE%B5%CE%B9%CE%AC%CE%B6%CE%B5%CF%84%CE%B1%CE%B9.+%CE%A0%CE%B5%CF%82+%CE%BC%CE%BF%CF%85+%CF%80%CE%B5%CF%81%CE%B9%CF%83%CF%83%CF%8C%CF%84%CE%B5%CF%81%CE%B1+%CF%8C%CE%BC%CF%89%CF%82.+%CE%BA%CE%B9%CE%BD%3A6932500093%0A%CE%A5.%CE%93.+%CE%B3%CE%B9%CE%B1+%CE%94%CF%89%CF%81%CE%B5%CE%AC%CE%BD+%CE%BC%CE%B1%CE%B8%CE%AE%CE%BC%CE%B1%CF%84%CE%B1+%CE%99%CF%83%CF%80%CE%B1%CE%BD%CE%B9%CE%BA%CF%8E%CE%BD+%CE%BC%CF%80%CE%BF%CF%81%CE%B5%CE%AF%CF%82+%CE%BD%CE%B1+%CE%AD%CF%81%CE%B8%CE%B5%CE%B9%CF%82+%CE%B5%CE%BA%CE%B5%CE%AF+%CF%80%CE%BF%CF%85+%CF%80%CE%AC%CF%89+%CE%B5%CE%B3%CF%8E+!
* rack.request.query_hash :
* rack.request.query_string :
* rack.run_once : false
* rack.session : person_credentials_id26_csrf_tokenbx29Y0rt6DvizW88x35stqyub7wfaU+vodA0nGesExk=session_id3658efbafe01494ee4289e1cb490ffe8person_credentialsf59766325f321806a84487664807bd655304594fe3dc93b2d8843ff77d0c6048865e94713d4e2c85f9bbc29f71669b005a3b6413ece1bbad16cfaa51652e0aa5
* rack.session.options : domainhttponlytruepath/key_session_idid3658efbafe01494ee4289e1cb490ffe8expire_after
* rack.url_scheme : http
* rack.version : 10

* Process: 1
* Server : b7323e2f-6a39-426c-a694-59451a311c1c

-------------------------------
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/models/bid.rb:130:in `trigger_offered'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:178:in `send'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:178:in `evaluate_method'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:166:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:93:in `run'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:92:in `each'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:92:in `send'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:92:in `run'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:276:in `run_callbacks'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/callbacks.rb:344:in `callback'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/callbacks.rb:267: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:2577:in `save_without_validation'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/validations.rb:1089:in `save_without_dirty'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/dirty.rb:79:in `save_without_transactions'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:229:in `send'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
[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:228:in `with_transaction_returning_status'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/activerecord-2.3.14/lib/active_record/transactions.rb:196:in `save_without_unsaved_flag'
[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:196:in `save_without_unsaved_flag'
[RAILS_ROOT]/vendor/plugins/active_scaffold/lib/extensions/unsaved_record.rb:15:in `save'
[RAILS_ROOT]/app/controllers/bids_controller.rb:12:in `create'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/mime_responds.rb:106:in `call'
[RAILS_ROOT]/.bundle/gems/ruby/1.8/gems/actionpack-2.3.14/lib/action_controller/mime_responds.rb:106:in `respond_to'
[RAILS_ROOT]/app/controllers/bids_controller.rb:11: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
```