Guillaume M

Results 1 comments of Guillaume M

I also have something similar: class Direction < ActiveRecord::Base belongs_to :start_point, :class_name => "Point" belongs_to :end_point, :class_name => "Point" end class Point < ActiveRecord::Base has_one :direction end > Direction.start_point_name_eq("A").end_point_name_eq("B") Will...