Reading is one of the most habits which has helped me unstoppable develop, improve technical skills and soft skills. Today, I want to share my reading list which is useful in my career path and you too.
This book explains details know about:
Original in My Blog: https://luanotes.com/blogs/how-to-write-clean-code
“Master programmers think of systems as stories to be told rather than programs to be written” — Uncle Bob.
Clean Code — A Handbook of Agile Software Craftsmanship is a must-read book for developers, especially when you want to be a better…
Step 1: Add show action in Posts controller
class PostsController < ApplicationController
@post = Post.find(params[:id])
In this action, a post variable gets through by params
Step 2: Add show View: (app/views/posts/show.html.erb)
Models in Rails use a singular name, and their corresponding database tables use a plural name. …