James Brooks

Now with pants included

Entries Tagged ‘Ruby on Rails’

Rails Currency Conversion Plugin - Cash handler

Looking at the state and how the current currency conversion gems and plugins for Rails work, I decided to roll my own very small and niche solution to currency conversion, named Cash Handler. The core functionality it provides is to convert a value from one currency to another (there are only 23 currencies listed, values [...]

Slug generation in rails

Just recently I made a very minor update to my slugify method I use in rails (which I add to String via a monkey-patch).
It’s pretty much like your stock-standard slugification method, this one produces a URL-friendly slug containing only letters and numbers, dashes seperate elements in the string and a few other nice things (single [...]

Hush CMS

Today I began development on a in-house content management system (dubbed Hush CMS), a Ruby on Rails plugin to extend a rails application with CMS functionality (both static [pages] and dynamic [news, blog posts]) as unobtrusively as possible to the application.
So far I’ve got a GitHub Repository setup with some initial code in. At the [...]