Rubyology 39: Elect'd
Rubyology
English - September 03, 2007 22:19 - ★★★★★ - 7 ratingsTechnology Education How To Homepage Apple Podcasts Google Podcasts Overcast Castro Pocket Casts RSS feed
Previous Episode: Rubyology 38: Amazon S3 and News
Next Episode: Rubyology 40: VoteSpin.com
Take a test drive of my latest Web 2.0 political website called Elect'd (http://www.electd.com). We will cover some web 2.0 features such as tag clouds, AJAX, Scriptaculous, twitter-like short comments, and search engine friendly URLs.
def to_param
"#{id}-#{candidatename.gsub(/[^a-z1-9]+/i, '-')}"
end