# Many to Many associations

**URL:** <https://www.ruby-forum.com/t/many-to-many-associations/82670>\
**Category:** Rails\
**Created:** [January 19, 2007, 5:56pm UTC](https://www.ruby-forum.com/t/many-to-many-associations/82670 "2007-01-19T17:56:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alfredogz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@alfredogz](https://www.ruby-forum.com/u/alfredogz)\
**Post date:** [January 19, 2007, 5:56pm UTC](https://www.ruby-forum.com/t/many-to-many-associations/82670/1 "2007-01-19T17:56:07Z")

</div>

Hi,

i have this:

class User \< ActiveRecord::Base  
has\_many :transfers  
has\_many :camelids, :through =\> :transfers  
end

class Camelid \< ActiveRecord::Base  
has\_many :transfers  
has\_many :users, :through =\> :transfers  
end

class Transfer \< ActiveRecord::Base  
belongs\_to :user  
belongs\_to :camelid  
end

how can i show a field from transfers in my view??  
in the controler:  
@camelids = User.find(current\_user.id, :conditions =\>  
[“transfers.actual\_owner=1”],:include=\>[:camelids, :transfers]).camelids

in the view

camelid.transfers.transfer\_at ??? but is shows an error : undefined  
method `transfer\_at’ for Transfer:Class
