Sha256: 9bee80ddbb3c2f7996a38309b15c67061d66458341e43ca07255726bf00a49f9
Contents?: true
Size: 174 Bytes
Versions: 3
Compression:
Stored size: 174 Bytes
Contents
class UsersPermittedParams < Zertico::PermittedParams def create params.require(:user).permit(:name) end def update params.require(:user).permit(:id) end end
Version data entries
3 entries across 3 versions & 1 rubygems