method

add_conditions_for

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActionController::Resources
add_conditions_for(conditions, method) 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/resources.rb, line 549
      def add_conditions_for(conditions, method)
        returning({:conditions => conditions.dup}) do |options|
          options[:conditions][:method] = method unless method == :any
        end
      end
Register or log in to add new notes.