method

one?

Importance_1
v7.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::Relation
one?() public

Returns true if there is exactly one record.

Show source
Register or log in to add new notes.