I have 3 tables - users, things, and follows. Users can follow things through the follows table, associating a user_id with a things_id. This would
user_id
things_id
For people using rails 4, the usage of :order, :select, etc has been deprecated. Now you need to specify as follows:
has_many :users, -> { select 'users.*, follows.is_admin as is_follow_admin' }, :through => :follows