public
Created

  • Download Gist
application.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
require File.expand_path('../boot', __FILE__)
 
require 'rails/all'
 
# If you have a Gemfile, require the gems listed there, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env) if defined?(Bundler)
 
module Blog
class Application < Rails::Application
# Activate observers that should always be running
config.active_record.observers = :comment_observer
# Configure the default encoding used in templates for Ruby 1.9.
config.encoding = "utf-8"
# Configure sensitive parameters which will be filtered from the log file.
config.filter_parameters += [:password]
end
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.