On Jueves, 16 de Septiembre de 2010 15:17:18 Iñaki Baz Castillo escribió:
> Hi, model_one is just readable in the DB (only SELECT). model_two is
> full writeable.
>
> model_one has_one model_two.
>
> In "list" action of ModelOnesControllers I can create or modify a
> model_two for this instance of model_one. But after such model_two
> instance is created, there is no way to delete it from
> ModelOnesControllers "list" view. However when the relationship is
> has_many then deleting the "child" is possible (I see "delete"
> button).

There is no replace in model_1 edit form. Or have you disabled edit form? In 
that case I think you will have to use a field override to add a link to remove 
that association.

>
> Do I miss something? Thanks a lot.
>
> --
> Iñaki Baz Castillo
> <[email protected]>

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

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