Sha256: fc837bec882bd9238b4212b9dd2731c4c7a495bf6310227b20fa4f921d7fa825

Contents?: true

Size: 119 Bytes

Versions: 5

Compression:

Stored size: 119 Bytes

Contents

module Mtdevise
  module ScopedTo

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

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mtdevise-4.1.2 lib/mtdevise/scoped_to.rb
mtdevise-4.1.1 lib/mtdevise/scoped_to.rb
mtdevise-4.1.0 lib/mtdevise/scoped_to.rb
mtdevise-4.0.0 lib/mtdevise/scoped_to.rb
mtdevise-3.10.2 lib/mtdevise/scoped_to.rb