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,294 of 189,569
Downloads: 2,753

Daily

Ranking: 94,551 of 189,540
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
44709,594,102rails
107421,423,348pg
120367,871,389rspec-rails
181265,352,551pry-byebug
91553,008,348factory_girl_rails

Owners

#GravatarHandle
1iconSkipants