filmov
tv
Ruby on Rails Tutorial | Building a Message Board

Показать описание
This is a Ruby on Rails tutorial where I create a Message Board Application from scratch. The functionality of the application is very similar to a forum. This application was built in Rails 4.2.1.
GitHub Repository (You can get the stylesheet here):
Video Index:
0:00 Overview of the finished application
1:40 Create the MessageBoard application
3:30 Generate the Message model
6:20 Generate the Messages controller
7:40 Routing and root path
9:30 Define index action in messages_controller
11:25 Add simple_form and bootstrap-sass Gems
15:30 Add functionality to create new messages
22:05 Show all messages in the index action
24:50 Add show functionality to messages
29:10 Add edit/update and destroy functionality to messages
34:45 Add/install the devise Gem
38:25 Create navigation for the app in the layout file
44:30 Sign up a user
45:05 Add a user_id attribute to messages
53:45 Generate the Comment model
56:45 Generate the Comments controller
58:00 Create nested routes for comments
59:00 Add create action for comments
1:02:40 Create form partial for comments
1:05:10 Create comment partial file
1:08:00 Add edit/update functionality to comments
1:18:00 Add destroy functionality to comments
1:19:00 Add timestamps
1:22:25 Allow only the user who created the message or comment to be able to edit/delete
1:27:30 Add authenticate_user
1:30:00 Add CSS styles and layout the content
Thank you for watching!
Be sure to subscribe for future tutorials and content!
I will be posting weekly content!
GitHub Repository (You can get the stylesheet here):
Video Index:
0:00 Overview of the finished application
1:40 Create the MessageBoard application
3:30 Generate the Message model
6:20 Generate the Messages controller
7:40 Routing and root path
9:30 Define index action in messages_controller
11:25 Add simple_form and bootstrap-sass Gems
15:30 Add functionality to create new messages
22:05 Show all messages in the index action
24:50 Add show functionality to messages
29:10 Add edit/update and destroy functionality to messages
34:45 Add/install the devise Gem
38:25 Create navigation for the app in the layout file
44:30 Sign up a user
45:05 Add a user_id attribute to messages
53:45 Generate the Comment model
56:45 Generate the Comments controller
58:00 Create nested routes for comments
59:00 Add create action for comments
1:02:40 Create form partial for comments
1:05:10 Create comment partial file
1:08:00 Add edit/update functionality to comments
1:18:00 Add destroy functionality to comments
1:19:00 Add timestamps
1:22:25 Allow only the user who created the message or comment to be able to edit/delete
1:27:30 Add authenticate_user
1:30:00 Add CSS styles and layout the content
Thank you for watching!
Be sure to subscribe for future tutorials and content!
I will be posting weekly content!
Комментарии