Should look more like this: map.resources :customers, :member => { :info_for_account_form => :post }, :has_Many => :accounts map.resources :owners, :member => { :info_for_account_form => :post }, :has_many => :accounts map.resources :usertypes, :has_many => :accounts map.resources :accounts, :belongs_to => [ :owner, :customer ], :collection => { :auto_complete_belongs_to_for_account_customer_name => :post, :auto_complete_belongs_to_for_account_owner_name => :post }
--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---