Moldy. Mossy even. Spores [Now with Labels!] from this blog may have already reached the moon.
#removes double quotes at beginning and end of stringsome_string.gsub!(/\A"(.*)"\z/m, '\1')#turns ActiveRecord::RecordNotFound into active_record_not_foundKlass.to_s.delete(':').gsub( /([A-Za-z])([A-Z])/, '\1' << '_' << '\2' ).downcase
Post a Comment
0 hashings:
Post a Comment