Skip to content

Commit

Permalink
remove unused rails components from dummy app
Browse files Browse the repository at this point in the history
  • Loading branch information
glaszig committed Sep 2, 2023
1 parent ff332d4 commit 9dfe068
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 27 deletions.
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,6 @@ $.fn.recurring_select.options = {

## Testing and Development

The dummy app uses a [Postgres](http://postgresapp.com/) database `recurring_select_development`. To get setup:

```console
bundle
rake db:create
```

Start the dummy server for clicking around the interface:

```console
Expand Down
6 changes: 5 additions & 1 deletion spec/dummy/config/application.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
require File.expand_path('../boot', __FILE__)

require 'rails/all'
require "rails"
require "active_model/railtie"
require "action_controller/railtie"
require "action_view/railtie"
require "sprockets/railtie"

Bundler.require(*Rails.groups(:assets => %w(development test)))
require "recurring_select"
Expand Down
11 changes: 0 additions & 11 deletions spec/dummy/config/database.yml

This file was deleted.

3 changes: 0 additions & 3 deletions spec/dummy/config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
config.consider_all_requests_local = true
config.action_controller.perform_caching = false

# Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = false

# Print deprecation notices to the Rails logger
config.active_support.deprecation = :log

Expand Down
5 changes: 0 additions & 5 deletions spec/dummy/config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@
# Disable request forgery protection in test environment
config.action_controller.allow_forgery_protection = false

# Tell Action Mailer not to deliver emails to the real world.
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test

# Use SQL instead of Active Record's schema dumper when creating the test 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
Expand Down

0 comments on commit 9dfe068

Please sign in to comment.