README.md in effective_developer-0.2 vs README.md in effective_developer-0.2.1

- old
+ new

@@ -268,32 +268,31 @@ class Post < ApplicationRecord belongs_to :user belongs_to :category # Attributes - # name :string + # title :string # body :text # published_at :datetime - validates :name, presence: true + validates :title, presence: true validates :description, presence: true has_many :comments accepts_nested_attributes_for :comments scope :published, -> { where.not(published_at: nil) } def to_s - name || 'New Post' + title || 'New Post' end end ``` -and then run - +and then run` ```console -rails generate scaffold post -rails generate scaffold_controller admin/post +rails generate effective:scaffold post +rails generate effective:scaffold_controller admin/post ``` Tweak from here ### all scaffolds