issues
search
rmm5t
/
strip_attributes
:hocho: An ActiveModel extension that automatically strips all attributes of leading and trailing whitespace before validation. If the attribute is blank, it strips the value to nil.
https://github.com/rmm5t/strip_attributes
MIT License
558
stars
51
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
Request for New Release on RubyGems
#72
navidemad
opened
1 day ago
0
The `:allow_empty` option is ignored when given a frozen string
#71
ridiculous
opened
1 month ago
2
Expand CI matrix for Ruby
#70
btalayeminaei
closed
1 month ago
1
Refactor and cleanup option handling
#69
rmm5t
closed
3 months ago
0
Check column type to ignore binary columns
#68
scambra
opened
3 months ago
0
Consider using the Rails 7.1 normalizes API instead of before_validation callbacks
#67
rmm5t
opened
11 months ago
2
Use `assign_attributes` to change attributes
#66
TastyPi
opened
1 year ago
0
Adds Ruby 3.2 to the CI matrix
#65
petergoldstein
closed
1 year ago
1
Prevent String mutation
#64
jrbeck
opened
1 year ago
0
Use frozen string literals and regex constants to reduce allocations
#63
maxfierke
opened
2 years ago
0
#61 matcher for the replace_newlines functionality
#62
jmahoney
closed
2 years ago
1
Matcher for replace_newlines
#61
jmahoney
closed
2 years ago
2
Add Ruby 3.1 to CI
#60
petergoldstein
closed
2 years ago
1
Support Rails 7
#59
steveh
closed
2 years ago
4
Accept Rails 7.0
#58
kivanio
closed
2 years ago
2
Support for Rails 7.0.0
#57
dwightwatson
closed
2 years ago
1
Fix Ruby deprecation warning
#56
corny
closed
2 years ago
8
Notice: incorrect FUNDING.yml
#55
attenzione
closed
4 years ago
1
Fix matcher description when list of arguments is passed
#54
experimatt
closed
4 years ago
2
[Bug 1.10.0] Issue with frozen strings
#53
airled
closed
4 years ago
10
Update matcher to take list of arguments; alias it as #strip_attributes
#52
experimatt
closed
4 years ago
2
Matcher that accepts array instead of a single value
#51
experimatt
closed
4 years ago
2
Legacy and deprecation cleanup
#50
rmm5t
closed
4 years ago
0
Clean up and remove (now) redundant #respond_to? calls
#49
rmm5t
closed
4 years ago
0
Regression in 1.9.1: Arrays & Hashes now become nil
#48
zarqman
closed
4 years ago
2
Fix zero width space strip to nil
#47
rmm5t
closed
4 years ago
0
Zero-width space doesn't result in nil after stripping
#46
aried3r
closed
4 years ago
2
Add testing with Ruby 2.7 to CI
#45
aried3r
closed
4 years ago
1
strip_attributes not working with Form Object
#44
jaredlt
closed
4 years ago
1
Consider using the Attributes API instead of before_validation callbacks
#43
rmm5t
opened
5 years ago
9
Compact option
#42
bartoszkopinski
closed
4 years ago
3
CI: Drop unused Travis sudo: false directive
#41
olleolleolle
closed
5 years ago
1
Override doesn't work, multiple executions
#40
attenzione
closed
5 years ago
1
Add more matchers
#39
aried3r
closed
5 years ago
2
Add config for defaults
#38
sodapopcan
closed
5 years ago
4
Allow :if and :unless options
#37
aliismayilov
closed
5 years ago
7
Be Rails 6.0.0.beta1 compatible
#36
abinoam
closed
5 years ago
2
New option: strip individual lines in multiline string
#35
manuelmeurer
closed
6 years ago
7
Make compatible with Mobility translation gem
#34
jmuheim
closed
7 years ago
12
Rails 5 / Mongoid issue ?
#33
Startouf
closed
8 years ago
3
Option for dealing with unusual spaces
#32
GeorgeDewar
closed
8 years ago
4
Error on migration
#31
jmarceli
closed
8 years ago
1
Automatically activate for all my models?
#30
jmuheim
closed
8 years ago
1
Avoid Encoding::CompatibilityError when handling binary column
#29
bcarreno
closed
9 years ago
2
Strip Emoji
#28
eliduke
closed
9 years ago
3
Added option to remove all new lines
#27
owenbendavies
closed
9 years ago
6
Need to take care with first_or_create
#26
pavoni
closed
9 years ago
13
Add support for stripping hash values
#25
SushmaShyam
closed
8 years ago
3
Localized mongoid fields do not get stripped of whitespaces
#24
SushmaShyam
closed
6 years ago
3
Update RSpec examples to use new oneliner syntax
#23
padde
closed
10 years ago
1
Next