Рет қаралды 3,420
► Check out gorails.com for Pro episodes and more!
► SaaS business template for Ruby on Rails with built-in features like Payments, Teams, and much more: jumpstartrails...
► Ruby on Rails hosting with Hatchbox.io: hatchbox.io
► Learn how to add Stripe Payments (with SCA support!) with Ruby on Rails: courses.gorail...
Bulk operations like "bulk delete" or "publish all" are pretty easy to build in Rails. We can use a Stimulus controller to handle the Javascript side of things to manage our "Select All" and check boxes and simply submit those over to Rails. We can also spin up a new controller to keep bulk operations nicely organized and separate from our regular controller.