{"id":90428,"library":"weak-parameters","title":"WeakParameters","description":"Adds a validation filter to your Rails controller for strong parameter-like behavior.","status":"active","version":"0.5.0","language":"ruby","source_language":null,"source_url":"https://github.com/r7kamura/weak_parameters","tags":["rails","parameters","validation","controller"],"install":[{"cmd":"gem install weak_parameters","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'weak_parameters', '~> 0.5.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"WeakParameters","correct":"require 'weak_parameters'"}],"quickstart":{"code":"require 'weak_parameters'\n\nclass UsersController < ApplicationController\n  validate_params do\n    required(:user).schema do\n      required(:name).filled(:string)\n      optional(:email).filled(:string)\n    end\n  end\n\n  def create\n    # params are validated before reaching here\n  end\nend","lang":"ruby","description":"Validate controller parameters with a declarative schema."},"warnings":[],"env_vars":null,"search_vec":"'add':2 'behavior':15 'control':9,19 'filter':5 'like':14 'paramet':13,17 'parameter-lik':12 'rail':8,16 'strong':11 'valid':4,18 'weakparamet':1","created_at":"2026-06-19T09:03:14.602680+00:00","updated_at":"2026-06-19T09:03:14.602680+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/r7kamura/weak_parameters","github":"https://github.com/r7kamura/weak_parameters","docs":"http://www.rubydoc.info/gems/weak_parameters/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}