Ruby on Rails
Add the tuix_rails gem, run the generator, and add two helpers to your layout.
You’ll need
- Ruby 3.2+
- Rails 7.2 to 8.x
- Your project key and signing key
Transcript
1. Add the gem and run the generator
2. Set the environment
3. Add the helpers to your layout
- tuix_assets goes in the head.
- tuix_widget goes in the body, outside any fragment cached for other users.
- Keep csp_meta_tag and merge the policy from the install panel.
- Pass an email only if your app has verified it.
- The gem handles Turbo navigation for you.
- The same steps, with your own key filled in, are under Install tuix → Rails.