class ApplicationController < ActionController::Base
  
  before_filter :apipie_validations if Apipie.configuration.validate == :explicitly
  
  resource_description do
    param :oauth, String, :desc => "Authorization", :required => false
  end
end

class ApplicationController < ActionController::Base
  before_filter :run_validations
  
  resource_description do
    param :oauth, String, :desc => "Authorization", :required => false
  end

  def run_validations
    if Apipie.configuration.validate == :explicitly
      apipie_validations
    end
  end

end

Change conditional use of before_filter to suit Rails 3.2
Change conditional use of before_filter to suit Rails 3.2
