Blog

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

Saturday 20 September 2008

Sorted Homepage With Ruby on Rails

Ruby on Rails Homepage Sorting I have a magazine site with a typical homepage that features the latest items in each category. Something that has been subtly gnawing at my sanity for a long time is that items were showing up in the order I placed them in my view, not based on creation date. So if there were a whole bunch of news songs, for example, you’d never know it because they were always at the bottom of the page, and if the films hadn’t been updated in... More

Displaying blogs 1 - 5 of 18 in total