Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class NewAppointmentBoundary
- include ActiveAttr::Model
- attribute :start_date
- attribute :end_date
- validates :start_date presence: true
- validates :end_date presence: true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement