I have the following associations:
my models look like:
class Disk < ActiveRecord::Base
has_many :user_files, through => :disk_user_files
class DiskUserFile < ActiveRecord::Base
class UserFile < ActiveRecord::Base
has_many :disks, :through => :disk_user_files
So far so good.
I want to extend this to something like
so I add :belongs_to :user to my UserFile class
class User < ActiveRecord::Base
The problem I’m having is associating users all the way back through
user_files and disk_user_files to disks
Any help would be appreciated.