Twitter Updates

Friday, 2 October 2009

Ruby on Rails

I found this [1] tutorial to be a very good introduction to ruby on rails 2.0.

[1] http://akitaonrails.com/2007/12/12/rolling-with-rails-2-0-the-first-full-tutorial

I only really followed it far enough to get a working blog with comments, That next step would be to get a working many to many relationship setup for tagging. There is a lot of confusion over how todo tagging with many different gems and plugins. Since the introduction of rails 2.x there much better ways to do the many to many relationships and except in the case of tag clouds setting up tags are relatively straight forward.

This [2] was the best tutorial I found for setting up many to many relationships and [3] was very good for describing the different relationships.

[2] http://dagobart.wordpress.com/2008/06/18/for-purpose-of-reference-doing-many-to-many-relationships-in-rails/
[3] http://guides.rubyonrails.org/association_basics.html#the-has-many-through-association

No comments: