Sha256: bb0cd152b701ac4e34ba54dfd2031802ff98a6df850ad69859207e8b152fe581

Contents?: true

Size: 124 Bytes

Versions: 3

Compression:

Stored size: 124 Bytes

Contents

setup = Rails.application.config.rom.setup

setup.relation(:users) do

  def by_name(name)
    where(name: name)
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

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