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,908 of 197,835
Downloads: 2,938

Daily

Ranking: 42,145 of 197,813
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
44806,194,288rails
110482,141,061pg
125416,286,288rspec-rails
191291,276,542pry-byebug
97654,253,939factory_girl_rails

Owners

#GravatarHandle
1iconSkipants