Rails 4 Update

Cotopaxi has been updated to be compatible with Rails 4.