So on further research, I found a few posts that say this can be done
using a before_filter. So I introduced one and added the line below:

before_filter :before_filter_method
def before_filter_method
  active_scaffold_config.actions.exclude :create, :delete, :update
end

There were no errors, however the action links still show up on the
page. I know it's hitting that filter as I have a breakpoint set
there.

Any clues?

Thanks!


On Dec 15, 9:42 pm, p k <[email protected]> wrote:
> Hi,
>
> Is there a way to disable the create, update and delete actions for
> embedded scaffolds, but keep them in non-embedded ones?
>
> Thanks,
> PK

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