RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

avdgaag — 5 posts

http://arjanvandergaag.nl

Modular front-end code in Rails  arjanvandergaag.nl
I wrote a little about how I have experienced Rails both helps and gets in the way when writing modular front-end code in Rails application: record tag helpers, partials, style inheritence, the asset pipeline and file organisation.
I blogged about a few advanced search and replace techniques in Vim: multi-line searches, look-arounds, expressions, ranges, counters, the command-line window and the star of the show: the global command.
I blogged about a few tips and tricks for using FactoryGirl. TLDR: use traits and ignored attributes; don't use random data and test for explicit values.
I wrote a Ruby gem to compile a set of markdown files into an .epub file, to scratch my own itch. It comes with default layout and styles, automatically detects images and fonts and can generate a preview document for you. It's called Rpub and here's my introductory blog post.
nanoc-cachebuster gem  avdgaag.github.com
I have created a gem that makes it easy to add cachebusters to the static assets in your Nanoc project: nanoc-cachebuster. It helps you make the most of client-side caching. I extracted it from my nanoc-template project. If you use Nanoc, check it out, leave some feedback and fork away.