<commit_before>class DeviseViewsGenerator < Rails::Generators::Base
  desc "Copies all Devise views to your application."

  def self.source_root
    @_devise_source_root ||= File.expand_path("../../../../app/views", __FILE__)
  end

  def copy_views
    directory "devise"
  end
end<commit_msg>In Rails 3, for some reason, you need to restart the server after copying views.<commit_after>class DeviseViewsGenerator < Rails::Generators::Base
  desc "Copies all Devise views to your application."

  def self.source_root
    @_devise_source_root ||= File.expand_path("../../../../app/views", __FILE__)
  end

  def copy_views
    directory "devise"
  end

  def say_restart_server
    say "Views copied. Please restart your server."
  end
end
{'fraction_non_alphanumeric': 0.10931174089068826, 'fraction_numerical': 0.001349527665317139, 'mean_word_length': 3.7261146496815285, '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': '3829425', 'n_tokens_mistral': 231, 'n_tokens_neox': 220, 'n_words': 69}