This method is deprecated or moved on the latest stable version.
The last existing version (v2.3.8) is shown here.
significant_keys()
public
Return an array containing all the keys that are used in this route. This
includes keys that appear inside the path, and keys that have requirements
placed upon them.
# File actionpack/lib/action_controller/routing/route.rb, line 78
def significant_keys
@significant_keys ||= returning([]) do |sk|
segments.each { |segment| sk << segment.key if segment.respond_to? :key }
sk.concat requirements.keys
sk.uniq!
end
end