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

by Bobby Uhlenbrock, September 01, 2009 21:26, 2 refactorings, tagged with cycle rails

Due to the way the cycle he...

6c452e0114832b067300e23b6f83c8e8 Talk
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...

6c452e0114832b067300e23b6f83c8e8 Talk
before_save :titlecase_fields
...

Ruby On ActiveRecord Attributes rej...

by Bobby Uhlenbrock, February 28, 2008 17:46 Star_fullStar_fullStar_full

I hope this makes sense. I ...

6c452e0114832b067300e23b6f83c8e8 Talk
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 Star_fullStar_fullStar_fullStar_fullStar_full

That formatting didn't come...

6c452e0114832b067300e23b6f83c8e8 Talk