Rails 4 support

Rails 4 ActiveModel::Name not return string and attr_protected is extracted out into a gem.