Blog

Wednesday 10 December 2008 | 4 comments

Translates To French

A quick and dirty plugin for Rails 2.2 English sites that need to provide ActiveRecord translations to French. Highly limited and inflexible, but seems to serve my highly limited and inflexible needs at the moment: a single-user CMS content site managed by an English-speaking person. French translations show on the front end if available, and default to English otherwise. I based it on this post and plugin: http://iain.nl/2008/09/acts_as_translatable_mode... More

Monday 17 November 2008

More thoughts on Acts As Draftable

I was thinking more about the Acts As Draftable plugin. I have been working on an Italian horror site that has various user levels (admin, vice-admin, contributor, users). Different rules apply when different types of users post content. A contributor article must be a approved by a vice-admin or admin user to get published on the front end, but if the admin is not happy with the article and not ready to publish, that higher level user can, instead of approving, choose to ‘give b... More

Saturday 15 November 2008

Acts As Draftable

Acts as Draftable is a Ruby on Rails plugin written by Rails core contributor Rick Olson (Techno Weenie) that facilitates the creation and modification of records as drafts before committing the changes to the database. It works its magic with the help of a secondary table that mimics the main one -- containing the draftable fields and a foreign key field to link it to your actual table. This is a great tool if you want to review and then approve a post before publishing it. ... More

Sunday 19 October 2008

Rails Rumble 08 - our site is up!

Rails Rumble 2008 weekend competition is just wrapping up - 200 teams from around the globe competing to see who could build the best, most useful, most unique, most beautiful website in 48 hours, in Ruby on Rails. I competed in the competition with Benjamin Jørgensen from Denmark. We built a website called Comical that is for comic fans and comic artists. Artists can sign up and post their own comic creations.... Our efforts were slowed down a bit when Ben’s computer essentiall... More

Tuesday 30 September 2008

Rails Rumble 08

Along with another programmer, Benjamin Jørgensen of Denmark/Montreal, I have signed up for Rails Rumble 08. Competing against up to 199 other teams, we’ll have two days to take a blank canvas private server into a fully functioning Rails server with a freshly created – from scratch – application running. The contest takes... More