Sha256: ea2c53fc2324bb0539a9a8d0ec9f0b7a4a6cce4ca68c676fec6f778532d08744

Contents?: true

Size: 242 Bytes

Versions: 26

Compression:

Stored size: 242 Bytes

Contents

class Kithe::Collection < Kithe::Model
  after_initialize do
    self.kithe_model_type = "collection" if self.kithe_model_type.nil?
  end
  before_validation do
    self.kithe_model_type = "collection" if self.kithe_model_type.nil?
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
kithe-2.16.0 app/models/kithe/collection.rb
kithe-2.15.1 app/models/kithe/collection.rb
kithe-2.15.0 app/models/kithe/collection.rb
kithe-2.14.0 app/models/kithe/collection.rb
kithe-2.13.0 app/models/kithe/collection.rb
kithe-2.12.0 app/models/kithe/collection.rb
kithe-2.11.0 app/models/kithe/collection.rb
kithe-2.10.0 app/models/kithe/collection.rb
kithe-2.9.1 app/models/kithe/collection.rb
kithe-2.9.0 app/models/kithe/collection.rb
kithe-2.8.0 app/models/kithe/collection.rb
kithe-2.7.1 app/models/kithe/collection.rb
kithe-2.7.0 app/models/kithe/collection.rb
kithe-2.6.1 app/models/kithe/collection.rb
kithe-2.6.0 app/models/kithe/collection.rb
kithe-2.5.0 app/models/kithe/collection.rb
kithe-2.4.0 app/models/kithe/collection.rb
kithe-2.3.0 app/models/kithe/collection.rb
kithe-2.2.0 app/models/kithe/collection.rb
kithe-2.1.0 app/models/kithe/collection.rb