Automated way to do multilingual in existing rails application

0
Rails
I have existing rails application . Currently no language support and now need to do language support . Is there any tools , gem etc which will help me to find static word from erb/helper/model etc...
Mitesh Kumar posted

SQLite3::SQLException: no such column:

1
Rails
I'm trying to make a blogging app with rails and I'm currently trying to add a comment section. When I tried looking on one of my blogs it gave me this error. ActiveRecord::StatementInvalid in Pos...

routing errors when i try to submit a comment to a post

0
Rails
Hi Thank you, i followed this tutorial however i am getting Routing Error when i click submit for the comment... ``` uninitialized constant Squeals ``` Rails.root: /home/ubuntu/workspace Applic...
khemlall mangal posted

How do I nest two resources that are both polymorphic associations?

0
Rails
In my app, I have several models for various product types, as each product has different attribute types and I wanted to avoid using STI. However, I am using the same Review and Comment system for...

How do i deploy rails 7 app on digital ocean with password

1
Rails
Hello my question is how can i deploy rails 7 app(api only) on digital ocean i have password not ssh key and my operating system is windows

What should I be using to connect react to rails backend?

1
Rails
Hello all, apologies if this has been asked before. I currently work with react and node/express for the backend, but have been playing around with rails on the side and have been really enjoying i...

Best way to handle accessing resource view in modal and non modal

0
Rails
Hey there, I'd like to get some advice on how to handle rendering similar content like a show/edit for resource in modal or in full page render. Does it make sense to have multiple routes for thes...
Edwin Mak posted

Looking for some good instructions for clean Rails install on Cloud9 with Bootstrap

0
Rails
Hey there, I am starting a new project and I want to get it off to a clean start with Rails 7 and Bootstrap 5 on Cloud9. After viewing some videos and going through the process a few times, it se...
chuckblake posted

Custom Image Analyzer

2
Rails
I have a custom ActiveStorage analyzer that (will) exact a bit more metadata out of an image and save it in ActiveStorage (i.e.: camera, shutter, etc...) For simplicity sake, the metadata method h...

How do I keep old files uploaded with active storage?

0
Rails
I'm using active storage with active_storage_db gem to keep files in Postgres instead of storing them in the cloud. I have a document which I upload - has_one_attached (i don't need to upload mult...
hcosteira posted

Use select_tag to link to customer show page

13
Rails
I'm converting a MS access databse to Rails. The database has a customer table of over 5,000 customers. I have imprted the customer table from the Acces db into the Rails postgres db. I can use th...
bradnealy replied

HOW DO I SHOW avatar as a thumbnail or image in rails_admin panel.

2
Rails
Hi guys, I have rails model User which has_one_attached :avatar In rails admin, I can create a new user and upload user image avatar, but the image shows up as a broken image. How can I let it disp...
RobbieColtrane replied

Active Storage replace attached from a variant

2
Rails
Following the example from the guide, I can create a variant as soon as I upload an image, but I want the main image, the attached blob to be that variant. How can I do it in an easy and clean way?

Using React

19
Rails
I'm trying to learn how to use react in my rails 5 app. I've just finished following Kenny Hibino's you tube series for his medium clone. He used react-rails gem, but then realised he wanted to u...
Rio replied
Solved

Activeadmin with actiontext in Rails 7

0
Rails
How i can use activeadmin with actiontext in rails 7
Muhammad Bilal posted

Need help on Webpacker issue with Rails 6

0
Rails
I am using Rails 6, Ruby 2.7, and Webpacker 4. X I am getting below error ActionView::Template::Error (Webpacker can't find application.js in /Users/developer/Documents/Projects/knowhub/public/pack...
swathi arisankula posted

Trying to insert this without refreshing the page ~

0
Rails
I am trying to insert a new comment on to the page without reloading using stimulus and javascript ~ I tried following along Chris in the nested comments video (NOTE: my comment is like his POST no...

How would you approach adding students to classes?

4
Rails
I have `SchoolClass` and `Student` resources. Students belong to classes through `ClassMemberships`. So far students have been added to classes using a grid of class checkboxes on the Edit Student ...

Want to stay up-to-date with Ruby on Rails?

Join 89,968+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.