Posts by Lucas Ferreira • 16 points
3 posts
-
0
votes3
answers128
viewsA: Nomethoderror in Users#show
To see all the routes you have, you can go to browse and put the following address: http://localhost:3000/Rails/info/Routes You will see that you will have some different routes, examples: index:…
-
0
votes2
answers36
viewsA: Actioncontroller::Routingerror (No route Matches {:action=>"show", :controller=>"license_report"}):
The ideal is to leave the controller pluralized, ex: Licensereports. So when you put Resources on the routes, it will create the routes for the actions, being the index: license_reports_path new:…
-
-1
votes3
answers227
viewsA: Handling of JAVA arrays
For you to control the line that has already been registered an item is quite simple. Makes a counter variable starting from 0, Exp: int c = 0; In case 1 you put it like this: for (int i = c; i <…