Categories: None [Edit]

Fingertips-as_new-san

https://rubygems.org/gems/Fingertips-as_new-san
https://github.com/alloy/as_new_san
The AsNewSan mixin makes it easier to create associations on a new Active Record instance. Use the as_new method to instantiate new empty objects that are immediately saved to the database with a special flag marking them as new. Because new instances are already stored in the database, you always have an id available for creating associations. This means you can use the same views and controller logic for new and edit actions which is especially helpful when you are creating new associated objects using Ajax calls.

Total

Ranking: 90,920 of 188,838
Downloads: 9,366

Daily

Ranking: 92,221 of 188,822
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName

Owners

#GravatarHandle