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

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

Sunday 27 April 2008 | 3 comments

Rails Faux Nested Forms

For adding an item via Ajax to related models then updating an existing select... Here's the situation: For this example we have a New Product form. Products belong to Companies so we have a select menu of Companies. You want to add a product and you have a select menu of companies, but in this case you have a product from a company you have not dealt with in the past. So directly below your select we are going to create a text field from which ... More