method

add_conditions_for

rails latest stable - Class: ActionController::Resources

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

add_conditions_for(conditions, method)
private

No documentation available.

# File actionpack/lib/action_controller/resources.rb, line 661
      def add_conditions_for(conditions, method)
        returning({:conditions => conditions.dup}) do |options|
          options[:conditions][:method] = method unless method == :any
        end
      end