Ruby on Rails convert array into Relation object

December 21, 2015

scope :with_scope, -> { where(id: ARRAY_COLLECTION.map(&:id)) }
Ruby on Rails convert array into Relation object - December 21, 2015 - {"name"=>"Stanislav Knyazev", "email"=>"extazystas@gmail.com"}