You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: enju_libraries_controller.rb
    path of file: ./repos/enju_leaf/app/controllers/concerns/enju_event
    
    the code of the file until where you have to start completion: module EnjuEvent
  module EnjuLibrariesController
    extend ActiveSupport::Concern

    def show
      sea
    
    def show
      search = Sunspot.new_search(Event)
      library_id = @library.id
      search.build do
        with(:library_id).equal_to library_id
        order_by(:start_at, :desc)
      end
      page = params[:event_page] || 1
      search.query.paginate(page.to_i, Event.default_per_page)
      @events = search.execute!.results
    end