This method is deprecated or moved on the latest stable version.
The last existing version (v4.0.2) is shown here.
recompile_options!()
private
Options support the same options as filters themselves (and support
symbols, string, procs, and objects), so compile a conditional expression
based on the options.
# File activesupport/lib/active_support/callbacks.rb, line 225
def recompile_options!
conditions = ["true"]
unless options[:if].empty?
conditions << Array(_compile_filter(options[:if]))
end
unless options[:unless].empty?
conditions << Array(_compile_filter(options[:unless])).map {|f| "!#{f}"}
end
@compiled_options = conditions.flatten.join(" && ")
end