Intresting String inflections in rails

* camelcase * camelize * classify * constantize * dasherize * demodulize * foreign_key * humanize * parameterize * pluralize * singularize * tableize * titlecase * titleize * underscorecamelcase(first_letter = :upper)Alias for camelizecamelize(first_letter = :upper)By default, camelize converts strings to UpperCamelCase. If the argument to camelize is set to :lower then camelize produces lowerCamelCase.camelize … Continue reading Intresting String inflections in rails

Working with multiple ruby versions on same server

click for original postNice post by Michael GreenlyI recently changed how I'm handling multiple simultaneous Ruby installations and I'd like to share.What I needed was to make it convenient to switch between the system provided packages and specific, from source, installations. After some experiments I decided to use 'update-alternatives' to do it.Here's a quick walk … Continue reading Working with multiple ruby versions on same server