logo
首页技术栈工具库讨论
strip_attributes

strip_attributes

StripAttributes automatically strips all ActiveRecord model attributes of leading and trailing whitespace before validation. If the attribute is blank, it strips the value to nil.
由 
bruceshi2021-01-13 收录
--
推荐
不推荐
更多信息
RUBYGEMS
gem install strip_attributes
查看
标签
根据用户添加的标签生成
暂无标签