instance method assigns

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.0.20

Signature

assigns()

No documentation comment.

Source
# File actionpack/lib/action_dispatch/testing/test_response.rb, line 29
      def assigns
        ActiveSupport::Deprecation.warn("response.assigns has been deprecated. Use controller.assigns instead", caller)
        @template.controller.assigns
      end

Defined in actionpack/lib/action_dispatch/testing/test_response.rb line 29 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::TestResponse::DeprecatedHelpers

Type at least 2 characters to search.

↑↓ navigate · open · esc close