I have these models:
class Vote < ActiveRecord::Base
class User < Core
class Core < ActiveRecord::Base
the tables in db are:
when i do some query to votes, the attribute core_id is confused with
(core_id is the user or others objects that are voted, user_id is the
How i can do to distinct the voter and the user voted?