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.5 KB)
  2. 1.0.1 - January 30, 2018 (4.5 KB)
  3. 1.0.0 - January 30, 2018 (4.5 KB)

Runtime 相依性套件 (1):

Development 相依性套件 (3):

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

擁有者:

推送者:

作者:

  • Eddie Lebow

SHA 256 總和檢查碼:

= 複製 已複製

總下載次數 6,368

這個版本 2,061

授權:

public domain

Ruby 版本需求: >= 0

相關連結: