I have the below models

UserTable:

name
email:
login:
password
salt

CategoryTable:
name
[model]
has_many :books

AutherTable:
Name
[model]
has_many :books

PublisherTable:
name
[model]
has_many :books

StorageTable:
name
[model]
has_many :books

name
Book_Table:
name
isbn
description
category_id
publisher_id
auther_id
storage_id
[model]
belongs_to :storage
belongs_to :auther
belongs_to :publisher
belongs_to category

My problem is on however to have multiple models in one view. I was
able to use form_tag togather data form all models except book. How
could I get this resolved is my concern? I know that this is a new
bie's kind of question, but I crave for your understand.

Emeka
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to