I have never used nested.add_link with singular associations, and I'm not sure 
it was supported anytime, but it's working now (with git master, it's not 
released yet)

On Jueves, 6 de Octubre de 2011 15:12:07 Differenthink escribió:
> Hello,
> 
> In my process migration to Rails 3 i've found a bug in AS on has_one
> conditions and nested.add_link.
> I've two models,
> 
> class Abonnement
>      belongs_to :desabonnement
> 
> class Desabonnement
>       has_one :abonnement
> 
> if i set something like : config.nested.add_link(:abonnement, {:label =>
> "Voir Abonnement associé"})
> i've got a nice error : AbstractController::ActionNotFound (The action
> 'none' could not be found for Www::Admin::AbonnementController):
> 
> If y change my has_one to has_many then it works.
> 
> Regards.

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