Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Cte < ActiveRecord::Base
- belongs_to :cliente , class_name: "Cliente", foreign_key: "destinatario_id"
- belongs_to :cliente , class_name: "Cliente", foreign_key: "remetente_id"
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement