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: 169,913 of 196,643
Downloads: 2,917

Daily

Ranking: 57,730 of 196,611
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
45784,728,949rails
110468,430,144pg
124406,025,129rspec-rails
190286,122,741pry-byebug
96154,036,382factory_girl_rails

Owners

#GravatarHandle
1iconSkipants