We all know how easy it is to create a Rails app, but what about when your app is ready for production? The first thing you need to do is to set up your server and install the proper libraries, so fire…
Continue Reading… In Part One of this series, I explained how to create a Rails application with a sign up form. This article concludes the process of user authentication Authentication Method As we can now save encrypted passwords in the database, it’s time to…
Continue Reading… (Note: Source code accompanying this article can be found here.) Today we’re going to learn how to implement simple user authentication in a Rails application from scratch. We’ll examine best practices to help avoid common, often costly, mistakes. Introduction to User Authentication…
Continue Reading… When I first started with RoR, I used to wonder how developers deployed their application with such ease. Here’s a guide which should come in handy if you want to deploy a Rails app with Nginx, without making the whole process look…
Continue Reading… Recently, I had the need to investigate better methods of uploading pictures to our web application. The app is Rails-based and hosted on Heroku. Heroku, as I am sure many of you know, constrains its hosted applications with a read-only file system.…
Continue Reading… Deleting a Location. In the first part, we built an application that lists locations in English and Spanish. In the second part, we added the ability to create locations in English and Spanish. In the third part, we added the ability to…
Continue Reading… Now more than ever is the security of your rails application under close scrutiny. Github user homakov (Egor Homakov exposed a vulnerability of Rails (that no doubt also lives in an app near you) with this playful commit in the Rails project…
Continue Reading… Editing A Location. In the first part, we built an application that lists locations in English and Spanish. In the second part, we added the ability to create new locations in English and Spanish. In this part we will edit a location,…
Continue Reading… What is DDD There are many kinds of complexity that you have to deal with developing software and different kinds of applications will have very different sets of problems you need to solve. If you are building the next Twitter, scalability and…
Continue Reading… The Loccasions application now allows most of the basic functionality that I wanted to produce. Now it’s time to examine what went right, what went wrong, and what the next iteration is.
Continue Reading…