#12
Solved
[Bug:3.1] Using Admin::MyModel with generator causes error
Reported by Eden Brandeis on Ajax Scaffold · 19/04/2006 18:04:26
- Assigned to:
- Nobody
- Priority:
- Normal
- Status:
- Solved
- Category:
- None
- Version:
- 3.0.2
generate ajax_scaffold Admin::MyModel puts my_model.rb in /models/admin, but this gives an exception when trying to view the scaffold. Moving my_model.rb to /models fixes the problem. Does Rails support putting models into a subdirectory? I think that is only allowed for views and controllers.
Loading comments...