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: http://blog.ivanilves.com/2016/rails-dump-fixtures-from-db/ | |
| # Usage: | |
| # * rake db:fixtures:dump to dump all models. | |
| # * rake db:fixtures:dump MODELS="user billing_account" to dump only User and BillingAccount models. | |
| # * rake db:fixtures:dump EXCEPT="user billing_account" to dump all, except for User and BillingAccount models. | |
| # | |
| namespace :db do | |
| namespace :fixtures do |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
NewerOlder