Sha256: 110b55d5f24b55315d323fb10bd00d7f1826ff5aadee12f857af6604d1d3a961

Contents?: true

Size: 167 Bytes

Versions: 23

Compression:

Stored size: 167 Bytes

Contents

class Status < ActiveRecord::Base
  lookup_by :status, normalize: true

  def status=(arg)
    write_attribute :status, arg.strip if arg.respond_to?(:strip)
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
lookup_by-0.12.0 spec/internal/app/models/status.rb
lookup_by-0.11.2 spec/internal/app/models/status.rb
lookup_by-0.11.1 spec/internal/app/models/status.rb
lookup_by-0.10.9 spec/dummy/app/models/status.rb
lookup_by-0.10.8 spec/dummy/app/models/status.rb
lookup_by-0.10.7 spec/dummy/app/models/status.rb
lookup_by-0.10.6 spec/dummy/app/models/status.rb
lookup_by-0.10.5 spec/dummy/app/models/status.rb
lookup_by-0.10.4 spec/dummy/app/models/status.rb
lookup_by-0.10.3 spec/dummy/app/models/status.rb
lookup_by-0.10.2 spec/dummy/app/models/status.rb
lookup_by-0.10.1 spec/dummy/app/models/status.rb
lookup_by-0.10.0 spec/dummy/app/models/status.rb
lookup_by-0.9.1 spec/dummy/app/models/status.rb
lookup_by-0.9.0 spec/dummy/app/models/status.rb
lookup_by-0.8.0 spec/dummy/app/models/status.rb
lookup_by-0.7.0 spec/dummy/app/models/status.rb
lookup_by-0.5.0 spec/dummy/app/models/status.rb
lookup_by-0.4.1 spec/dummy/app/models/status.rb
lookup_by-0.4.0 spec/dummy/app/models/status.rb