Uhm, correct me if i'm wrong, cos i'm all new to RoR + Ruby itself, but
i think you could add a method to your usermodel that converts the
date, like this:
class BlaBla < ActiveRecord::Base
...
...
def price_to_start_on_convdate
self.price_to_start_on.strftime("%Y%m%d")
#or like this? gotta learn proper Ruby, damn
return self.price_to_start_on.strftime("%Y%m%d")
end
Is it correct to put that kind of thing in the model? I did that before with a date format - like Object#displaydate, and I was told that it was bad form - I should put it in a helper instead. Any thoughts on this?