Skip to content

Instantly share code, notes, and snippets.

@ryenski
Created April 27, 2017 14:39
Show Gist options
  • Save ryenski/bd912d5a439e55a89a047f1a3782a91f to your computer and use it in GitHub Desktop.
Save ryenski/bd912d5a439e55a89a047f1a3782a91f to your computer and use it in GitHub Desktop.
Including the Trackable concern in our ActiveRecord model.
class Message < ApplicationRecord
include Trackable
# ...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment