app/models/wco/profile.rb in wco_models-3.1.0.153 vs app/models/wco/profile.rb in wco_models-3.1.0.154
- old
+ new
@@ -24,9 +24,13 @@
field :role, type: :string, default: ROLE_GUY
def self.roles_list
[nil] + ROLES
end
+ def self.ai_writer
+ find_or_create_by email: 'ai-writer@wasya.co'
+ end
+
def to_s
email
end
def self.list
all.map { |p| [ p.email, p.id ] }