Projects‎ > ‎Local Support‎ > ‎

Developer Tips

Installation and other technical issues are being gathered in the github wiki:

Push a branch to heroku

If you need to switch branches, or to any other commit, in heroku, and a regular push fails, forcing the push with the '-f' option may help. This may be useful when you want to stage some experimental feature for others to see live.

For example
git checkout an-interesting-branch
git push heroku an-interesting-branch:master -f

Testing with cookies

The code snippets in this StackOverflow answer may help us write tests that involve cookies:

http://stackoverflow.com/questions/5335183/using-cookies-with-racktest

According to docs, the rack-test mixin is available in spec/requests/ and spec/integration/ Please post how you get on.


Comments