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: 168,246 of 192,071
Downloads: 2,783

Daily

Ranking: 127,069 of 192,060
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
44733,272,292rails
108435,198,483pg
122379,572,114rspec-rails
182271,686,390pry-byebug
92353,485,337factory_girl_rails

Owners

#GravatarHandle
1iconSkipants