0
내 모델 :동적 가상 속성?
class Student < ActiveRecord::Base
has_many :lack_knowledge_points, :through => :knowledge_point_infos,
:conditions => ['knowledge_point_infos.level <= ?',10],:source => :knowledge_point
내가 10
동적 것이 원하는
내 가장 좋은 방법은 무엇입니까?
메서드 및 find_by_sql을 정의 하시겠습니까? 아니면 레일즈가 나에게 뭔가를 할 수 있을까?
당신이 – Fivell