test/dummy/config/application.rb in invoice_bar-0.0.6 vs test/dummy/config/application.rb in invoice_bar-0.0.7
- old
+ new
@@ -10,11 +10,11 @@
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.
# Custom directories with classes and modules you want to be autoloadable.
- # config.autoload_paths += %W(#{config.root}/extras)
+ #config.autoload_paths += %W(#{config.root}/extras)
# Only load the plugins named here, in the order given (default is alphabetical).
# :all can be used as a placeholder for all plugins not explicitly named.
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
@@ -41,28 +41,22 @@
# Use SQL instead of Active Record's schema dumper when creating the database.
# This is necessary if your schema can't be completely dumped by the schema dumper,
# like if you have constraints or database-specific column types
# config.active_record.schema_format = :sql
- # Enforce whitelist mode for mass assignment.
- # This will create an empty whitelist of attributes available for mass-assignment for all models
- # in your app. As such, your models will need to explicitly whitelist or blacklist accessible
- # parameters by using an attr_accessible or attr_protected declaration.
- config.active_record.whitelist_attributes = true
-
# Enable the asset pipeline
config.assets.enabled = true
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'
-
+
# Internationalization
- config.i18n.available_locales = :cs
+ config.i18n.available_locales = [:cs, :en]
config.i18n.default_locale = :cs
config.i18n.fallbacks = true
-
+
# Factories
config.generators do |g|
g.fixture_replacement :factory_girl
end
end
-end
\ No newline at end of file
+end