lib/dry_views/rails3_two.rb
# Override file actionpack/lib/action_view/helpers/capture_helper.rb, line 136
# If the empty check has already been performed (as content_for_with_default), you can call content_for_without_empty_check to bypass a duplicate check
Override file actionpack/lib/action_view/helpers/capture_helper.rb, line 136
If the empty check has already been performed (as content_for_with_default), you can call content_for_without_empty_check to bypass a duplicate check
Override file actionpack / lib / action_view / helpers / capture_helper . rb line 136 If the empty check has already been performed ( as content_for_with_default ) you can call content_for_without_empty_check to bypass a duplicate check
def content_for_with_empty_check(name, content = nil, &block)
        if content_for?(name) == :empty
          return nil
        else
          content_for_without_empty_check(name, content, &block)
        end
      end
def content_for_with_empty_check ( name , content = nil , & block ) if content_for? ( name ) == :empty return nil else content_for_without_empty_check ( name , content , & block ) end end
Override file actionpack/lib/action_view/helpers/capture_helper.rb, line 136
If the empty check has already been performed (as content_for_with_default), you can call content_for_without_empty_check to bypass a duplicate check
Override file actionpack / lib / action_view / helpers / capture_helper . rb line 136 If the empty check has already been performed ( as content_for_with_default ) you can call content_for_without_empty_check to bypass a duplicate check
# Some preceding layout or template has already specified that there is to be no content for this name, and that is FINAL.
name
content
block