gist.github.com

How to remove/disable the automatic XSS protection helper html escaping for Rails 3. This is probably a horrible idea...

makandracards.com

...attached link for a way to extract the conditions of a named scope in Rails...

rubysource.com

...a look at what you need to do to get your app ready for Rails...

makandra dev
github.com

The asset pipeline from Rails 3.1 packported to 2.3. By Michael Grosser from parallel_tests fame...

seejohncode.com

This sounds promising: The best part from the Rails side, is that you don’t have to change anything at all in your code to swap a varchar out for...

37signals.com

How to call routes, make requests and try out helpers from the Rails console...

localeapp.com

A possible way for localisation in Rails applications that allows editing translations remotely...

blog.carbonfive.com

...to handle miscellaneous configuration elements for your application. One little known secret is that Rails 3 allows you to define your own configuration elements trivially...

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.