rails-devise-roles icon indicating copy to clipboard operation
rails-devise-roles copied to clipboard

could find new controller files

Open llwang8 opened this issue 10 years ago • 2 comments

I don't know what could be the problem? I am using rails composer tools for user authentication and authorization. all went well until I did rails generate controller. I can see files are generated but I could not find the files at app/controller.

llwang8 avatar Nov 22 '15 21:11 llwang8

I am unable to duplicate the issue. I built the app using Rails Composer then tried

$ rails generate controller Comments

and the new controller is in app/controllers as expected (note: "app/controllers" with an 's').

DanielKehoe avatar Nov 23 '15 05:11 DanielKehoe

Daniel,

Thanks for your feedback. I solved the previous adm issue by going into database and gave myself a role of 2. Haha.

Never mind about my previous question. The devise is unpredictable as far as my current level. Time is a little tight for me to figure things out. Somehow the app I am building is synchronized to app_org through github ( I forgot to create a new git repo after I renamed the old version as _org). A bit strange. The controller and models created for this one showed up on the app_org. Abandon this devise one and started from scratch with a simple approach. I will try the devise some other times. It can do a lot of things. Maybe it will show its wonder second time around building from brand new state. Thanks.

Li Wang

On Mon, Nov 23, 2015 at 12:53 AM, Daniel Kehoe [email protected] wrote:

I am unable to duplicate the issue. I built the app using Rails Composer then tried

$ rails generate controller Comments

and the new controller is in app/controllers as expected (note: "app/controllers" with an 's').

— Reply to this email directly or view it on GitHub https://github.com/RailsApps/rails-devise-roles/issues/7#issuecomment-158858752 .

llwang8 avatar Nov 23 '15 13:11 llwang8