Howto Overwrite existing Ruby Class via Rails app?

create a new file under /lib directory ... i.e /lib/format.rb then overwrite from the file

class Date    module format       MONTHS = { } # overwrite here    end end

overwriting a constant will result a warning!

Jermaine wrote: