Sha256: 805da90efe63973a3c2140254b10cbb9ec7d3dc2006dbead38467375f9edda66

Contents?: true

Size: 301 Bytes

Versions: 1

Compression:

Stored size: 301 Bytes

Contents

class User < ActiveRecord::Base
  extend_at :private_info, :columns => (lambda do
    {
      :real_name => {
        :type => String,
        :default => 'Real name'
      },
      :real_last_name => {
        :type => :string
      },
      :born => {
        :type => Time
      }
    }
  end)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
extend_at-0.1.5 spec/app/app/models/user.rb