Skip to content

Instantly share code, notes, and snippets.

@Wolfer
Created Apr 15, 2014
Embed
What would you like to do?
...
[20779:INFO] 2014-04-15 14:13:13 :: Status: 200, Content-Length: 4, Response Time: 130.34ms
[20779:INFO] 2014-04-15 14:13:13 :: Status: 200, Content-Length: 4, Response Time: 124.86ms
[20779:ERROR] 2014-04-15 14:13:13 :: undefined method `rollback' for #<ActiveRecord::ConnectionAdapters::ClosedTransaction:0x882e2b0>
[20779:ERROR] 2014-04-15 14:13:13 :: /usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.1.0/lib/active_record/connection_adapters/abstract/database_statements.rb:249:in `rollback_transaction'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.1.0/lib/active_record/connection_adapters/abstract/database_statements.rb:227:in `rescue in within_new_transaction'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.1.0/lib/active_record/connection_adapters/abstract/database_statements.rb:224:in `within_new_transaction'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.1.0/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/em-synchrony-1.0.3/lib/em-synchrony/activerecord.rb:50:in `block in transaction'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/em-synchrony-1.0.3/lib/em-synchrony/activerecord.rb:79:in `execute'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/em-synchrony-1.0.3/lib/em-synchrony/activerecord.rb:49:in `transaction'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.1.0/lib/active_record/transactions.rb:208:in `transaction'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.1.0/lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.1.0/lib/active_record/transactions.rb:268:in `block in save'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.1.0/lib/active_record/transactions.rb:283:in `rollback_active_record_state!'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.1.0/lib/active_record/transactions.rb:267:in `save'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.1.0/lib/active_record/persistence.rb:34:in `create'
srv.rb:37:in `response'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/goliath-1.0.3/lib/goliath/api.rb:163:in `call'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/goliath-1.0.3/lib/goliath/rack/async_middleware.rb:73:in `call'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/goliath-1.0.3/lib/goliath/rack/async_middleware.rb:73:in `call'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/goliath-1.0.3/lib/goliath/rack/default_mime_type.rb:26:in `call'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/goliath-1.0.3/lib/goliath/rack/params.rb:66:in `block in call'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/goliath-1.0.3/lib/goliath/rack/validator.rb:40:in `safely'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/goliath-1.0.3/lib/goliath/rack/params.rb:64:in `call'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/goliath-1.0.3/lib/goliath/rack/async_middleware.rb:73:in `call'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/async-rack-0.5.1/lib/async_rack/async_callback.rb:114:in `call'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/async-rack-0.5.1/lib/async_rack/async_callback.rb:91:in `block in new'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/rack-1.5.2/lib/rack/reloader.rb:44:in `call'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/rack-1.5.2/lib/rack/reloader.rb:44:in `call'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/goliath-1.0.3/lib/goliath/request.rb:166:in `block in process'
[20779:INFO] 2014-04-15 14:13:13 :: Status: 500, Content-Length: 118, Response Time: 104.43ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment