<commit_before># Settings specified here will take precedence over those in config/environment.rb

# In the development environment your application's code is reloaded on
# every request.  This slows down response time but is perfect for development
# since you don't have to restart the webserver when you make code changes.
config.cache_classes = false

# Log error messages when you accidentally call methods on nil.
config.whiny_nils = true

# Show full error reports and disable caching
config.action_controller.consider_all_requests_local = true
config.action_view.debug_rjs                         = true
config.action_controller.perform_caching             = false

# run rake js:build to build the optimized JS if set to true
# ENV['USE_OPTIMIZED_JS']                            = true

# Really do care if the message wasn't sent.
config.action_mailer.raise_delivery_errors = true

config.to_prepare do
  # Raise an exception on bad mass assignment. Helps us catch these bugs before
  # they hit.
  Canvas.protected_attribute_error = :raise

  # Raise an exception on finder type mismatch or nil arguments. Helps us catch
  # these bugs before they hit.
  Canvas.dynamic_finder_nil_arguments_error = :raise
  Canvas.dynamic_finder_type_cast_error = :raise
end

# initialize cache store
# this needs to happen in each environment config file, rather than a
# config/initializer/* file, to allow Rails' full initialization of the cache
# to take place, including middleware inserts and such.
config.cache_store = Canvas.cache_store_config

# eval <env>-local.rb if it exists<commit_msg>fix typo in development.rb<commit_after># Settings specified here will take precedence over those in config/environment.rb

# In the development environment your application's code is reloaded on
# every request.  This slows down response time but is perfect for development
# since you don't have to restart the webserver when you make code changes.
config.cache_classes = false

# Log error messages when you accidentally call methods on nil.
config.whiny_nils = true

# Show full error reports and disable caching
config.action_controller.consider_all_requests_local = true
config.action_view.debug_rjs                         = true
config.action_controller.perform_caching             = false

# run rake js:build to build the optimized JS if set to true
# ENV['USE_OPTIMIZED_JS']                            = 'true'

# Really do care if the message wasn't sent.
config.action_mailer.raise_delivery_errors = true

config.to_prepare do
  # Raise an exception on bad mass assignment. Helps us catch these bugs before
  # they hit.
  Canvas.protected_attribute_error = :raise

  # Raise an exception on finder type mismatch or nil arguments. Helps us catch
  # these bugs before they hit.
  Canvas.dynamic_finder_nil_arguments_error = :raise
  Canvas.dynamic_finder_type_cast_error = :raise
end

# initialize cache store
# this needs to happen in each environment config file, rather than a
# config/initializer/* file, to allow Rails' full initialization of the cache
# to take place, including middleware inserts and such.
config.cache_store = Canvas.cache_store_config

# eval <env>-local.rb if it exists
{'fraction_non_alphanumeric': 0.05151420543240712, 'fraction_numerical': 0.0, 'mean_word_length': 3.9065849923430322, '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': '2471688', 'n_tokens_mistral': 867, 'n_tokens_neox': 828, 'n_words': 360}