You may be right, but I have found a lot of other posts on Internet that
they complain about "belongs_to". It does not bear the correct meaning for
all cases. For example:
class Product
belongs_to :status
end
.Awful. No, the Product does not "belong" to a Status. It "has_a"
status.
Als
On Friday, September 14, 2012 8:24:53 AM UTC+1, Panayotis Matsinopoulos
wrote:
>
> Hi,
>
> Since "belongs_to" does not actually reflect (as an English wording) the
> real association that one object might have to another, I was thinking
> about aliasing it using the following code:
>
> class A
2 matches
Mail list logo