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,804 of 191,405
Downloads: 2,768

Daily

Ranking: 128,170 of 191,378
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
44725,448,267rails
108430,422,010pg
121375,507,553rspec-rails
182269,567,383pry-byebug
92253,267,178factory_girl_rails

Owners

#GravatarHandle
1iconSkipants