I hereby claim:
- I am kadaaran on github.
- I am kassandre (https://keybase.io/kassandre) on keybase.
- I have a public key ASAxSofodIYo-x7KTkO1OeDFi6cnInKgjf29xxUVqz3GCQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I struggled to find examples that match my needs, after a few research here's what I found, hope it can help you too.
Here's an example with three models which have belongs_to
and has_many
associations with two polymorphic models 🔥
class Quotation < ActiveRecord::Base
belongs_to :ticket
has_many :documents, as: :documentable
end
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } | |
ruby '2.6.2' | |
source 'https://rubygems.org' | |
gem 'bundler', '2.0.2' | |
gem 'webpacker', '~> 4.x' |