Class: FriendlyId::SequelAdapter::SluggedModel::SingleFinder

Inherits:
Object
  • Object
show all
Includes:
Finders::Base, Finders::Single
Defined in:
lib/friendly_id/sequel_adapter/slugged_model.rb

Instance Method Summary collapse

Instance Method Details

#findObject



11
12
13
# File 'lib/friendly_id/sequel_adapter/slugged_model.rb', line 11

def find
  join(*join_conditions).select(columns).where(conditions).first
end