# File lib/sinatra/rabbit.rb, line 236
      def generate_options
        current_collection = self
        Rabbit::routes << [:options, "#{Sinatra::UrlForHelper::DEFAULT_URI_PREFIX}/#{name}"]
        ::Sinatra::Application.options("#{Sinatra::UrlForHelper::DEFAULT_URI_PREFIX}/#{name}") do
          operations_allowed = current_collection.operations.collect { |o| o[0] }.join(',')
          headers 'X-Operations-Allowed' => operations_allowed
          [200, '']
        end
      end