How gajendarkodela/questions_blog works
This Rails application is a simple expert-discussion forum. A user enters through the routed web interface, browses questions, creates or updates questions, and posts answers or follow-up discussion comments; users can also review their own questions and responses. The domain centers on questions and polymorphic comments, with Devise-backed accounts and a SQLite database. Controller excerpts show question and comment persistence; the README describes the broader user workflow. The users controller and question model were not sampled, so their detailed behavior and associations are not asserted.
Main entry points: routes.rb Routes · comment.rb Comments and discussions · user.rb User account model · questions_controller.rb Question actions
Components 10
Web entry and workflows
- Routes
config/routes.rb - Question actions
app/controllers/questions_controller.rb - Comment actions
app/controllers/comments_controller.rb - User actions
app/controllers/users_controller.rb
Forum domain
- Questions
app/models/question.rb - Comments and discussions
app/models/comment.rb
Accounts and storage
- User account model
app/models/user.rb - Authentication configuration
config/initializers/devise.rb - SQLite records
db/schema.rb
Other components
- Forum user
Connections 14
- Forum user → Routes: requests pages
config/routes.rb - Routes → Question actions: routes questions
config/routes.rb - Routes → Comment actions: routes comments
config/routes.rb - Routes → User actions: routes users
config/routes.rb - Routes → Authentication configuration: enables sign-in
config/routes.rb - Question actions → Questions: loads and saves
app/controllers/questions_controller.rb - Question actions → Comments and discussions: builds answer
- Comment actions → Comments and discussions: loads and saves
app/controllers/comments_controller.rb - User account model → Authentication configuration: uses authentication
app/models/user.rb - User account model → Questions: owns questions
app/models/user.rb - User account model → Comments and discussions: owns comments
app/models/user.rb - Comments and discussions → User account model: belongs to
app/models/comment.rb - Comments and discussions → SQLite records: persists records
- Questions → SQLite records: persists records