Class: Backup::LoadFromFiles::RelationshipFile
- Defined in:
- lib/backup/load_from_files.rb
Instance Attribute Summary
Attributes inherited from DataFile
Instance Method Summary collapse
Methods inherited from DataFile
#full_hash, #initialize, #table_name, #table_name_sym
Constructor Details
This class inherits a constructor from Backup::LoadFromFiles::DataFile
Instance Method Details
#relationships ⇒ Object
48 49 50 51 52 |
# File 'lib/backup/load_from_files.rb', line 48 def relationships @relationships ||= full_hash[:nullified_relationships].map do |rel| rel.symbolize_keys end end |