Does anybody know how to make the following code work:
invoice = Invoice.select('id, date').find(1)
invoice.conf_date = Date.today
As it's mentioned in guides "If the select method is used, all the
returning objects will be read only" the code below throws an
Any help will be highly appreciated!