Category Archives: Services

Meet Flower, the Flowdock bot

Flowdock is a team collaboration and group chat service, similar to Campfire. Flowdock is also the group chat service of choice here at the R&D dept. To make it more fun and/or usable, we made this bot. Flower, the Flowdock … Continue reading

Posted by Richard View Comments Posted in Services, Workflow Tagged ,

Configuring Exception Handling in RSpec and Controller Tests

The ActionController::Rescue module in Rails defines a number of exceptions that will trigger a 404 response, namely ActionController::RoutingError, ActionController::UnknownAction, and ActiveRecord::RecordNotFound. However if you trigger one of those exceptions in a controller test (Test::Unit or Rspec) then rescue and display … Continue reading

Posted by peter View Comments Posted in Ruby on Rails, Services

Rails I18n and 404/500 Error Pages

If you have a multilingual site it makes sense for your 404 and 500 error pages to be multilingual as well. Rails supports multilinguality by serving up error pages with a path like public/500.sv.html, where sv is the locale. In … Continue reading

Posted by peter View Comments Posted in Ruby on Rails, Services

Simplest bit.ly API implementation possible?

To use an URL shortener in your project, I would strongly recommend bit.ly. It let you set a custom URL (name) and track traffic, clicks and conversations on micro blogs. But best of all, it should be super-fast and super-stable, … Continue reading

Posted by Richard View Comments Posted in Ruby on Rails, Services Tagged , ,