def alphabet_cycle
cycle('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z', :name => 'alphabet')
end
Ruby Cycle the Alphabet
xml = REXML::Document.new(data)
artists = xml.elements['//artists'].to_a.first(5).collect { |a| ["name", a.elements['name'].text] }
Ruby On cleaner way to limit result...
by Bobby Uhlenbrock,
July 15, 2008 01:38
Converting the element resu...
before_save :titlecase_fields ...
Ruby On ActiveRecord Attributes rej...
by Bobby Uhlenbrock,
February 28, 2008 17:46
I hope this makes sense. I ...
def squarebutton (name, options = {}, html_options = {}, *parameters_for_method_reference)
newclass = 'squarebutton'
...
Ruby On Adding default html option ...
by Bobby Uhlenbrock,
February 27, 2008 21:38
That formatting didn't come...

Due to the way the cycle he...