You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/app/models/journal.rb

4 lines
106 B

5 years ago
class Journal < ApplicationRecord
belongs_to :user
5 years ago
belongs_to :issue, foreign_key: :journalized_id
5 years ago
end