blog.bitcrowd.net

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...

shopify.com

Most web applications contain several examples of state machines, including accounts and subscriptions, invoices, orders, blog posts, and many more...

devblog.imedo.de

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')

makandra dev
github.com

The rack-contrib gem brings a JSONP middleware that just works™. Whenever a JSON request has a callback parameter, it...

nateberkopec.com

rack-mini-profiler is a powerful Swiss army knife for Rack app performance. Measure SQL queries, memory allocation and CPU...

blog.arkency.com

Amazing guide how to divide a ball of Javascript spaghetti distinct separate layers (model, view, controller, backend adapter).

github.com

quiet_assets helps with disabling asset pipeline log messages in the development log. When the gem is added, asset pipeline...

makandra dev
sitepoint.com

A look at Prawn, PDFKit, and Wicked PDF

robots.thoughtbot.com

Declare an enum attribute where the values map to integers in the database, but can be queried by name.

everydayrails.com

I recently had a need to demonstrate a data-heavy application to potential customers. Demonstrating the application with bogus numbers...

github.com

Installation differs slightly from older versions, please check the README.

logicalfriday.com

How delayed jobs can make your after_save callbacks execute before the record is saved.

makandracards.com

Updated the card with our current best practice (shared app code and specs via symlinks).

makandracards.com

There is now a solution.

slate.com

Nice article to educate your non-geek girlfriend/boyfriend about the joys of programming.

blog.bitcrowd.net

To make the RSpec matcher of the authorization solution Consul work with Rspec 2.x read the following blog post...

makandra dev
blog.rubybestpractices.com

class Errormaster CoffeeIsOut = Class.new(StandardError) # is prettier than class CoffeeIsOut < StandardError; end end Reference such an error class with Errormaster...

robots.thoughtbot.com

We are changing our name from Hoptoad to Airbrake. You see, some folks much larger than us reached out and...

pluginaweek.org

Now allows to list transition paths from and to arbitrary states.

gurge.com

How to write to the db 27,000 times in 24 seconds instead of 9 minutes.

opensoul.org

Sometimes, you just need to shoot from the hip…or deploy your local changes without committing them. Put this snippet...

avdi.org

When rendering a partial with the :collection option, you are automatically provided with a counter variable inside the partial template...

blog.jcoglan.com

Terminus is a Capybara driver where most of the driver functions are implemented in client-side JavaScript. It lets you...