GitBucket
Toggle navigation
Snippets
Sign in
Files
Branches
1
Releases
Issues
2
Pull requests
Labels
Priorities
Milestones
Wiki
Commit Graphs
Kanban
Build
Network
Mirrors
Gantt Chart
Fork
: 0
opidor
/
dmpopidor
Transfer to URL with SHA
Find file
Newer
Older
tree:
deb8b47f06
Branches
Tags
×
dev
dmpopidor
/
app
/
models
/ note.rb
xsrust
on 8 Dec 2016
76 bytes
added migration to add foreign keys. Also needed to remove the temporary models, and update existing models to reflect the new relationships
Raw
Blame
History
class Note < ActiveRecord::Base belongs_to :answer belongs_to :user end