How to Fix Major Version Mismatch Warnings in Gradle
When you see something like the below, what do you do?
How to add Emoji support in Rails 4+ and MySQL 5.5+
You need to add Emoji storage support to your Rails application, but the DB either rejects the data or mangles the Emoji.
Read MoreHow to Enable Swapfile on Ubuntu AWS Instances
AWS EC2 instances do not come preconfigured with a swapfile. This means that if your application runs out of free memory something's probably gonna crash.
Read MoreHow to Add Password Validation to Your Devise Models
Devise does do some password validation on its own, but that's mostly front-end or controller-based, not on the model itself. If you want to add additional password validation to your Devise models you have to be careful to add it in a way that accommodates how Devise stores and processes passwords. To wit: Devise never actually stores the raw password on the model, even though there's a field for it. That's because as soon as your model is saved with something in the password field Devise takes it out, encrypts it, and then stores it in the encrypted_password field.
Read More