Check your dev. log to see what's going on. I use before_filters in embedded scaffolds without a problem. My dev log shows that the embedded scaffold is called as EmbeddedScaffoldController#table, so if you're limiting your before_filter to specific actions you may need to include this one...
Ryan On Feb 26, 4:41 am, Richard Zheng <[email protected]> wrote: > Hi, > > I have been using before_filter to remove some columns in nested scaffold. > However when I use it in embedded scaffold, these columns will come back. > The before filter has no effect. Is that right? Where should I look to let > it use before_filter? > > Thanks, > Richard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
