our app is a situation where users can upload files and also mark files
uploaded by other users as their favorites. So for the favorites we are
using a simple many-to-many with a tie table.
So in attempting that it looks like
class User < ActiveRecord::Base
class MediaFile < ActiveRecord::Base
but that won’t work because obv. if you call
there is no way to specify which association you are looking for. Or is
if not what would be the most Rails-ish way of setting this up?