Closed jklimke closed 10 years ago
Could you open another PR, only with the bugfix?
Also, I was wrong about foreignKey
, it should not be defined in AR class, but in relation, because many classes may refer to record and use different foreign keys.
Hi,
i created another pull request. Further i noticed, that the record name should not be used in AS clauses of selects since the field names are used for deriving class names on loading