Module: ActiveScaffold::Tableless::TablelessSingularAssociation

Defined in:
lib/active_scaffold/tableless.rb

Instance Method Summary collapse

Instance Method Details

#get_recordsObject

rubocop:disable Naming/AccessorMethodName



71
72
73
# File 'lib/active_scaffold/tableless.rb', line 71

def get_records # rubocop:disable Naming/AccessorMethodName
  klass < ActiveScaffold::Tableless ? scope.limit(1).to_a : super
end