Recently, we had an interesting lunch-break with the rails 3.1. asset-pipeline in production mode. Daniel Zahn made a blogpost about our journey, precompiling assets, fingerprinting, Haml, Sass & Compass...
Most web applications contain several examples of state machines, including accounts and subscriptions, invoices, orders, blog posts, and many more...
XPath matchers can be combined with CSS-selector matchers. This is really useful if not, for example, the content of...
In an environment: config.logger = Logger.new('/dev/null')
The rack-contrib gem brings a JSONP middleware that just works™. Whenever a JSON request has a callback parameter, it...
rack-mini-profiler is a powerful Swiss army knife for Rack app performance. Measure SQL queries, memory allocation and CPU...
Amazing guide how to divide a ball of Javascript spaghetti distinct separate layers (model, view, controller, backend adapter).
quiet_assets helps with disabling asset pipeline log messages in the development log. When the gem is added, asset pipeline...
A look at Prawn, PDFKit, and Wicked PDF
Declare an enum attribute where the values map to integers in the database, but can be queried by name.
I recently had a need to demonstrate a data-heavy application to potential customers. Demonstrating the application with bogus numbers...
Installation differs slightly from older versions, please check the README.
How delayed jobs can make your after_save callbacks execute before the record is saved.
Updated the card with our current best practice (shared app code and specs via symlinks).
There is now a solution.
Nice article to educate your non-geek girlfriend/boyfriend about the joys of programming.
To make the RSpec matcher of the authorization solution Consul work with Rspec 2.x read the following blog post...
class Errormaster CoffeeIsOut = Class.new(StandardError) # is prettier than class CoffeeIsOut < StandardError; end end Reference such an error class with Errormaster...
We are changing our name from Hoptoad to Airbrake. You see, some folks much larger than us reached out and...
Now allows to list transition paths from and to arbitrary states.
How to write to the db 27,000 times in 24 seconds instead of 9 minutes.
Sometimes, you just need to shoot from the hip…or deploy your local changes without committing them. Put this snippet...
When rendering a partial with the :collection option, you are automatically provided with a counter variable inside the partial template...
Terminus is a Capybara driver where most of the driver functions are implemented in client-side JavaScript. It lets you...