10 lines
178 B
Ruby
10 lines
178 B
Ruby
|
class AuthSource < ActiveRecord::Base
|
||
|
generator_for :name, :method => :next_name
|
||
|
|
||
|
def self.next_name
|
||
|
@last_name ||= 'Auth0'
|
||
|
@last_name.succ!
|
||
|
@last_name
|
||
|
end
|
||
|
end
|