Project description...
Make sure you have installed Ruby 2.0.0.
Then just checkout the code, configure dependencies and run the tests:
| $ sudo apt-get install postgresql libpq-dev postgresql-contrib | |
| $ sudo -u postgres createuser desired_user | |
| $ cd /etc/init.d/ | |
| $ sudo -u postgres psql template1 | |
| template1=# ALTER USER desired_user WITH PASSWORD 'desired_password'; |
| $ git tag -a v1.1 | |
| $ git push heroku v1.1^{}:master |
| .row | |
| width: 100% | |
| max-width: 62.5em | |
| min-width: 62.5em | |
| .row, .row .row | |
| width: auto | |
| margin-left: -0.9375em | |
| margin-right: -0.9375em | |
| margin-top: 0 |
$ hub pull-request -i 384 -b bkeepers:master -h bkeepers:branch-name
-i is the GitHub issue numberb is the base, or where you want to send the pull request, with bkeepers being the owner of the repository.-h is the head, or the branch where your changes live.More infos: http://opensoul.org/2012/11/09/convert-a-github-issue-into-a-pull-request/
| Segunda 14:00 - 18:00 4 horas | |
| Terça 16:30 - 20:30 4 horas | |
| Quarta 16:30 - 20:30 4 horas | |
| Quinta 16:30 - 20:30 4 horas | |
| Sexta 14:00 - 18:00 4 horas |
| def index | |
| @city = user_city | |
| @project_locations = project_locations(@city) | |
| @near_projects = Project.with_state('online').near(@city, 100).visible.order('distance').limit(4) | |
| used_ids += @near_projects.map(&:id) if @near_projects.any? | |
| end | |
| def near | |
| raise ActionController::UnknownController unless request.xhr? | |
| @projects = apply_scopes(Project).with_state('online').near(params[:location], 100).visible.order('distance').page(params[:page]).per(4) | |
| render layout: false |
| #= require spec_helper | |
| describe "Dashboard.ApplicationStore", -> | |
| beforeEach( -> | |
| Test.store = TestUtil.lookupStore() | |
| ) | |
| it "works with latest Ember-Data revision", -> | |
| assert.equal Test.store.get('revision'), 12 |
| SyntaxError at /sessions | |
| ======================== | |
| > syntax error, unexpected << | |
| activesupport (4.1.1) lib/active_support/dependencies.rb, line 443 | |
| ------------------------------------------------------------------ | |
| ``` ruby | |
| 438 const_paths = [const_paths].compact unless const_paths.is_a? Array |