Hi, model_1 has_one model_2. 1) In model_2 list view I don't want to allow creating a new entry. This is, I want to hide the "Create" button.
2) In model_1 list view it's possible to create a model_1 instance for each model_2 entry (or modity the existing one). However I don't know how to achieve step 1. If I set model or controller authorization rules for "create" action in model_1 then step 2 fails. So, how could I just hide the "Create" button in model_1 list view? (of course I don't want to use "always_show_create"). Thanks. -- Iñaki Baz Castillo <[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.
