Sha256: e0ec21cc6eeefd4598bd06c242117d4a0421104b76ab2835aa92d9ca1b2bac20
Contents?: true
Size: 226 Bytes
Versions: 1
Compression:
Stored size: 226 Bytes
Contents
module OauthService class Url < ActiveRecord::Base has_many :users_url def self.by_user(user_id) includes(users_url: [users_group: [:user]]).where(:users_groups => {:user_id => user_id}).all end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oauth_service-0.0.1 | app/models/oauth_service/url.rb |