Inline Updatable Input Fields
While working on rails applications, we face the requirement of, updating some attributes of an object without reloading page, quite often. For example updating a value of a record in…
While working on rails applications, we face the requirement of, updating some attributes of an object without reloading page, quite often. For example updating a value of a record in…
When we develop web applications like Ruby on Rails with rich web page designs, it means more scripts, stylesheets, images, and Flash in the page. Speed of application is inversely…
Working with Oracle database supported application, which we want to internationalize, and then ‘charset’ is crucial factor to provide Unicode storage ability. If we are going to internationalize a new…
While working with one of our Ruby on Rails applications, I wanted to Internationalize the application with full support to Unicode data to be displayed and stored in database. Here…
In the today’s era of Globalization, any application developed should be such that it can target user groups across the world. Dealing with the different user groups in different geographical…
In any application, validations play an important role in protecting application from invalid data to be saved into the database. There are several ways of validating data before it is…
In a Ruby on Rails application, we need to skip validation as well as callbacks while saving the object.
In Rails 3.x, commonly used method to skip callbacks is ActiveSupport’s skip_callback method, but this method could cause problems as its not thread-safe. This post talks about alternative way to achieve the purpose.