Basis of rails-driven app for local business
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

75 lines
3.8 KiB

  1. # Be sure to restart your server when you modify this file
  2. # Uncomment below to force Rails into production mode when
  3. # you don't control web/app server and can't set it the proper way
  4. # ENV['RAILS_ENV'] ||= 'production'
  5. # Specifies gem version of Rails to use when vendor/rails is not present
  6. RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION
  7. # Bootstrap the Rails environment, frameworks, and default configuration
  8. require File.join(File.dirname(__FILE__), 'boot')
  9. Rails::Initializer.run do |config|
  10. # Settings in config/environments/* take precedence over those specified here.
  11. # Application configuration should go into files in config/initializers
  12. # -- all .rb files in that directory are automatically loaded.
  13. # See Rails::Configuration for more options.
  14. # Skip frameworks you're not going to use. To use Rails without a database
  15. # you must remove the Active Record framework.
  16. # config.frameworks -= [ :active_record, :active_resource, :action_mailer ]
  17. # Specify gems that this application depends on.
  18. # They can then be installed with "rake gems:install" on new installations.
  19. # You have to specify the :lib option for libraries, where the Gem name (sqlite3-ruby) differs from the file itself (sqlite3)
  20. # config.gem "bj"
  21. # config.gem "hpricot", :version => '0.6', :source => "http://code.whytheluckystiff.net"
  22. # config.gem "sqlite3-ruby", :lib => "sqlite3"
  23. # config.gem "aws-s3", :lib => "aws/s3"
  24. # Only load the plugins named here, in the order given. By default, all plugins
  25. # in vendor/plugins are loaded in alphabetical order.
  26. # :all can be used as a placeholder for all plugins not explicitly named
  27. # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
  28. # Add additional load paths for your own custom dirs
  29. # config.load_paths += %W( #{RAILS_ROOT}/extras )
  30. # Force all environments to use the same logger level
  31. # (by default production uses :info, the others :debug)
  32. # config.log_level = :debug
  33. # Make Time.zone default to the specified zone, and make Active Record store time values
  34. # in the database in UTC, and return them converted to the specified local zone.
  35. # Run "rake -D time" for a list of tasks for finding time zone names. Comment line to use default local time.
  36. config.time_zone = 'UTC'
  37. # The internationalization framework can be changed to have another default locale (standard is :en) or more load paths.
  38. # All files from config/locales/*.rb,yml are added automatically.
  39. # config.i18n.load_path << Dir[File.join(RAILS_ROOT, 'my', 'locales', '*.{rb,yml}')]
  40. # config.i18n.default_locale = :de
  41. # Your secret key for verifying cookie session data integrity.
  42. # If you change this key, all old sessions will become invalid!
  43. # Make sure the secret is at least 30 characters and all random,
  44. # no regular words or you'll be exposed to dictionary attacks.
  45. config.action_controller.session = {
  46. :session_key => '_galm_session',
  47. :secret => '018ce7ce87e3274994c6e12011378844be4d07d315d74f3eccc68071bf0ec5a7136047252d61e55f795085418ac3216e3ba4f348151500080b5995414a98a14b'
  48. }
  49. # Use the database for sessions instead of the cookie-based default,
  50. # which shouldn't be used to store highly confidential information
  51. # (create the session table with "rake db:sessions:create")
  52. # config.action_controller.session_store = :active_record_store
  53. # Use SQL instead of Active Record's schema dumper when creating the test database.
  54. # This is necessary if your schema can't be completely dumped by the schema dumper,
  55. # like if you have constraints or database-specific column types
  56. # config.active_record.schema_format = :sql
  57. # Activate observers that should always be running
  58. # Please note that observers generated using script/generate observer need to have an _observer suffix
  59. # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
  60. end