Properly formatted bash code
Added post of ActiveRecord type casts