SAVE AN OBJECT SKIPPING CALLBACKS IN RAILS 3 APPLICATION

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.

Technology
Read more

Ruby on Rails and Database

In Rails, ActiveRecord works as a bridge between the database and Ruby code and allows straightforward mappings between applications objects and database tables. ActiveRecord is compatible with databases like MySQL, SQLite and PstegreSQL. RoR recommends three separate databases for development, production and test environments.

My Voice
Read more

The Idea Behind Rails

Rails is the Web application framework written in Ruby language, is also known as Ruby on Rails. Ruby on Rails makes application development easy and fun because of its two basic guidelines which are ‘Don’t Repeat yourself’ and ‘Convention over Configuration’. Developers prefer RoR considering its higher productivity and less complications over the code.

My Voice
Read more