Hi I am trying to find a simple way to expand my db query and group the records shown by month (Ideally I would like next month stored in "Next Page"). Is there a way to do this?
Current query
@submissions = Submission.where(:Desired_Location => current_agent.Company_Business_Location)
Thanks