Topics Covered: Social Integration; Using the omniauth-facebook gem
All social-media sites were not created equal (Meowbook is obviously superior). However, we can't ignore the user base of the big FB. Integrating the two, and allowing users to sign into Meowbook with their FB account, is a nice additional feature for our fantastical feline site.
At this stage of the game, we aren't going to actively enforce doing the exercises anymore. The lecture content is now moving into the range of "nice to know". If you would like to use Omniauth in your projects, we recommend you try it out on Meowbook first, otherwise, you can continue working on your projects.
better_errors
. As some of you may have noticed, while sometimes this gem gives you great information about where and what your error is, sometimes it tells you absolutely nothing. In fact, sometimes, it points you in the wrong direction. If you're stuck on an error for a while, try tackling it without better_errors
bootstrap-sass
gem tells you to install autoprefixer-rails
, but this isn't needed and can cause crazy errors. export PASSWORD = "oncerocks"
is invalid, and should be export PASSWORD="oncerocks"
alias
. This is for Mac-like terminals only. alias
is a really cool way to rename terminal commands to whatever you want. For example, I have an alias gac
that I can type instead of git add . && git commit -m
. Here's a great resource for doing this."/users/1"
, or using the query string like "/reviews?restaurant_id=3"
.