<commit_before>class ConvertBlockedToState < ActiveRecord::Migration
  def up
    User.transaction do
      User.where(blocked: true).update_all(state: :blocked)
      User.where(blocked: false).update_all(state: :active)
    end
  end

  def down
    User.transaction do
      User.where(satate: :blocked).update_all(blocked: :true)
    end
  end
end<commit_msg>Typo fixed<commit_after>class ConvertBlockedToState < ActiveRecord::Migration
  def up
    User.transaction do
      User.where(blocked: true).update_all(state: :blocked)
      User.where(blocked: false).update_all(state: :active)
    end
  end

  def down
    User.transaction do
      User.where(state: :blocked).update_all(blocked: :true)
    end
  end
end
{'fraction_non_alphanumeric': 0.0997229916897507, 'fraction_numerical': 0.0, 'mean_word_length': 3.6948051948051948, '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': '7386935', 'n_tokens_mistral': 238, 'n_tokens_neox': 237, 'n_words': 50}