Created by: dmshvetsov
This PR is a replacement for the #688 PR and it is partially address the #179 (closed) issue.
This changes allow to use namespaced models like Blog::Post
in Administrate gem.
This is one of the steps to implement a full support for namespaced models in Administrate gem.
Further it is required to implement:
- support associations with namespaced model
- support namespaced model for the dashboard generator
- support namespaced model for the routes generator
related
spec/lib/administrate/resource_resolver_spec.rb was refactored to not interfere with existed models. The spec is removing constants and it is affects the other specs. This is simple solution for the problem, but it is not removing the root of the problem with this spec. Advices are welcome.