Postgresql – 'where' is overriding my default 'order' in rails
i am trying to make a one qyery based on the result i am applying another query for some tasks. here i have one method filter_based_on_ticket_creation in which i am getting some data based on descending order which is one…