Posts Tagged ‘butt biter’

Butt Biter: Rails ‘truncate’ Method Broken in Ruby 1.8.7

September 2nd, 2008 | Posted by Karl | 3 Comments
This one threw me for far too many minutes. In ActionView::Helpers::TextHelper the truncate method is broken for Ruby 1.8.7. I’m not exactly sure the version of ruby that it stopped working ...

Butt Biter: Fix State Abbreviations && Large Data Set Updates

May 13th, 2008 | Posted by Karl | 4 Comments
Ran into a little butt biter today… I imported a few thousand addresses that had the state in long form, like ‘Arizona’. But I commonly used the us_states plugin for ...