mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
parent
4163ee9017
commit
1c560b1748
2 changed files with 17 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
class EppSession < ActiveRecord::Base
|
||||
before_save :marshal_data!
|
||||
|
||||
validates :session_id, presence: true
|
||||
|
||||
belongs_to :registrar
|
||||
# rubocop: disable Rails/ReadWriteAttribute
|
||||
# Turned back to read_attribute, thus in Rails 4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue