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: 161,711 of 180,518
Downloads: 2,423

Daily

Ranking: 143,384 of 180,507
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
42515,808,343rails
107301,006,480pg
115263,278,283rspec-rails
171192,546,652pry-byebug
74550,239,403factory_girl_rails

Owners

#GravatarHandle
1iconSkipants