This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My code is at: | |
https://github.com/rebrinktexas/postit-solution.git | |
All was working smoothly. THen I did something to break Post#show. The form_for doesn't understand its objects. Problem will be really easy to see, this is the error - | |
ArgumentError in Posts#show | |
Showing /Users/robertbrink/postit-template/app/views/posts/show.html.erb where line #10 raised: | |
First argument in form cannot contain nil or be empty |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
code at https://github.com/rebrinktexas/postit-solution.git | |
In post/index view line 8 displays a string "Category". I need help in developing the code to display the value of the category name instead of the string. I find it is straightforward to display the category id number, yet I can't display the name attribute. | |
Your help is appreciated. | |
Bob |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rails Week 1 Quiz | |
Why do they call it a relational database? | |
Ted Codd defined the relational databases in a paper in 1970. The major feature of the model was rows of data, called “tuples”, and a tables of rows, called “relations”. There are base relations, with a physical instantiation of the tuples, and view relations, with a more ephemeral instantiation of tuples. | |
The Relational Model was a significant change from the hierarchical and network database designs previously popular. The relational model emphasizes the durability of the relationship between tables even though the physical implementation might vary with index and file storage methods. Interestingly, the most current trend in No-SQL databases releases the relational constraints and returns to less flexible and higher performing database structures. | |
What is SQL? | |
SQL is the language used to manipulate data in a relational database. Structured Query Language (SQL) was designed to manipulate the relations with mathematical precision and is base |