profile.rb 178 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 require_dependency 'profile' Profile.class_eval do has_many :questions, -> { order(:start_date) }, :source => 'articles', :class_name => 'PairwisePlugin::PairwiseContent' end