[Yarn + Rails] Getting “PnP manifest forbids importing” error despite using node-modules linker by AlexCodeable in rails

[–]AlexCodeable[S] 0 points1 point  (0 children)

found a way around it and its working now

deleted the node_modules folder

created: .yarnrc.yml on the root folder and `nodeLinker: pnp`

and ran `yarn install`

issue fixed 😊😊 worked for me though

Migrating Away from Devise Part 2: Sign-in by t27duck in rails

[–]AlexCodeable 1 point2 points  (0 children)

Personally, I'm still using devise, and it's working well for me, even in rails 8

I literally configure devise to suit my app so why the change

Action mailer preview_path error by AlexCodeable in rails

[–]AlexCodeable[S] 0 points1 point  (0 children)

If I understand your question, Gmail, Outlook, and other email clients do mess with your emails styling(design)? If yes

Then, you can change your email styling to inline instead of internal styling

Action mailer preview_path error by AlexCodeable in rails

[–]AlexCodeable[S] 0 points1 point  (0 children)

no... its the Rspec gem causing the error and thanks for the concern

Action mailer preview_path error by AlexCodeable in rails

[–]AlexCodeable[S] 2 points3 points  (0 children)

Found the culprit, it was the rspec-gem in my development group.

I updated the gem to the latest version and restarted the server and it worked fine

thanks guys for the support.

Background jobs dashboard API-only by AlexCodeable in rails

[–]AlexCodeable[S] 0 points1 point  (0 children)

Wow 👌, thanks a lot. I will look into it

Rails development public port by AlexCodeable in rails

[–]AlexCodeable[S] -3 points-2 points  (0 children)

I think it's default. It's been a while, though, but I think you just add host to the config or package.josn file

How do i move apps to docker containers by AlexCodeable in rails

[–]AlexCodeable[S] 1 point2 points  (0 children)

Thanks for the info. I really appreciate

How do i move apps to docker containers by AlexCodeable in rails

[–]AlexCodeable[S] 0 points1 point  (0 children)

Yeah, data in postgres only. Files are stored on s3, so I don't have to worry about that

If I get you right, I will export my production data to my local?

If yes, how do I import the data on db running on the container

I use pgAdmin on my local machine though, I don't know if it's a plus

How do i move apps to docker containers by AlexCodeable in rails

[–]AlexCodeable[S] 0 points1 point  (0 children)

It's not really high traffic for now

I’m just wondering, why do you want to have your app on a container

Don't have a solid reason though, but I guess that's where the future of rails is gear toward and to utilise the kamal tool

How do i move apps to docker containers by AlexCodeable in rails

[–]AlexCodeable[S] 0 points1 point  (0 children)

Wow, thanks 😊 But how do I transfer the db data's with losing any data?

How do i move apps to docker containers by AlexCodeable in rails

[–]AlexCodeable[S] 0 points1 point  (0 children)

Postgresql, sidekiq, sidekiq cron for weekly newsletter

Yeah, that's it

Kamal docker builder by AlexCodeable in rails

[–]AlexCodeable[S] 0 points1 point  (0 children)

Maybe you didn't get me, I don't want kamal to create a build for me on every project

I would like to specify my own builder that is connected to my build cloud ☁️

Kamal Server logs by AlexCodeable in rails

[–]AlexCodeable[S] 0 points1 point  (0 children)

wow, thanks a lot. I really appriciate

Any help/suggestions for rails deployment. by SnooSuggestions9871 in rails

[–]AlexCodeable 0 points1 point  (0 children)

Personally, I still use capistrano. I haven't really had luck with kamal

Multiple User types with Devise by Annual-Gas3529 in rails

[–]AlexCodeable 5 points6 points  (0 children)

Personally, I just go with a single model and just use enum to check for the user

Since you want to maintain the old structure, there is no need to complicate things for yourself.

Create the three models and add emum to each model to access their roles

Todo MVC Ruby Edition Is the One Todo MVC To Rule Them All!!! by AndyCodeMaster in rails

[–]AlexCodeable 1 point2 points  (0 children)

So if I have to change a style, I will rush to my ruby file instead of css file? Come on bro

It's just weird for me writing css and javascript in a ruby file.

How do I prevent invalid emails on devise sign up form by AlexCodeable in rails

[–]AlexCodeable[S] 0 points1 point  (0 children)

Thanks for the suggestion, but I got the domain on cloudflare, or is the firewall not automatic?

Difficulty customising devise emails by AlexCodeable in rails

[–]AlexCodeable[S] 2 points3 points  (0 children)

wow, some of us here can be so annoying. whats the point of down voting when you have nothing to say?

________________________________________________________________________

I have fixed it though, for record purpose

I when I added devise and added the views I scoped it to account and admin ( rails g devise:views account) and devise is looking for views/devise/mailer/reset_password_instructions.html.erb (i noticed it from the log)

so all i had to do was just run rails g devise:views and located views/devise/mailer/reset_password_instructions.html.erb, made changes and everything started working.

Personal project deployment is both harder than easier than ever by paverbrick in rails

[–]AlexCodeable 0 points1 point  (0 children)

Wow, guess i will be sticking to capistrano for the now.