Skip to content
Snippets Groups Projects
Commit b4c21870 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

A recording belongs to a user.

parent a77d4b33
No related branches found
No related tags found
No related merge requests found
class Recording < ActiveRecord::Base class Recording < ActiveRecord::Base
belongs_to :user
end end
class User < ActiveRecord::Base class User < ActiveRecord::Base
has_many :recordings
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment