RubyGems Navigation menu

activerecord-one 1.0.1

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

installation:
=

Versions:

  1. 1.0.2 - July 31, 2020 (4,5 ko)
  2. 1.0.1 - January 30, 2018 (4,5 ko)
  3. 1.0.0 - January 30, 2018 (4,5 ko)

Dépendances de Runtime (1):

rails >= 4

Dépendances de Development (1):

sqlite3 >= 0

Propriétaires:

Auteurs:

  • Eddie Lebow

Total de contrôle SHA 256:

=

Total de téléchargements 6 491

Pour cette version 2 319

Version publiée:

License:

public domain

Version de Ruby requise: >= 0

Liens: