app/models/bjond_registration.rb in bjond-api-0.1.3 vs app/models/bjond_registration.rb in bjond-api-0.1.4
- old
+ new
@@ -1,9 +1,9 @@
include BjondApi
require 'attr_encrypted'
class BjondRegistration < ActiveRecord::Base
- has_many :BjondServices
+ has_many :bjond_services
attr_encrypted :encryption_key, key: ENV[BjondApi::BjondAppConfig.instance.encryption_key_name]
def self.find_registration_by_remote_ip(ip)