<commit_before>module FacelauncherInstance
  class Signup < ActiveResource::Base
    self.site = FacelauncherInstance.setup.config.server_url
    self.format = :json

    schema do
      string :email, :first_name, :last_name, :city, :zip, :facebook_user_id,
             :program_access_key
    end

    validates :email, presence: true, length: { maximum: 100 }
    validates :first_name, length: { maximum: 50 }
    validates :last_name, length: { maximum: 50 }
    validates :city, length: { maximum: 40 }
    validates :zip, length: { maximum: 9 }
    validates :facebook_user_id, length: { maximum: 25 }
  end
end
<commit_msg>Fixed bad reference to server URL in signup.rb.<commit_after>module FacelauncherInstance
  class Signup < ActiveResource::Base
    self.site = FacelauncherInstance::Engine.config.server_url
    self.format = :json

    schema do
      string :email, :first_name, :last_name, :city, :zip, :facebook_user_id,
             :program_access_key
    end

    validates :email, presence: true, length: { maximum: 100 }
    validates :first_name, length: { maximum: 50 }
    validates :last_name, length: { maximum: 50 }
    validates :city, length: { maximum: 40 }
    validates :zip, length: { maximum: 9 }
    validates :facebook_user_id, length: { maximum: 25 }
  end
end

{'fraction_non_alphanumeric': 0.10230769230769231, 'fraction_numerical': 0.018461538461538463, 'mean_word_length': 3.533101045296167, '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': '1357231', 'n_tokens_mistral': 433, 'n_tokens_neox': 400, 'n_words': 115}