-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathapplication.rb
More file actions
32 lines (24 loc) · 931 Bytes
/
application.rb
File metadata and controls
32 lines (24 loc) · 931 Bytes
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
require File.expand_path('../boot', __FILE__)
require 'rails/all'
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)
SimpleCaptcha.store = 'mongomapper'
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