Block or Report
Block or report viktorchukhantsev
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
-
Two-way polymorphic models / Polymor...
Two-way polymorphic models / Polymorphic HABTM association 1class Article < ActiveRecord::Base # Product class is similar
2belongs_to :user
3has_many :media, as: :ownable
4with_options through: :media, source: :representable do |assn|
5assn.has_many :videos, source_type: 'Video'
-
Simple jobs queue implementation on ...
Simple jobs queue implementation on Ruby 1module MyJobs
2def self.backend
3@backend
4end
5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.