Simple search

A plain search_form_for with predicate-suffixed field names, such as name_cont. Each field's caption names the ransack feature behind it.

SQL

SELECT users.*, (SELECT COUNT(*) FROM posts WHERE posts.user_id = users.id) AS posts_count FROM "users" ORDER BY "users"."updated_at" ASC

Your first 10 results out of 364 total

Id First name Last name Email Created at Updated at ▲ Roles Posts
201 Shawn Lakin shawn-lakin@example.com 01/10/26 11:53 01/10/26 21:24
admin
3 Sed. Nisi. Error.
357 Elvis Rodriguez elvis-rodriguez@example.com 02/10/26 01:45 03/10/26 07:46
admin
3 Molestiae. Maiores. Quia.
268 Sunday Russel sunday-russel@example.com 03/10/26 16:51 04/10/26 08:42
admin
3 Optio. Porro. Quibusdam.
175 Emilio Ankunding emilio-ankunding@example.com 04/10/26 02:19 05/10/26 03:51
admin
3 Pariatur. Culpa. Dolorem.
205 Clyde Metz clyde-metz@example.com 01/10/26 13:19 05/10/26 07:12
admin
3 Eaque. Et. Ratione.
157 Tyler Murphy tyler-murphy@example.com 04/10/26 00:10 05/10/26 09:54
user
0
164 Rosendo Bernhard rosendo-bernhard@example.com 02/10/26 15:04 06/10/26 00:34
admin
3 Doloribus. Repudiandae. Quia.
423 Evalyn Casper evalyn-casper@example.com 01/10/26 17:29 06/10/26 07:51
admin
3 Vel. Provident. Quia.
118 Jeramy Abernathy jeramy-abernathy@example.com 01/10/26 16:27 06/10/26 17:40
user
0
207 Albertine Abshire albertine-abshire@example.com 06/10/26 16:02 06/10/26 21:14
admin
3 Recusandae. Quis. Deleniti.