Skip to content
Newer
Older
100644 64 lines (46 sloc) 2.48 KB
3be328b @marciomr Adding missing files
authored
1 require File.expand_path('../boot', __FILE__)
2
3 require 'rails/all'
4
5 # If you have a Gemfile, require the gems listed there, including any gems
6 # you've limited to :test, :development, or :production.
300f386 @marciomr Successfully updated to rails 3.1
authored
7 #Bundler.require(:default, Rails.env) if defined?(Bundler)
8
9 if defined?(Bundler)
10 # If you precompile assets before deploying to production, use this line
11 Bundler.require *Rails.groups(:assets => %w(development test))
12 # If you want your assets lazily compiled in production, use this line
13 # Bundler.require(:default, :assets, Rails.env)
14 end
3be328b @marciomr Adding missing files
authored
15
77ff5ab @marciomr still fixing errors from the migration to rails 3
authored
16 module Terralivre
3be328b @marciomr Adding missing files
authored
17 class Application < Rails::Application
300f386 @marciomr Successfully updated to rails 3.1
authored
18
ee829ae @marciomr todos os testes passando
authored
19 config.middleware.use Rack::Pjax
20
300f386 @marciomr Successfully updated to rails 3.1
authored
21 # Enable the asset pipeline
22 config.assets.enabled = true
23
24 # Version of your assets, change this if you want to expire all your assets
25 config.assets.version = '1.0'
26
3be328b @marciomr Adding missing files
authored
27 # Settings in config/environments/* take precedence over those specified here.
28 # Application configuration should go into files in config/initializers
29 # -- all .rb files in that directory are automatically loaded.
30
31 # Custom directories with classes and modules you want to be autoloadable.
32 # config.autoload_paths += %W(#{config.root}/extras)
33
34 # Only load the plugins named here, in the order given (default is alphabetical).
35 # :all can be used as a placeholder for all plugins not explicitly named.
36 # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
37
38 # Activate observers that should always be running.
39 # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
40
41 # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
42 # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
07cef2d @marciomr Sveral changes
authored
43 config.time_zone = 'Brasilia'
3be328b @marciomr Adding missing files
authored
44
45 # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
46 # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
47 # config.i18n.default_locale = :de
48
49 # JavaScript files you want as :defaults (application.js is always included).
50 # config.action_view.javascript_expansions[:defaults] = %w(jquery rails)
51
52 config.generators do |g|
53 g.stylesheets false
54 g.fixture_replacement :factory_girl
55 end
56
57 # Configure the default encoding used in templates for Ruby 1.9.
58 config.encoding = "utf-8"
59
60 # Configure sensitive parameters which will be filtered from the log file.
61 config.filter_parameters += [:password]
62 end
63 end
Something went wrong with that request. Please try again.