Skip to content

About

first_rails_app

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

Readme

About this app

This is my first original Ruby on Rails app. It will be a simple threaded discussion board, similar to the self posts on Hacker News, but without up/down voting.

I may introduce link posting functionality if it ends up being nontrival to implement.

Implementation Notes

User Data Model:

  • id: integer (primary key in database)
  • name: string
  • email: string

Post Data Model:

  • id: integer (primary key in database)
  • parent_id: integer
  • level: integer (1 = base post, 2 = top level comment)
  • user_id: integer
  • content: string

To-do:

  • Data input validation: Disallow blank names and invalid email addresses, overall input sanitation
  • User Authentication: There isn't a way to sign in or out, anyone can do anything
  • Layout: Just the default layout

About

first_rails_app

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages