-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathapplication.rb
More file actions
35 lines (27 loc) · 1.01 KB
/
application.rb
File metadata and controls
35 lines (27 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
require File.expand_path('../boot', __FILE__)
require "action_controller/railtie"
require "action_mailer/railtie"
require "active_resource/railtie"
require "rails/test_unit/railtie"
require "sprockets/railtie"
if defined?(Bundler)
# If you precompile assets before deploying to production, use this line
#Bundler.require *Rails.groups(:assets => %w(development test))
# If you want your assets lazily compiled in production, use this line
Bundler.require(:default, :assets, Rails.env)
end
module HacketyHackCom
class Application < Rails::Application
config.autoload_paths << "#{config.root}/lib" << "#{config.root}/presenters"
config.encoding = "utf-8"
config.filter_parameters += [:password]
config.assets.enabled = true
config.generators do |g|
g.template_engine :haml
# you can also specify a different test framework or ORM here
g.test_framework :rspec, :fixture => true
g.fixture_replacement :fabrication
g.orm :mongo_mapper
end
end
end