Is it possible to set up a double relationship in activerecord models via the generate scaffold command?
For example, if I had a User
Add this to your Model
belongs_to :sender, :class_name => "User"
belongs_to :recipient, :class_name => "User"
And you are able to call @message.sender and @message.recipient and both reference to the User model.
Instead of user:references in your generate command, you'd need sender:references and recipient:references