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: 167,163 of 189,027
Downloads: 2,745

Daily

Ranking: 111,214 of 189,003
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
44702,675,200rails
107417,471,332pg
119364,739,242rspec-rails
179263,461,409pry-byebug
90752,863,025factory_girl_rails

Owners

#GravatarHandle
1iconSkipants