Class: Document
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Document
- Extended by:
- DbFile::Uploader
- Defined in:
- app/models/document.rb
Defined Under Namespace
Modules: Associations
Instance Method Summary collapse
-
#current_data ⇒ Object
Method provided for backwards compatibility.
Methods included from DbFile::Uploader
Methods inherited from ApplicationRecord
alias_association, convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!
Methods included from Squishify
Instance Method Details
#current_data ⇒ Object
Method provided for backwards compatibility
43 44 45 |
# File 'app/models/document.rb', line 43 def current_data uploaded_data.read end |