I’ve actually spent a couple of days doing paid work on a Rails application. I feel all accomplished and stuff. Of course two thirds of the time has been off the clock as I scurry around researching things, but it’s a start.
- Can’t connect to local MySQL server through socket ’/var/run/mysqld/mysqld.sock’ – I hit this moving an Edge Rails based application from development on a Mac to production on a Ubuntu box. The answer proved to be going into database.yml and fixing the production path to mysqld.sock, which Ubuntu seems to put in a different place for some obscure reason.
- Missing ActionController::Base::DEPRECATED_INSTANCE_VARIABLES – Another minor bobble I ran into moving from development to production in the same situation. The fix was to install libopenssl-ruby1.8. Not that I have the faintest idea why.
- How To Use Multiple Submit Buttons on a Form with Rails – I needed to know this. Fortunately, it’s simple.
- SQL DSL – A library for creating SQL statements from Ruby code. Not quite what I need at the moment, but worth bookmarking for the future.
- Sample Rails App Branch: With SSL – Reference code for adding SSL to a Rails app.
- ActsAsPartitionable – Another approach to bringing enterprise-level database partitioning to Rails.