Using Rails Remote Forms With JQuery Validations

In every language/platform, there are many hidden features which you think deserve better recognition than they actually do. I mean, it doesn’t hit you until this feature solves you a two-days-never-been-seen-before problem, but after that, you want to praise the lord for gracefully granting it to us, human being. Introducing $.rails.handleRemote() Last time I had […]

Routing Only AJAX Requests In RoR

Don’t Solve The Problem, Prevent It. When you deal with input in programming, it is always a good practice to make sure you can’t get from the user what you wouldn’t want to get. I know it sounds strange at the beginning, but let me further explain with the simplest example: Let’s say you want […]