Sha256: 0725f777383872b61877ce6d4a121ba35317310a75dc82a6c6ca259da5c6f7af
Contents?: true
Size: 836 Bytes
Versions: 22
Compression:
Stored size: 836 Bytes
Contents
if Object.const_defined?('RailsDb') RailsDb.setup do |config| # # enabled or not # config.enabled = Rails.env.development? # # automatic engine routes mounting # config.automatic_routes_mount = true # set tables which you want to hide ONLY # config.black_list_tables = ['users', 'accounts'] # set tables which you want to show ONLY # config.white_list_tables = ['posts', 'comments'] # # Enable http basic authentication # config.http_basic_authentication_enabled = false # # Enable http basic authentication # config.http_basic_authentication_user_name = 'rails_db' # # Enable http basic authentication # config.http_basic_authentication_password = 'password' # # Enable http basic authentication # config.verify_access_proc = proc { |controller| true } end end
Version data entries
22 entries across 22 versions & 1 rubygems