By overriding the ActiveRecord::Base.columns method we are able to avoid the ActiveRecord::StatementInvalid exception thrown when removing a column from a table.
Sure, baseball is America's past time, but who's to say that other corners of the world don't also enjoy walk-off homers and line drives up the middle? Place in question: Great Britain.
We later determined that the remaining 100ms of request queuing was entirely due to SSL. By taking one key request off of SSL that did not need to be on SSL we were able to cut our "request queuing" time down to an average of 40 ms per request. Non SSL requests experience a 1-5 ms of request queuing time, while SSL requests are closer to 500 ms.
Rack Timer has been tested with Rails 3.0.10 and at a glance I can tell it is NOT compatible with Rails 3.1.x. The MiddlewareStack class which is overridden by Rack Timer has changed from inheriting from Array in 3.0.x to having an Array in 3.1.x branch.
Recent Comments
We later determined that the remaining 100ms of request queuing was entirely due to SSL. By taking one key request off of SSL that did not need to be on SSL we were able to cut our "request queuing" time down to an average of 40 ms per request. Non SSL requests experience a 1-5 ms of request queuing time, while SSL requests are closer to 500 ms.
Rack Timer has been tested with Rails 3.0.10 and at a glance I can tell it is NOT compatible with Rails 3.1.x. The MiddlewareStack class which is overridden by Rack Timer has changed from inheriting from Array in 3.0.x to having an Array in 3.1.x branch.
Looks pretty good. I'm wondering though, why reinvent enumerated_attribute? https://github.com/jeffp/enumerated_attribute
What are the pros and cons of each?