Flowdock
method

find_record_in_template

Importance_0
v1.1.6 - Show latest stable - 0 notes - Class: Test::Unit::Assertions
find_record_in_template(key = nil) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/deprecated_assertions.rb, line 193
        def find_record_in_template(key = nil)
          assert_template_has(key)
          record = @response.template_objects[key]

          assert_not_nil(record)
          assert_kind_of ActiveRecord::Base, record

          return record
        end
Register or log in to add new notes.