Sha256: 43e946cf60190262ca16e04d416f74c86ca620f244b0d1f7e7f26d6adc2bbcec

Contents?: true

Size: 118 Bytes

Versions: 4

Compression:

Stored size: 118 Bytes

Contents

module Mtdevise
  module ScopedTo
    def scoped_to(account)
      where(:account_id => account.id)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mtdevise-3.10.1 lib/mtdevise/scoped_to.rb
mtdevise-3.10.0 lib/mtdevise/scoped_to.rb
mtdevise-3.9.1 lib/mtdevise/scoped_to.rb
mtdevise-3.9.0 lib/mtdevise/scoped_to.rb