This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source :rubygems | |
| gem 'rails', '3.0.3' | |
| gem 'mongo', '1.1.5' | |
| gem 'bson', '1.1.5' | |
| gem 'bson_ext', '1.1.5' | |
| gem 'mongoid', '2.0.0.beta.20' | |
| gem 'carrierwave' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Get notifications when there are migrations that need to be run in a Rails project: | |
| https://img.skitch.com/20110418-c9y3ttap3tai7frc43f38qtb8e.jpg | |
| In your Rails project edit the .git/config file to add the following: | |
| [rails] | |
| automigrate = false | |
| automigrateforegroundcolor = yellow | |
| automigratebackgroundcolor = black |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set :sync_directories, ["public/system/images"] | |
| set :sync_backups, 3 | |
| set :db_file, "mongoid.yml" | |
| set :db_drop, '--drop' # drop database (rewrites everything) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| generators = [] | |
| puts 'Spinning up a new app, captain!' | |
| devise = yes?('Use Devise? (yes/no)') | |
| jquery = yes?('Use jQuery? (yes/no)') | |
| jquery_ui = yes?('Use jQuery UI? (yes/no)') if jquery | |
| mongoid = yes?('Use mongoid? (yes/no)') | |
| haml = yes?('Use haml? (yes/no)') | |
| rspec = yes?('Use Rspec? (yes/no)') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ["<li class=\"\"><a href=\"/how-it-works\">How</a></li>", "<li class=\"\"><a href=\"/how-it-works\">About</a></li>"] |
NewerOlder