DEV Community

donnellycarroll
donnellycarroll

Posted on

Week 2 Note 1

Didnt do these yet:

3. Ensure you have flash messages in app/views/layouts/application.html.erb.
     For example:

       <p class="notice"><%= notice %></p>
       <p class="alert"><%= alert %></p>

     * Not required for API-only Applications *

  4. You can copy Devise views (for customization) to your app by running:

       rails g devise:views

     * Not required *
Enter fullscreen mode Exit fullscreen mode

because i think the flash messages come later?

git branches:

git checkout -b
Enter fullscreen mode Exit fullscreen mode

After you generate your model or your scaffold, it's a good idea to come into your migration file and just think about for each of your columns, is there a reasonable default value that you wanna set?
Image description

Top comments (0)