Module: ActiveScaffold::Tableless::TablelessSingularAssociation
- Defined in:
- lib/active_scaffold/tableless.rb
Instance Method Summary collapse
-
#get_records ⇒ Object
rubocop:disable Naming/AccessorMethodName.
Instance Method Details
#get_records ⇒ Object
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 |