modify formtastic hook in order to work with ransack gem