The Amazon Simple Email Service is a cloud service inside AWS (Amazon Web Services) to send and receive email. It’s my favorite service to send emails and it’s really simple to set up. I will also talk about how to configure Ruby on Rails to use it through an SMTP connection. Be sure to take some time aside because DNS configuration is involved and you will have to wait for things to be synchronized.
When developing a Rails application, it’s important to seed the database with either manual or random data so the application looks realistic. There are some basic techniques to seed the database worth knowing that will save us time.
If you sell something in your Rails application, being a product or a service, and you live in Europe, you have to comply with the cookie law. There are multiple JS solutions out there to ease this task, but I will teach you how to implement a cookie bar from scratch so you have full control and make it usable.
When developing a web application, templates usually need to implement some logic, especially conditionals. I’m going to show you two patterns which are commonly used in web development with Ruby on Rails: presenters and decorators. They are meant to move template logic to dedicated classes, so templates look cleaner and more object oriented.