hello,

i have 2 has_many association user and options.

a user has_many options and options has_many users

class User
has_many :options , :through => :user_options , :source => :option

class Option
has_many :users , :through => :user_options ,:source => :user

now in form , i can see the check boxes options , but when i try to
update or create a user , the options can't save in table ad_options
(id,user_id,option_id) but if i remove the id from table and make
has_many_and_belongs_to it work.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to