instantiate_record calls new, and new implicitly calls initialize (unless I'm not understanding the mystery)
In base.rb
def instantiate_record(record, prefix_options = {}) new(record, true).tap do |resource| resource.prefix_options = prefix_options end end
As it's written get an ArgumentError as this calls new(record, true).
If I change the code in base.rb to the following:
def instantiate_record(record, prefix_options = {}) new(record).tap do |resource| resource.prefix_options = prefix_options end end
I no longer get the ArgumentError.
Is this a known issue?