module Shrine::Plugins::Sequel::AttacherClassMethods

  1. lib/shrine/plugins/sequel.rb

Methods

Public Instance

  1. find_record

Public Instance methods

find_record (record_class, record_id)

Needed by the backgrounding plugin.

[show source]
# File lib/shrine/plugins/sequel.rb, line 103
def find_record(record_class, record_id)
  record_class.with_pk(record_id)
end