Skip to content

Ruby on Rails

Latta supports recording of Ruby on Rails apps.

To install the latta gem you can

Terminal window
gem install latta

or add this to your Gemfile

gem 'latta', '~> 0.1.0'

Installation

To install the gem run the following command

Terminal window
bundle install

After successful installation you have to generate the Latta initializer

Terminal window
rails generate latta:install

Config

By default the initializer is found in the config/initializers/latta.rb file.

In this file you have to set and API key

Latta.configure do |config|
config.api_key = 'YOUR_API_KEY'
end