Displaying 2 results from an estimated 2 matches for "torkington".
Did you mean:
workington
2006 Jan 31
4
has_one without inverse belongs_to
I have two models called entity and user.
The entities table has a column called users_id that contains the user
id of the user that created the entity.
In entity I have...
has_one :user
... as I want to be able to show the user who created the entity from
the entity object.
But this produces the following error...
Mysql::Error: #42S22Unknown column ''users.entity_id'' in
2006 Feb 18
44
I forgot. Why do we hate* Java?
Hi,
I''ve started reading some Java books. Gasp! What makes website
development with Java so bad? I haven''t looked at Struts but I''m
reading about Hibernate. Compared to ActiveRecord, Hibernate seems
like some extra typing to explicitly define the model fields, getters
and setters. I know that these are things that you can do in
ActiveRecord when things get complicated