Hacker News new | ask | show | jobs
by unityByFreedom 1695 days ago
> I wrote that up here, in a fairly gigantic blog post:

That blog post is the same link for this thread.

> without creating a User model

A User model isn't necessary if you don't require login to use your tool.

1 comments

> My theory now is that whichever ActiveRecord model is closest to the UI will grow huge as it comes to incorporate a comprehensive catalog of user interactions. It's an interesting question, but it's also a topic for another time.

User preferences, settings, interaction history, whatever can be stored in different models. The User model can be slim.

Good to know. It seemed odd to include details about the framework. The tool could've been written in Django, Angular, React, etc.