Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #here are the SMTP settings
- ActionMailer::Base.smtp_settings = {
- :port => 25,
- :address => "mail.authsmtp.com",
- :domain => "mail.authsmtp.com",
- :user_name => 'user',
- :password => 'yeahyeah',
- :authentication => :plain
- }
- #environment.rb
- RAILS_GEM_VERSION = '2.0.2' unless defined? RAILS_GEM_VERSION
- # Bootstrap the Rails environment, frameworks, and default configuration
- require File.join(File.dirname(__FILE__), 'boot')
- Rails::Initializer.run do |config|
- config.action_controller.session = { :session_key => "_integrated_database_session", :secret => "Yeahright" }
- end
- gem 'mislav-will_paginate', '~> 2.2'
- require 'will_paginate'
- #production.rb #this one throws the error
- # The production environment is meant for finished, "live" apps.
- # Code is not reloaded between requests
- config.cache_classes = true #default is true
- config.action_controller.consider_all_requests_local = false #default is false
- config.action_controller.perform_caching = true
- ActionController::Base.fragment_cache_store = :file_store, "/var/integrated_database/tmp/cache"
- # Disable delivery errors, bad email addresses will be ignored
- config.action_mailer.raise_delivery_errors = true
- #development.rb #works just fine
- config.cache_classes = false
- # Log error messages when you accidentally call methods on nil.
- config.whiny_nils = true
- # Enable the breakpoint server that script/breakpointer connects to
- #config.breakpoint_server = true
- # Show full error reports and disable caching
- config.action_controller.consider_all_requests_local = true
- config.action_controller.perform_caching = false
- config.action_view.cache_template_extensions = false
- config.action_view.debug_rjs = true
- config.action_mailer.raise_delivery_errors = true
Add Comment
Please, Sign In to add comment