begin29
12/1/2016 - 11:00 AM

active record useful commands

active record useful commands

# check if column exist
ActiveRecord::Base.connection.column_exists?(:table_name, :column_name)