Rails 4 Modifications

Updating methods, etc that have been deprecated