Activity
Posted in Debugging With BetterErrors Discussion
Pry is awesome as well. This is similar and doesn't need to be in your console. It's not as powerful as pry in some areas like being able to cd into objects, so you can use the two together.
Posted in Keeping track with Annotate Discussion
Thanks for sharing that! I don't think I've run annotate with Postgres specific data types so I didn't know it had trouble with that. Great job on the gem.
Posted in Ruby Version Managers Discussion
With these version managers, you should never need to use sudo. The reason for this is that they install Ruby in your home directory so you own it. That means that installing gems, running bundler, and anything else all happens in your home directory as well. Since you own that folder, you won't be installing somewhere in the system and means that using sudo then would change the ownership to root and cause problems.
Posted in Ruby Version Managers Discussion
Yes! I haven't chruby, but hear it's great. Thanks for including the link to that. I'm going to give it a shot soon on a setup and see how it goes.
Sounds like you might have a foreign character somewhere in there that isn't US-ASCII. Are you using UTF8 characters anywhere?
1. Make sure font-awesome is included in your application.css
2. If you put the font-awesome icon on the page outside of the button, does it show up by itself?
I just fixed the example code in the notes. It was getting automatically removed on accident.
Posted in Sending emails with Mandrill Discussion
Hey Angelo! I believe the mandrill-rails
gem only supports Mandrill's inbound email webhooks.
The primary goal of Mandrill::Rails is to make supporting Mandrill web hooks as easy and Rails-native as possible.
The mandrill-api
gem should be for accessing their REST API which you can find here: https://mandrillapp.com/api...
Posted in The Params Hash | GoRails
Definitely an episode on strong_params in the works. This is a great one to go in depth on.
Posted in The Params Hash | GoRails
Already on it! :)
Make sure you open up the file using sudo before. So either "sudo vim /etc/nginx/nginx.conf" or "sudo nano /etc/nginx/nginx.conf"
Glad you got it! :)
I think this comes from your Capfile not being configured appropriately. Double check that step and make sure you've got all the correct require statements.
Did you install Vagrant from the rubygem before? I linked to the installer and make sure you remove the Vagrant gem.
Glad you found it!
You can check the nginx log then for errors and you should find something there. Could be syntax errors for example.
Posted in Setup MacOS 10.10 Yosemite Discussion
Looks like you're trying to install with an RVM version of Ruby. https://github.com/Homebrew...
Your deploy was successful. The failures are supposed to happen.
Make sure you point nginx to /home/deploy/sample_app/current/ and restart it.
The Ruby openssl extension was not compiled. Missing the OpenSSL lib?
Did you install the OpenSSL lib with apt-get?
Posted in Setup MacOS 10.9 Mavericks Discussion
It's inside your rails app; a file in the config directory.