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:
=

installieren:
=

Versionen:

  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 Abhängigkeiten (1):

Development Abhängigkeiten (3):

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

Besitzer:

Pushed by:

Autoren:

  • Eddie Lebow

SHA 256-Prüfsumme:

=

Downloads insgesamt 6.560

Für diese Version 2.136

Version veröffentlicht:

Lizenz:

public domain

Erforderliche Ruby-Version: >= 0

Links: