I’m new to rails, but not to programming. I’m trying to create a Case Management app, I’m running the command
ruby script/generate scaffold Case casename:string caseid:string
This works fine, however because Case is a reserved word I’m getting errors when trying to view localhost:3000/Cases
Is there anyway around this or do I just have to use a different name?
Thanks in advance.
There are some words that you can’t work around (see below). There may be a way to work around ‘case’ but you’ll make life easier on yourself by changing the name. Don’t sweat the small things – there’re are plenty of real problems to worry about 🙂
Other reserved words here and here
Good luck!