RubyGems Navigation menu

null_object_models 1.0.0

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.

Gemfile:
=

インストール:
=

バージョン履歴:

  1. 1.0.0 October 26, 2016 (19KB)

Runtime依存関係 (1):

rails ~> 5.0

Development依存関係 (4):

pg ~> 0.19
pry-byebug ~> 3.4
rspec-rails ~> 3.5

所有者:

作者:

  • Andrew Szczepanski

SHA 256チェックサム:

=

累計ダウンロード数 2,588

このバージョンのみ 2,588

このバージョンがリリースされたのは:

ライセンス:

MIT

必要なRubyのバージョン: >= 0

リンク: