hoodwink.d enhanced
RSS
2.0
XHTML
1.0

RedHanded

In the Aftermath of Lamp Light #

by why in bits

Last week was big. The ONLamp tutorial launched up the charts along with a smattering of other Ruby links. And have you noticed that Ruby is now hanging solid with Java and Python among the top twenty overall tags?

Want to see how Ruby ranks overall? Run:

 require 'open-uri'
 t = open("http://del.icio.us/tag/").read
 l = %w(c c++ java javascript perl php python ruby)
 l.map do |lang|
   [$1.to_f, lang] if t =~ 
     %r{/#{Regexp::quote lang}"  style="font-size: (\d+\.\d{2})}
 end.compact.sort.each do |score, lang|
   puts "#{lang}: #{score}" 
 end

A few highlights from the avalanche of discussion that has followed the ONLamp/Rolling tutorial:

  • Really Getting Started with Rails, a newb’s point of view on the tutorial. If you found any syntax confusing and don’t want to read an entire Ruby book to get a picture of what’s going on, then this is for you, newb.
  • Another recommendation I’ve seen around is to use the scaffold generator script rather than the scaffold :recipe method. This way you have some stub classes in the right places, which gives you a head start on fleshing out your administration tool.
 $ ruby scripts/generate scaffold Recipe
said on 25 Jan 2005 at 18:27

Just a word of warning if you do try the scaffold generator that it will overwrite any existing model and/or controller of the same name, so backup beforehand or use a dummy name.

Comments are closed for this entry.