Hi,

I have
class Campaign < ActiveRecord::Base

  belongs_to :fund

end

class Fund < ActiveRecord::Base

  has_many :campaigns

end

In the AS Controller I have
    config.columns[:fund].form_ui = :checkbox

The DB has fund defined as fund_id - just as you would normally do.

This all works find and I get a select box to select a ONE fund. But I
need to select multiple.

Form_ui in the wiki specifies that you need a plural association.

Clearly I'm missing something - but what.

Sorry - this is a total newbie question - i'm just banging my head
against this one.

/S
-- 
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