So is everything working for you or do you still need some help?

On Jan 11, 1:31 am, "Ward W." <[email protected]> wrote:
> I appear to have made some headway on my own problem.
>
> The ActiveScaffold API's documentation is starting to make a lot more
> sense to me; it was a bit obscure upon first reading.
>
> On Jan 10, 10:16 pm, "Ward W." <[email protected]> wrote:
>
> > That is what I think I have.
>
> > You can see the code at:
>
> >http://wardosworld.com/kotoba-repo/trunk/app/models/
>
> >http://wardosworld.com/kotoba-repo/trunk/app/models/word.rbhttp://war...
>
> > On Jan 10, 12:03 pm, yairgo <[email protected]> wrote:
>
> > > ActiveScaffold uses the ERD that your models specify.  The below is an
> > > example of how do the example that you want.  If this doesn't work for
> > > you feel free to post an example app somewhere, preferably 
> > > onwww.github.com
> > > so someone could see what is going on.
>
> > > class Group < ActiveRecord::Base
> > >   has_and_belongs_to_many :users
> > > end
>
> > > class User < ActiveRecord::Base
> > >   has_and_belongs_to_many :groups
> > > end
>
> > > class GroupUser < ActiveRecord::Base
> > >   belongs_to :user
> > >   belongs_to :group
> > > end
>
> > > On Jan 10, 3:18 am, "Ward W." <[email protected]> wrote:
>
> > > > It is possible to have ActiveScaffold support optional, many-to-many
> > > > relationships?
>
> > > > For example,  I have:
>
> > > > A [0..*] --- [0..*] B
>
> > > > A __may__ have a relationship to B.
> > > > B __may__ have a relationship to A.
>
> > > > It appears that the ERD expected is:
>
> > > > A [1..*] --- [1..*] B
>
> > > > At present, whenever using A controller, if I do not enter anything
> > > > for B I get an error indicating I need to fill in B.  How can make
> > > > entering B optional?
--~--~---------~--~----~------------~-------~--~----~
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