Sha256: 165e22282a28acc765ce5d4c6a94c2f09096e6d5bbe7135f95aae9f6a581664e

Contents?: true

Size: 130 Bytes

Versions: 2

Compression:

Stored size: 130 Bytes

Contents

class DynamicAttribute < Attribute
  before_save :dynamic_always_true
  def dynamic_always_true
    self.dynamic = true
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forgeos_commerce-1.9.1.rc1 app/models/dynamic_attribute.rb
forgeos_commerce-1.9.0 app/models/dynamic_attribute.rb