Software Engineer at 3form in SLC. Mountain Biker and Backpacker. Father of two.
If you’re using OAuth and Devise together in an application, you need to remove the Devise Authentication routes and still confirm your model won’t go nuts creating rogue users.
When you’re working with beta sites, it’s commonplace to have <% if else %> blocks in your views for code that shouldn’t be seen in the live site. Did you know that there is a better way to handle that, though? Make use of of Rails…
You’ll find that Ruby offers some excellent flow and control and assignment opportunities. What’s more, is that it can be flipped right or left of `if` and `unless` statements. For example: