How do I show unscoped models in Rails Admin?
问题 I needed this myself, so here it is QA-style: By default, Rails Admin shows a model's default_scope. How do I get it to show every model completely unscoped? 回答1: Approach 1 If you only need to list the records you can use the scopes method to control which records are returned. The first array element is the default, so if you add the following to your initialiser: list do scopes [:unscoped] end you will see all records. Approach 2 If you want to do more than list models you can create a