26 Nov
2009
For some reason I find myself starting new projects on holidays. Perhaps it’s mental decompression, or just an excuse to have some fun. Either way, today’s holiday project was a little smaller than usual — I’m already done!
It’s a tiny Sinatra app for allowing people to anonymously submit tickets to your Unfuddle account. You could use this for letting clients submit work requests, beta testers to submit bugs, or whatever.
Comments : 1 Comment »
Categories : Sinatra
21 Nov
2009
If you’d like to get a 404 response when you encounter a MongoMapper::DocumentNotFound error, which is the default response for ActiveRecord::RecordNotFound, simply toss this in your initializer where you set up your Mongo connection (I use config/initializers/mongo.rb):
ActionController::Base.rescue_responses['MongoMapper::DocumentNotFound'] = :not_found
Comments : No Comments »
Categories : MongoDB, Ruby on Rails
13 Nov
2009
If you’d like to go to RubyConf next week, but you don’t have a ticket, you’re in luck! Sadly, I can’t go, so I have a ticket available for sale for $250. Drop me a line at ben at this domain if you’re interested.
Update: Sold!
Comments : No Comments »
Categories : Ruby on Rails
Recent Comments