Flowdock
method

verify_presence_of_keys_in_hash_flash_or_params

Importance_0
v2.3.2 - Show latest stable - 0 notes - Class: ActionController::Verification
verify_presence_of_keys_in_hash_flash_or_params(options) 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/verification.rb, line 104
    def verify_presence_of_keys_in_hash_flash_or_params(options) # :nodoc:
      [*options[:params] ].find { |v| params[v].nil?  } ||
      [*options[:session]].find { |v| session[v].nil? } ||
      [*options[:flash]  ].find { |v| flash[v].nil?   }
    end
Register or log in to add new notes.