Various errors with a new project
randomsnowflake opened this issue · 2 comments
I'm currently shopping for a Rails SAAS starter template.
The following issues appear after starting the server with yesterdays master:
NameError in NotificationsController#index
http://127.0.0.1:3000/notifications
Rails couldn't find a valid model for Notification association. Please provide the :class_name option on the association declaration. If :class_name is already provided, make sure it's an ActiveRecord::Base subclass.
No welcome email when signing up
I'm not sure if it is supposed to be like this, but I didn't receive a welcome email when signing up.
Avatar upload not working
I tried to upload an avatar, but it didn't work.
The uploaded image is not accessible via the browser. There is no error.
The image is not shown in the madmin active storage view (http://127.0.0.1:3000/madmin/active_storage/attachments)
Madmin users list is broken
http://127.0.0.1:3000/madmin/users
Rails couldn't find a valid model for Notification association. Please provide the :class_name option on the association declaration. If :class_name is already provided, make sure it's an ActiveRecord::Base subclass.
The free Jumpstart (this repo) is not a SaaS template. The paid version on JumpstartRails.com is what you'd want to look at.
I don't know what you mean by "yesterdays master"? Are you referring to Rails main?
It sounds like you did not follow the post-install instructions to run the noticed model generator.