Posts tagged: ruby

Philosophy of scaffolding

I've been having a look at Ruby on Rails again, now that version 2 has been released. Generally, I like what I find in this new release. Rails is opinionated software - it isn't afraid to commit to an approach, rather than trying to be 'all things to all men'. In a way, this is a continuation of the convention over configuration philosophy which underpins much of Rails' design. For example SOAP services support has been moved out of the main release and made available as a plugin, while Rails has been refactored to support ReST functionality by default via ActiveResource. [continues...]

Paul Walk , January 8, 2008

Tagged with: , ,

Not a unicorn, nor Switzerland neither

I've just listened to a podcast of David Heinemeier Hansson's keynote at RailsConf 2007 (which actually took place back in May of this year). David describes the changes and new features being introduced into Rails 2.0. Firstly, he is at pains to point out that Rails 2.0 will not represent a radical change, or a complete re-write. Also, 95% of what will constitute Rails 2.0's new features are already available in the bleeding edge EdgeRails and are being actively used. [continues...]

Paul Walk , November 9, 2007

Tagged with: , , , ,

Ruby exercise number 1

Web 2.0 tools allow the individual to share their interests with others. If someone is an active user of Web 2.0 services, blogging, sharing photos etc, then we can begin to build some sort of a picture of that person's interests. I've been thinking about how one might extend this idea to _groups _of people, especially groups with some common interest. Such groups are sometimes called communities of practice. By definition, individuals within a community of practice already know _some _of the interests of the others in the group - these are the interests which bind them together. [continues...]

Paul Walk , June 30, 2007

Tagged with: , ,

Data modeling in Ruby with ActiveRecord

I had a little problem to solve the other day where I wanted to work up a database from scratch, and then transfer data from an existing database into it. On the spur of the moment I decided to see how quickly/easily this could be done in Ruby. Long story short, the thing I learned (obvious in hindsight) is that: require 'rubygems' require_gem 'activerecord' is all you need to get access to all that ActiveRecord modelling goodness outside of the Rails framework proper (assuming Rails is installed on your system). [continues...]

Paul Walk , April 23, 2007

Tagged with: ,

Gone off (the) Rails? Not quite, but nearly....

Well, I've given Rails the once over, and I'm both really impressed with it and very frustrated by it at the same time. The Rails framework really does deliver in so many areas, making 80% of the usual web-application development tasks almost trivial - I especially like the skeleton view components. And while I'm very much a newbie, I'm starting to really appreciate the power of the Ruby language. I already have some development ideas which might be ideally realised with Rails. [continues...]

Paul Walk , February 25, 2006

Tagged with: , ,