RailsConf: Inside Instant Rails

23 Jun 2006 In: rails, railsconf

Curt Hibbs, the creator of Instant Rails, says he created the package basically because he is lazy, and he wants to make as easy as possible to get up and running with Rails for himself and anyone else as possible. I’ve used Instant Rails myself once, as a kind of staging environment on a Windows 2003 server, and I was curious to find out more about this out-of-the-box solution for Rails.

The most interesting stuff that came out of Hibbs’ relatively short presentation, was the plans for a version 2 of Instant Rails. Hibbs criticized several areas of Instant Rails 1.x, in particular that it is only available for Windows, that it uses old versions of Apache and MySQL and that the user interface sucks! Version 2 will be a complete rewrite featuring:

  • Cross-platform support (Windows, OSX, Linux)
  • Webbased manager application written in Rails with a vastly improved UI
  • Ability to manage the sites remotely
  • Apache 2 and MySQL 5
  • Integrated support for RadRails

The last thing is interesting since I am using RadRails for my Rails development. The RadRails guys was right in the front row of the Instant Rails presentation, so guess they have ganged up with Hibbs here at RailsConf. The integration means, that if you install RadRails inside the Instal Rails directory (which can be anywhere), Instant Rails will, when started, detect RadRails and automatically setup the path to Ruby and Rails, and also create projects for the sites hosted by that Instant Rails instance. I don’t know if I can use that for anything, but it could be handy for getting people up and running fast.

  • Comments Off

RailsConf: Dave Thomas’ keynote

23 Jun 2006 In: rails, railsconf

Dave Thomas of the Pragmatic Programmers kicked of RailsConf 2006 with a talk filled with not just visions, but very specific suggestions, for the future of Ruby on Rails. He noted that Rails, according to Google Trends, has passed, and are well on its way to pass, established web development frameworks such as Websphere and JBoss, and that lots of people are already taking Rails very seriously and are making money of it.

Dave Thomas lined up three areas in Rails in which he would to see improvement. The first was Data Integration, where he came up with several ideas on how he would like an existing database schema to be used by Rails, to avoid duplicating information and staying DRY:

  • Validation should be automatically added, e.g. a varchar(100) should automatically have validates_length_of set to 100.
  • It should be possible to define foreign keys in migrations, and to automatically use that information to add a belongs_to relationship.
  • Support for non-integer and composite primary keys should be added – this is quite a big change, though.

Second, Dave Thomas wanted better scaffolding. As he noted, getting a big response from the audience, scaffolding is perhaps the feature that sells Rails to most people, but it’s actually a very ugly and Web 1.0 like thing in it’s default setup. He’d like to see such things as build-in AJAX and cross-application skinning of scaffoldings.

Third, and to me most exiting, Dave Thomas acknowledged that it is in fact quite hard to deploy Rails applications. I’ve learned this the hard way, and Thomas wants to make it easier by improving Capistrano. “We are the early adopters, the smart people, and if we have problems deploying Rails, it will be even more problematic when the Average Joe developer adapts and wants to deploy his Rails Application.” said Thomas, and suggested a “Collaborative Deployment” model, where, instead of all the deployment configuration being stored pr. application, most of the configuration is stored on the server, and the application generally just have to explain which files it wants to deploy, and – most important – which prerequisites it needs to run. The vision is that shared hosts like Planet Argon, TextDrive and Dreamhost all support a standard Capistrano profile, so you would just have to type “cap –deploy-on [domain]”, and if the domain was hosted on a shared host, the deployment would just happen automagically. I’d like that.

Dave Thomas concluded that all three problems are examples of areas with room for improvement, which would take Rails a step further, and that all developers – even former Java-developers – deserve to be happy.

RailsConf: First impressions

23 Jun 2006 In: rails, railsconf

I’m writing this before any talks has actually been hed, in my room early friday morning, while the internet connection is still fairly usable, due to the majority of geeks being asleep. So far I have meet some nice people (or maybe I should say stalked), and I’ve been to Chicago a bit of touristing. Nothing particularly Rails’y has happened (to me) yet, so I’m definately looking forward to the talks starting (as I am writing this) in three hours.

I already have a pretty good idea of which talks I want to attend, and my photo stream can be found at here at flickr.

Need a web developer?

Hello, I'm Casper Fabricius. I have developed for the web for 8 years, and have been enjoying Ruby on Rails for the past 3.

My experience covers communities, shopping solutions, multi-language sites, heavy back-end lifting and a wide selection of more traditional websites. I currently favor Radiant CMS as a platform, and I am an expert Radiant extension developer.

I am based in Copenhagen, Denmark, but I take assignments from across the globe. Feel free to study my resumé, featured projects and - of course - to hire me.