Rails Tutorial | How to build a blog with Rails 5 and Bootstrap 4 - Part 7

preview_player
Показать описание

Download the code from the Github repo:

In this episode we tackle how to manage published and unpublished content. We get into just a little bit of Rails backend work, and we have a short discussion about object oriented code.

Bootstrap 4:

Rails 5:
Рекомендации по теме
Комментарии
Автор

I've been looking for some real great comprehensive videos, and your detailed explanations are fantastic for a noob in R&R. Thanks!

AlfredAlva
Автор

Great videos, thank you!, i waiting for your next videos :D

tonyjleal
Автор

This has been a great series and I sincerely hope that it continues. Episode 7 left me with a problem. New Post-Save Blog Post results in a "undefined method `strftime' for nil:NilClass". Clicking 'back' reveals that the post was created. Likewise Edit-Save Blog Post on a unpublished post gives the same error, although the edit is actually made. Is it something I have got wrong or is it to do with the authors/posts.rb method "display_day_published". I noticed in the video that you bypassed this method for the publish and unpublish methods. Yes, I am a newb and an old one at that being retired and learning Rails as a hobby.

ronholmes
Автор

I need some help. I'm noob in the programming. I copied every single code as a tutor typed. However, when I click on the publish button, it not allows me to publish the article. I have no idea what is problem here. is the turbo-links problem?? I could do publish and unpublish via ruby console.

DAAK
Автор

authors_publish_path(post) work /// but why?

ByNomercy
Автор

thanks for excellent videos, are these series videos finished and what is the development plan for blog video?

jayzen
Автор

Do you plan on adding tags to the blog posts?

oscaralfonsoguerrero
Автор

Great video, I just wandering if you could add the like button and the post have most likes will go top or in Desc order ??

ruouhanoi
Автор

uninitialized constant Authors::PostController How to fix this

staenly
welcome to shbcf.ru