Answers for "rails get count by month from date"

0

record count by month in rails

NewsFeed.count(:group=>"date_trunc('month', created_at)",:conditions=>"user_id NOT IN (?)",[exluded_ids])
Posted by: Guest on August-20-2020

Browse Popular Code Answers by Language