Association of model is
class Campaign
  has_many :views_logs
  has_many :users, through: :views_logs
end
I want to get only those users of campaign where views_logs is created b/w specific dates.
Note: created_at query for views_logs not for Users creation
 
     
    