Categories: None [Edit]

save_whats_valid

https://rubygems.org/gems/save_whats_valid
https://github.com/andrewculver/save_whats_valid
Rails' default update_attributes behavior is that when any validation fails, none of the data gets saved. However, in some instances this is not the most ideal behavior. If you import partial data which users then have the task of completing, not saving partially completed forms can create a really negative user experience and decrease overall completion (or conversion) rates. This gem encapsulates the logic I've used to ensure that partially completed forms still persist.

Total

Ranking: 142,881 of 187,239
Downloads: 3,989

Daily

Ranking: 93,924 of 187,224
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
27919,404,019rspec
43671,311,427rails
117351,039,053rspec-rails
274163,773,486sqlite3

Owners

#GravatarHandle
1iconandrewculver