Method: Trailblazer::Macro.options_for_dataset_from
- Defined in:
- lib/trailblazer/macro/each.rb
.options_for_dataset_from(dataset_from:) ⇒ Object
180 181 182 183 184 185 186 |
# File 'lib/trailblazer/macro/each.rb', line 180 def self.(dataset_from:) return {} unless dataset_from { Activity::Railway.Inject(:dataset, override: true) => dataset_from, # {ctx[:dataset]} is private to {each_activity}. } end |