development.rb 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. Rails.application.configure do
  2. # Settings specified here will take precedence over those in config/application.rb.
  3. # In the development environment your application's code is reloaded on
  4. # every request. This slows down response time but is perfect for development
  5. # since you don't have to restart the web server when you make code changes.
  6. config.cache_classes = false
  7. # Do not eager load code on boot.
  8. config.eager_load = false
  9. # Show full error reports and disable caching.
  10. config.consider_all_requests_local = true
  11. config.action_controller.perform_caching = false
  12. # Don't care if the mailer can't send.
  13. config.action_mailer.raise_delivery_errors = false
  14. # Print deprecation notices to the Rails logger.
  15. config.active_support.deprecation = :log
  16. # Raise an error on page load if there are pending migrations.
  17. config.active_record.migration_error = :page_load
  18. # Debug mode disables concatenation and preprocessing of assets.
  19. # This option may cause significant delays in view rendering with a large
  20. # number of complex assets.
  21. config.assets.debug = true
  22. # Asset digests allow you to set far-future HTTP expiration dates on all assets,
  23. # yet still be able to expire them through the digest params.
  24. config.assets.digest = true
  25. # Adds additional error checking when serving assets at runtime.
  26. # Checks for improperly declared sprockets dependencies.
  27. # Raises helpful error messages.
  28. config.assets.raise_runtime_errors = true
  29. ##-- Agregada para el devise
  30. config.action_mailer.raise_delivery_errors = true
  31. config.action_mailer.default :charset => "utf-8"
  32. # config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
  33. config.action_mailer.default_url_options = { :host => 'localhost:3000' }
  34. config.active_support.deprecation = :log
  35. config.action_mailer.smtp_settings ={
  36. :address => 'mail.sml.mx',
  37. :port => 25,
  38. :tls => false,
  39. :domain => 'sml.mx',
  40. :authentication => :login,
  41. :user_name => 'noreply@sml.mx',
  42. :password => 'NoReply123',
  43. :enable_starttls_auto => false
  44. }
  45. # Raises error for missing translations
  46. # config.action_view.raise_on_missing_translations = true
  47. # Paperclip config:
  48. Paperclip.options[:image_magick_path] = "/opt/ImageMagick/bin"
  49. Paperclip.options[:command_path] = "/opt/ImageMagick/bin"
  50. end