Module: ActiveScaffold::Tableless::TablelessSingularAssociation

Defined in:
lib/active_scaffold/tableless.rb

Instance Method Summary collapse

Instance Method Details

#get_recordsObject

rubocop:disable Naming/AccessorMethodName


103
104
105
# File 'lib/active_scaffold/tableless.rb', line 103

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