Ruby On Rails Classroom image

Pooja  Negi / Student / Web Technology

To post your Question Join Classroom
Lesson Topics's No:-  |1 | 2 | 3|Last
Lessons:- A Micropost Microtour

A Micropost Microtour

As with the Users resource, we’ll generate scaffold code for the Microposts resource using rails generate scaffold, in this case implementing the data model from Figure 2.3:5

To update our database with the new data model, we need to run a migration as in Section 2.2: 

$ bundle exec rake db:migrate
== CreateMicroposts: migrating ===============================================
-- create table(:microposts)
-> 0.0023s
== CreateMicroposts: migrated (0.0026s) ======================================
Pooja   Negi

Skills    Ruby On Rails

Qualifications :- High School - SSN high school, College/University - HNBGU, College/University - SRHU,
Location :-Ranipokhari,Rishikesh,Uttarakhand,India
Description:- Student

  Students (0)