filter models #1438

lothar59 opened this Issue Dec 16, 2012 · 2 comments


None yet

4 participants


I can't figure out how to filter the models from the navigation list.

I have been playing around excluded_models and include_models however nothing worked.

I don't know what I am doing wrong, I could get some help,

For example : config.excluded_models << [Address, User]

But those models still appears in the navigation list even after restarting the server.


As per the documentation, you need to provide a string:

config.excluded_models << ['Address', 'User']
Tuckie commented Jan 29, 2013

Keep in mind, this will completely exclude those models, if you still want to use them in a nested form, just use visible false model's config. (I was bitten by this with my PhoneNumber model)

@mshibuya mshibuya closed this Feb 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment