Sha256: 3c9d1b92ce78bfc6bf607499e9b6803eca0e1d68c2afdda40cc877365b3b12f7

Contents?: true

Size: 145 Bytes

Versions: 3

Compression:

Stored size: 145 Bytes

Contents

setup = Rails.application.config.rom.setup

setup.mappers do
  define(:users) do
    model User

    attribute :id
    attribute :name
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rom-rails-0.1.0 spec/dummy/app/mappers/users.rb
rom-rails-0.0.2 spec/dummy/app/mappers/users.rb
rom-rails-0.0.1 spec/dummy/app/mappers/users.rb