Repository navigation
v1.4.0
What Changed
This is the first release of rails_simple_params after forking from rails_param. This is a bug fix upgrade from v1.3.1 of rails_param.
Fixes
- Do not try to coerce "" for numeric and date params in #1
- this fix was originally submitted to
rails_param15 months ago - this allows optional integer params used in HTML forms (e.g. for searching) to be defined without the horrid pattern of first checking to see whether the param is present, e.g.:
param! :user_id, Integer unless params[:user_id].blank?
- this fix was originally submitted to
Other Changes
- start using
rubocopto apply a style guide - always run tests against all supported versions of Rails (7.1, 7.2, 8.0) and all supported versions of Ruby (3.2, 3.3, 3.4)
- do not actively support versions of Ruby or Rails that have reached their official end-of-life