Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Get the dummy app running with Rails 3.1 and ignore vim swap files

  • Loading branch information...
commit 7556fcdbdba09cd14f6e8e4acdede45e8ca5f954 1 parent ec656e1
@mhoran mhoran authored
View
1  .gitignore
@@ -4,3 +4,4 @@ pkg/
spec/dummy/db/*.sqlite3
spec/dummy/log/*.log
spec/dummy/tmp/
+*.swp
View
1  spec/dummy/config/application.rb
@@ -1,7 +1,6 @@
require File.expand_path('../boot', __FILE__)
require "active_model/railtie"
-require "active_record/railtie"
require "action_controller/railtie"
require "action_view/railtie"
require "action_mailer/railtie"
View
22 spec/dummy/config/database.yml
@@ -1,22 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3
-development:
- adapter: sqlite3
- database: db/development.sqlite3
- pool: 5
- timeout: 5000
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- adapter: sqlite3
- database: ":memory:"
- pool: 5
- timeout: 5000
-
-production:
- adapter: sqlite3
- database: db/production.sqlite3
- pool: 5
- timeout: 5000
View
1  spec/dummy/config/environments/development.rb
@@ -11,7 +11,6 @@
# Show full error reports and disable caching
config.consider_all_requests_local = true
- config.action_view.debug_rjs = true
config.action_controller.perform_caching = false
# Don't care if the mailer can't send
View
3  spec/spec_helper.rb
@@ -16,9 +16,6 @@
Capybara.default_driver = :rack_test
Capybara.default_selector = :css
-# Run any available migration
-ActiveRecord::Migrator.migrate File.expand_path("../dummy/db/migrate/", __FILE__)
-
# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
Please sign in to comment.
Something went wrong with that request. Please try again.