Is there a way to search for an object by id using subspot
So:
Content.search do with(:ids, [1,2,3]) end
Unfortunately, the only way to achieve this is to index the id field:
id
class YourModel < ActiveRecord::Base searchable do integer :id # ... end end
Source: https://habr.com/ru/post/1434848/More articles:Constructor of type "Track_Attack.TAGeneric" not found. C # Winforms - c #Auto-scan at the bottom of the page, then top and repeat - jqueryExt.log function is an empty function - javascriptHow can I (if at all) disable device hibernation in Trigger.io? - trigger.ioStop Android device from sleeping - androidUsing the Game Center player identifier in the PFUser object being analyzed? - iosHow to include more request urls in a session cookie path in Tomcat? - javaHow to put the result of a stored procedure into a table variable? - variablesHow to open StreamReader in ShareDenyWrite mode? - c #How to execute a query on a table returned by a stored procedure within a procedure - sqlAll Articles