I would like to perform an ActiveRecord query that returns all records except those records that have certain ids. The ids I would like excluded are stored in an array. So
You can also use Squeel gem to accomplish such query. Documentation of it, goes here
Squeel