Sha256: 3f617853a76a91e5358ff1763e32a17aaae9e720837cc7d7029e345dfe32ea61
Contents?: true
Size: 182 Bytes
Versions: 3
Compression:
Stored size: 182 Bytes
Contents
class Author < ActiveRecord::Base has_many :authorships after_update { self.authorships.each(&:touch) } def full_name [first_name, last_name].compact.join(' ') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
elasticsearch-model-6.1.2 | spec/support/app/author.rb |
elasticsearch-model-6.1.1 | spec/support/app/author.rb |
elasticsearch-model-6.1.0 | spec/support/app/author.rb |