Rails : Best practices to change data in Production database

The situation might come when the whole data-column in few tables of production database have to be altered. Most probably when you forgot to set default value in data-fields and stored Null value is troubling you when querying. Continue reading

Advertisements

jQuery DataTables: Turn off sorting of a particular Column

You can also disable sorting feature of any column of the table you want in different ways. There are simple and easy to use options to disable sorting of columns in jQuery DataTables..

One is passing index and the other is passing class name of the column.
Continue reading