Guard watches a directory and runs commands when it sees changes to files.
This is great for automating your rspec tests!
Add guard and guard-rspec to your Gemfile
| Backbone.Collection = { | |
| fetch: function() { | |
| var requestUrl; | |
| if (isAFunction(this.url)) { | |
| requestUrl = this.url(); | |
| } else { | |
| requestUrl = this.url; | |
| } | |
| --------------------------------------------------------------------------------------- | |
| #### If you want to create a new GIT repo + ADD travis-ci.org ##### | |
| -------------------------------------------------------------------------------------- | |
| 1.) cd into your app | |
| 2.) git init --> from inside your folder | |
| 3.) Create the new repo on Github | |
| (Below should show up after creating new Repo) | |
| * git remote add origin [email protected]:catm705/registry_app.git | |
| * git push -u origin master |
| development: &defaults | |
| adapter: postgresql | |
| encoding: unicode | |
| pool: 5 | |
| host: localhost | |
| username: <%= `echo $USER`.chomp %> | |
| password: | |
| database: <%= File.basename(Rails.root) %>_development | |
| test: |