- Fork and clone this repo
- Go through each file and practice explaining what is happening in every file
- Create migrations for two models:
- A
users
table with the following attributes: name, email, age - A
tasks
table with the following attributes: title, description, category, done (this should be a boolean value), due_date - A task should also belong_to a user
- A
- Set up the two models (these are files that should be added under the app folder).
- Use the command
rake console
to start a pry session. Practice using the following commands with Users and Tasks:.new
.create
.update
.save
.destroy
.find_by
- Pay attention to the return values and use the documentation to find the many different ways you can use the same method.
forked from hansenjl/ar-starter-code
-
Notifications
You must be signed in to change notification settings - Fork 0
hellobontempo/ar-starter-code
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Ruby 100.0%