Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Patch for rails app template - gsub .gitignore db/*.sqlite3 to db/*.db #24

Merged
merged 1 commit into from

2 participants

@szymon-przybyl

As I created rails app from that DataMapper template, it changed my config/database.yml and changed extensions of sqlite3 databases from .sqlite3 to .db, so I've changed it also in .gitignore in this commit.

@dkubb dkubb merged commit cf379d8 into datamapper:master
@dkubb
Owner

Thanks for this, merged!

Sorry for the delay. Just cleaning out the PR backlog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 29, 2011
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 0 deletions.
  1. +1 −0  templates/rails/application.rb
  2. +1 −0  templates/rails/gitignore.rb
View
1  templates/rails/application.rb
@@ -2,6 +2,7 @@
apply 'http://datamapper.org/templates/rails/config.rb'
apply 'http://datamapper.org/templates/rails/database.yml.rb'
+apply 'http://datamapper.org/templates/rails/gitignore.rb'
inject_into_file 'app/controllers/application_controller.rb',
"require 'dm-rails/middleware/identity_map'\n",
View
1  templates/rails/gitignore.rb
@@ -0,0 +1 @@
+gsub_file '.gitignore', /db\/\*\.sqlite3/, 'db/*.db'
Something went wrong with that request. Please try again.