Rails models come with specific built-in methods:
Appointment.new Appointment.find(1)
How to add additional methods to Appointment ? Apparently, this was not done by adding methods to app/models/appointment.rb . This adds the methods to the Appointment instance, but I want to add the methods to the Appointment myself. How to do it?
source share