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: 143,248 of 190,317
Downloads: 4,147

Daily

Ranking: 98,986 of 190,280
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
29957,358,331rspec
44717,906,260rails
121371,932,929rspec-rails
279175,064,101sqlite3

Owners

#GravatarHandle
1iconandrewculver