The view layer in a traditional Rails app hasn’t changed a huge amount since rails 1.0 was shipped back in the crazy mid noughties. Sure—you might have switched from Prototype to jQuery, XHTML to HTML5, CSS to slightly nicer responsive CSS—but the…
Continue Reading… In a recent project, one of the technical requirements was to integrate an SMS service to a Rails application so that users could validate their accounts using their mobile device and also allow the application to send SMS messages to such users.…
Continue Reading… Way back when in the 1600′s, astronomy was all the rage in Europe, due for the most part to the invention and production of telescopes. As a result, kinds of people were able to learn more and teach society more about stars…
Continue Reading… Annoyances Handling payments in the past has been a complete pain. Just looking at PayPal’s API introduction makes me want to scream. Redirects, logins, checkouts; I just want process a payment! Stripe is a much needed breath of fresh air into this…
Continue Reading… 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…