Sha256: f8c433b99c8ed6c5173e96182e83ed0e60b8514763075d6f7ccfb22334668ce5

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

class Publickey < ApplicationRecord
  belongs_to :user

  # Updates /home/git/.ssh/authorized_keys
  # called when something added/?/etc to publickeys table 
  def self.refresh
    Rails.logger.debug "DB8 publickey.rb:def self.refresh called"
    Rails.logger.debug "wipwip"
  end

  def after_save
    Publickey.refresh
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
meroku-2.0.4 frontend/app/models/publickey.rb