Sha256: 867637e11eed2409656ff6b1da4c9cff0d0d5d83a920d94781165dba025e88e3
Contents?: true
Size: 343 Bytes
Versions: 10
Compression:
Stored size: 343 Bytes
Contents
module MultiAuth module ActiveRecord module ClassMethods def multi_auth(options = { }) class_eval do has_many :open_id_credentials, :foreign_key => 'user_id', :dependent => :destroy has_many :email_credentials, :foreign_key => 'user_id', :dependent => :destroy end end end end end
Version data entries
10 entries across 10 versions & 2 rubygems