Ruby – Module :: NoMethodError
Apart from the answers that give you the option of defining the function as self., you have another option of including the module and calling it without the module reference like this: module Prober def probe_invoke(type, data = {}) p = Probe.new({:probe_type => type.to_s, :data => data.to_json, :probe_status => 0, :retries => 0}) p.save end … Read more