I want to change Fixnum to include the "weekend_days" method:
class Fixnum
def weekend_days
//get correct days
end
end
I want this to be available on my controllers and models? Obviously, I also need it to work in my tests.
Where are the "rails" suitable place to place?
source
share