In ruby on rails how do I find the top 3 records of my table called notices ordered by a particular field, in my case I want to order by the position field which is an integer.
so my notices table looks like this
any help would be greatly appreciated, thanks