<commit_before>module Wallaby
  class ResourcesController < CoreController
    include CreateAction, UpdateAction, DestroyAction

    def index
      collection
    end

    def new
      resource
    end

    def create
      if created?
        create_success
      else
        create_error
      end
    end

    def show
      resource
    end

    def edit
      resource
    end

    def update
      if updated?
        update_success
      else
        update_error
      end
    end

    def destroy
      if destroyed?
        destroy_success
      else
        destroy_error
      end
    end

    def search
      # TODO: for ransack
    end

    def history
      # TODO: for papertrail
    end
  end
end<commit_msg>remove not-in-use search and history for resources_controller<commit_after>module Wallaby
  class ResourcesController < CoreController
    include CreateAction, UpdateAction, DestroyAction

    def index
      collection
    end

    def new
      resource
    end

    def create
      if created?
        create_success
      else
        create_error
      end
    end

    def show
      resource
    end

    def edit
      resource
    end

    def update
      if updated?
        update_success
      else
        update_error
      end
    end

    def destroy
      if destroyed?
        destroy_success
      else
        destroy_error
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.017094017094017096, 'fraction_numerical': 0.0, 'mean_word_length': 1.5315315315315314, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4931396', 'n_tokens_mistral': 381, 'n_tokens_neox': 364, 'n_words': 125}