How to Do Authentication Right With Rails Devise

How to Do Authentication Right With Rails Devise

Eric Boersma Developer Tips, Tricks & Resources

Authentication for web apps is a difficult problem. Anyone who’s ever tried to create their own authentication system will tell you that there are a lot of unexpected edge cases. What’s more, your authentication system is an externally-facing part of your application. This means if someone is trying to hack into your application, your login system’s security will be one of …

Rails Migration

Rails Migration A Complete Guide

Eric Boersma Developer Tips, Tricks & Resources

A Rails migration is a tool for changing an application’s database schema. Instead of managing SQL scripts, you define database changes in a domain-specific language (DSL). The code is database-independent, so you can easily move your app to a new platform. You can roll migrations back, and manage them alongside your application source code. Let’s take a look at what Rails migrations …