You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
case class User(name: String) extends ActiveRecord {
lazy val car = hasOne[Car]
}
case class Car(name: String) extends ActiveRecord {
lazy val user = belongsTo[User]
}
// companion objects
And I have a form
val form = User.form
Now it would be nice if I could access the car through the form.
form("car[name]").value
In reflections.scala around line 155 in method FieldInfo#fieldInfo() the value of clazz parameter will be BelongToAssociation and the method throws notSupported exception, so this field wont be included in the class's field list.
The text was updated successfully, but these errors were encountered:
Say, I have a 1:1 relation between User and Car.
And I have a form
Now it would be nice if I could access the car through the form.
In reflections.scala around line 155 in method FieldInfo#fieldInfo() the value of clazz parameter will be BelongToAssociation and the method throws notSupported exception, so this field wont be included in the class's field list.
The text was updated successfully, but these errors were encountered: