changed gemfile added protected_attributes