Class: ROM::Components::DSL::Dataset

Inherits:
Core
  • Object
show all
Defined in:
lib/rom/components/dsl/dataset.rb

Instance Method Summary collapse

Instance Method Details

#configureObject



12
13
14
15
16
17
18
19
# File 'lib/rom/components/dsl/dataset.rb', line 12

def configure
  if relation?
    config.join!({namespace: relation_id}, :right) if config.id != relation_id

    config.relation_id = relation_id
  end
  super
end