<commit_before>class ApplicationController < ActionController::Base

  protect_from_forgery
  include Hobo::Controller::AuthenticationSupport

  before_filter :except => [:login, :forgot_password, :accept_invitation, :do_accept_invitation, :reset_password,
:do_reset_password] do
     login_required unless User.count == 0
     set_request_environment
  end

  before_filter :prepare_for_mobile

  def handle_item_drop
    position = params[:item_ordering].length
    lane = Lane.find(params[:lane_id])<commit_msg>force ssl<commit_after>class ApplicationController < ActionController::Base

  protect_from_forgery
  include Hobo::Controller::AuthenticationSupport

  require 'ssl_requirement'
  include SslRequirement

  ssl_exceptions

  before_filter :except => [:login, :forgot_password, :accept_invitation, :do_accept_invitation, :reset_password,
:do_reset_password] do
     login_required unless User.count == 0
     set_request_environment
  end

  before_filter :prepare_for_mobile

  def handle_item_drop
    position = params[:item_ordering].length
    lane = Lane.find(params[:lane_id])
{'fraction_non_alphanumeric': 0.07846715328467153, 'fraction_numerical': 0.0018248175182481751, 'mean_word_length': 6.077419354838709, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1356012', 'n_tokens_mistral': 330, 'n_tokens_neox': 314, 'n_words': 63}