<commit_before>require 'mini_magick'

module RailsAdmin

  class JcropController < RailsAdmin::ApplicationController
    skip_before_filter :get_model, raise: false
    before_filter :get_model, :get_object, :get_field, :get_fit_image

    helper_method :abstract_model, :geometry
<commit_msg>upgraded for rails 5<commit_after>require 'mini_magick'

module RailsAdmin

  class JcropController < RailsAdmin::ApplicationController
    skip_before_action :get_model, raise: false
    before_action :get_model, :get_object, :get_field, :get_fit_image

    helper_method :abstract_model, :geometry

{'fraction_non_alphanumeric': 0.07082630691399663, 'fraction_numerical': 0.0016863406408094434, 'mean_word_length': 6.615384615384615, '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': '4731857', 'n_tokens_mistral': 191, 'n_tokens_neox': 178, 'n_words': 41}