The code was not much to look at. We mostly rspec’d a few methods and learned that just because you ‘def to_s’ doesn’t mean the implicit string conversion uses it!
I think the real issue we uncovered was that the implicit string conversion produces escaped string and calling #to_s produces unescaped strings.
Ruby Gems we used to setup the environment.
heredocs — we talked about how to produce heredocs You can either use multi-line double-quoted, or <<-eot
text = <<-eot
This is the heredoc text
It can even include evaluations #{Time.now} !!
eot
More about heredocs : http://blog.jayfields.com/2006/12/ruby-multiline-strings-here-doc-or.html
A windows-implementation of textmate : http://www.e-texteditor.com/
The Ruby Way — Hal Fulton
http://www.google.com/url?sa=t&source=web&ct=res&cd=1&ved=0CAwQFjAA&url=http%3A%2F%2Fwww.amazon.com%2FRuby-Way-Second-Techniques-Programming%2Fdp%2F0672328844&ei=OuLwSsj_PIa1tgf59N26Cw&usg=AFQjCNHhpmT3C35Xiianfordqb21_DsWIA&sig2=Pb631QnepV_sAD8wmRuPTA
The Rails Way — Obie Fernandez
http://www.google.com/url?sa=t&source=web&ct=res&cd=3&ved=0CBYQFjAC&url=http%3A%2F%2Fwww.amazon.com%2FRails-Way-Obie-Fernandez%2Fdp%2F0321445619&ei=V-LwSunCEYeVtgfWib26Cw&usg=AFQjCNGpPcvEJDxIOGEwWZZIp9HXnbPC0A&sig2=0ofdwEJfrMOm7U3bR7c5OQ
The Rails Way Blog therailsway.com
Enumerable Module
This is a treasure trove of great info:
http://en.oreilly.com/rails2009/public/schedule/proceedings