Sha256: 59743f09874d0de36d6f7db429e4372bef8b2ff5cf9a1eb92d3a8d4f7e9cac65

Contents?: true

Size: 150 Bytes

Versions: 5

Compression:

Stored size: 150 Bytes

Contents

class Document < ActiveRecord::Base
  has_custom_field_behavior

  def is_custom_field_attribute?(attr_name, model)
    attr_name =~ /attr$/
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
has_custom_fields-0.0.5 spec/fixtures/document.rb
has_custom_fields-0.0.4 spec/fixtures/document.rb
has_custom_fields-0.0.3 spec/fixtures/document.rb
has_custom_fields-0.0.2 spec/fixtures/document.rb
has_custom_fields-0.0.1 spec/fixtures/document.rb