RubyGems Navigation menu

activerecord-one 1.0.2

Provides `ActiveRecord::Relation#one!`, a convenience method that asserts a relation contains exactly one record and returns it. If there are no records or more than one, an `ActiveRecord::NoRecordFound` or `ActiveRecord::MultipleRecordsFound` exception is raised, respectively.

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 1.0.2 - July 31, 2020 (4.5KB)
  2. 1.0.1 - January 30, 2018 (4.5KB)
  3. 1.0.0 - January 30, 2018 (4.5KB)

Runtime依存関係 (1):

Development依存関係 (3):

minitest >= 0
rake >= 0
sqlite3 >= 0

所有者:

プッシュ者:

作者:

  • Eddie Lebow

SHA 256チェックサム:

= クリップボードにコピー コピー完了!

累計ダウンロード数 6,368

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

ライセンス:

public domain

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

リンク: