instance method _is_active_model?

Ruby on Rails 2.4.1

Since v2.4.1 Last seen in v2.5.0 Private

Available in: v2.4.1 v2.5.0

Signature

_is_active_model?(object)

No documentation comment.

Parameters

object req
Source
# File lib/jbuilder/jbuilder_template.rb, line 128
  def _is_active_model?(object)
    object.class.respond_to?(:model_name) && object.respond_to?(:to_partial_path)
  end

Defined in lib/jbuilder/jbuilder_template.rb line 128 · View on GitHub · Improve this page · Find usages on GitHub

Defined in JbuilderTemplate

Type at least 2 characters to search.

↑↓ navigate · open · esc close