RailsCasts Pro episodes are now free!

Learn more or hide this

tennantje's Profile

GitHub User: tennantje

Comments by

Avatar

Came here with a similar intent to Kraig.

The below gist tracks my changes to Ryan's code that make this project Rails 4.2 + RSpec 3.2 friendly.

https://gist.github.com/tennantje/1ce46a6eb3c66a949efd

Avatar

I came here to share the same fix as given by others. I ended up renaming my authorize method to "check_authorization" and renamed my allow, allow? etc... methods to authorize, authorize? etc...

Avatar

this might help you out https://github.com/j10io/sample_capistrano_app/ it's based on this tutorial as well as the comments in this thread.

Avatar

No, cap deploy doesn't flush the db when you redeploy.

Suggest setting up a $5 per month instance on www.digitalocean.com and creating a test application so you can experiment.

Avatar

As of time of posting, 7th April 2012 ,tutorial still works fantastically on Ubuntu 12.10.

A few updates:

Delete the line in /etc/nginx/sites-enabled/default if you get the error bind() to [::]:80 failed (98: Address already in use)

listen [::]:80 default_server

If using 12.10 or 12.04 use

rbenv bootstrap-ubuntu-12-04

Postgres can still be installed using the method noted in the tutorial, but it's being depreciated in lieu of:

https://wiki.postgresql.org/wiki/Apt