firstdraft / draft_generators

Rails generators that help beginners learn to program.
MIT License
2 stars 3 forks source link

added border 1 to draft resource generator #110

Closed pmckernin closed 3 years ago

pmckernin commented 3 years ago

This resolves #100.

The Problem: There was no border around the table for the draft:resource generator.

The Solution: Add border = "1" to the HTML table tag

What the solution looks like.

Screen Shot 2021-06-25 at 11 49 52 AM

How to test: In this snapshot, I have changed the gem file to pull from this branch. To test open the console, run rails g draft:resource item item:string. Then run rails db:migrate. After this you can run bin/server and visit the newly created table at /items