This is strange: I’m doing the following in script/console:
Contract.find(:all) do |c|
?> if c.use_initial_published_date
c.initial_published_date = Date.today
For some reason it is not saving the updated the records when I do this.
Does anyone see a glaring error I’m making? c.use_initial_publised_date
is a boolean that is true for the last 3 records and false for the other