app/models/webhooker/subscriber.rb in webhooker-0.3.0 vs app/models/webhooker/subscriber.rb in webhooker-0.4.0
- old
+ new
@@ -1,6 +1,6 @@
module Webhooker
- class Subscriber < ActiveRecord::Base
+ class Subscriber < ApplicationRecord
validates :url, presence: true
validates :secret, presence: true
end
end