This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am developing an application on rails using a couchDB database. I already can connect to the database and view some information.
Now I am trying to create a new object of my model.
My model is named author. My controller is named authors.
The code of my model is the following one:
The code of my controller is the following one:
The code of my new.html.erb file is the following one:
The list method is working fine, it shows what I am expecting to.
However, the "new" html page does not shows anything except the title and the "back" link. No error is generated. Everything is ok except that the form is not generated/displayed/rendered.
Does anyone have an idea about the problem/solution of it?