Hi,

I have not used activescaffold in a while but I am trying to make use of it 
for some simple forms.  it works fastastic with all my has_many relartions 
but now I have an isolated Shareholder model that need a 
ShareholderRelationship table which would be a multiple join table. 

So the models look like:

class Shareholder < ActiveRecord::Base
  has_many :shareholder_relationships
  has_many :local_companies, through: :shareholder_relationships
  has_many :national_companies, through: :shareholder_relationships  
end

class ShareholderRelationship < ActiveRecord::Base
  belongs_to :national_company
  belongs_to :local_company
  belongs_to :shareholder
end

class LocalCompany < ActiveRecord::Base
  has_many :shareholder_relationships
  has_many :shareholders, through: :shareholder_relationships
end


I cant seem to get this relationship to work correctly, but I remember 
using ActiveScaffold some years back and there was nothing to connecting 
this relationship. 

What I really want is a form_ui of :multi_select but cant seem to get this 
working correctly. Thanks in advance for keeping this gem rolling. Giant 
kudos as this is a huge timesaver for putting data driven apps together 
quickly.

-mark

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.

Reply via email to