Hi all,

I've discovered that doing a config.actions.exclude :nested does not
work when doing a local config.  It does work when set in global
config.

Looking at the code, the reason is clear: in lib/active_scaffold.rb in
the active_scaffold method (line 59), links_for_associations is called
before the configuration is updated.  The solution is simple: just
move the call to links_for_associations to below the configuration
updating methods.

Is this a bug or is there a reason why links_to_associations is called
where it is?

Thanks
Ben

--

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