Skip to content

Commit 045e4e2

Browse files
committed
REW-2045 - adds responds to missing method into csv2db gem
1 parent 4a9a7ce commit 045e4e2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

app/models/concerns/csv2db/import.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ def method_missing(method, *args, &block)
124124
end
125125
end
126126

127+
def respond_to_missing?(method, include_private = false)
128+
method.to_s.start_with?('param_') || super
129+
end
130+
127131
private
128132

129133
def check_file_contains_data

0 commit comments

Comments
 (0)