Sha256: 78afd03e652137c49814f4d338232ff9b3207f3d541b076df71dd4a0c36e6564
Contents?: true
Size: 1.22 KB
Versions: 3
Compression:
Stored size: 1.22 KB
Contents
# frozen_string_literal: true require File.expand_path('boot', __dir__) # Pick the frameworks you want: require 'active_record/railtie' require 'action_controller/railtie' require 'active_resource/railtie' require 'rails/test_unit/railtie' Bundler.require if defined?(Bundler) require 'canard' module Dummy class Application < Rails::Application # Configure the default encoding used in templates for Ruby 1.9. config.encoding = 'utf-8' # Configure sensitive parameters which will be filtered from the log file. config.filter_parameters += [:password] # 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 end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
canard-0.6.2.pre | test/dummy/config/application.rb |
canard-0.6.1.pre | test/dummy/config/application.rb |
canard-0.6.0.pre | test/dummy/config/application.rb |