Categories: None [Edit]

null_object_models

https://rubygems.org/gems/null_object_models
Null Object Models is a gem that provides finder method(s) extensions to ActiveRecord::Base objects. These finder methods will return either default or defined null objects if an object is not found with the given ID(s). This is very useful for preventing nil errors. I recommend using this gem if you have dangling records and have yet to implement some sort of soft destroy implementation.

Total

Ranking: 170,841 of 197,725
Downloads: 2,936

Daily

Ranking: 73,572 of 197,575
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
44804,163,316rails
110480,740,847pg
125415,224,215rspec-rails
191290,866,862pry-byebug
97454,235,883factory_girl_rails

Owners

#GravatarHandle
1iconSkipants