Changed some stuff to upgrade to Rails 4