Return true if the given template was compiled for a superset of the keys in local_assigns
Source Code
# File action_view/base.rb, line 528 def supports_local_assigns?(render_symbol, local_assigns) local_assigns.empty? || ((args = @@template_args[render_symbol]) && local_assigns.all? { |k,_| args.has_key?(k) }) end
<code/>and<pre/>for code samples.