Displaying 1 result from an estimated 1 matches for "install_d".
Did you mean:
installed
2006 Jul 06
6
Help with overriding / overwriting date values in ActiveRecord to accept Euro Style Date from a Textbox
...e the = function to write in the date..
Cant get it to work because .. i dont knoe what format should it
accept.. i''ve tried hardcoding things like below but it all doesnt
work..
i) "2006-01-23"
i) "2006-01-23".to_date
i) Time.now
Any ideas anyone?
Eg code
def install_date=(newdate)
write_attribute(:install_date, "2006-01-23")
end
John W