SSH issue while deploying Rails application using Capistrano
2
Rails
I've been trying to deploy the rail application on Digitalocean droplet (ubuntu 22.04) using the following two tutorials
https://www.youtube.com/watch?v=xpYpaRUFzTI&t=945s&ab_channel=Deanin...
Vaishnav Deore replied
Action Text bug with files on Amazon S3
0
Rails
Hi, found this problem with Action Text. For example, we have a blog model with a content field (action text field). We have attached the image (at this point it has been uploaded to amazon s3) and...
Vladholovchak posted
Migrating Application from Heroku to Hatchbox AWS - rails console fails
1
Rails
I started migrating the application from Heroku to AWS using Hatchbox. The deployment was successful. But when I tried accessing the rails console, I'm getting a `NameError`.
```
/home/deploy/app-...
David replied
Jumpstart free version bug
0
Rails
Hi @Alex it seems the admin section is no longer working
Mina Adel posted
Amazon S3 in blog tutorial error
2
Rails
I am following the Go Rails blog tutorial. Currently trying to work through trying to set up Amazon S3 to upload images from the blog app. I've retraced the steps from the blog numerous times. I...
Mike Cannon replied
Devise, scoped models
0
Rails
My app accesses multiple databases and I want to scope the model folder. So I would have two users types, e.g. (DB1::User, and DB2::User). I added the routes as `devise_for 'db1/user` and devise_...
gmhawash posted
I am receiving this error "BlogPostsController#index is missing a template for request formats: text/html"
3
Rails
What I need help with is this - my file path seems correct, however, my views/layouts are not separate. My file path is: app> views> layouts> blog_posts> index.html.erb
What I am wond...
Roman Vetter replied
fields_for and accepts_nested_attributes_for in rails
0
Rails
I have noticed something strange. For I have a rails app which has user model.
User has one lab
Lab belongs to user.
User has two attributes , username and age.
Username is mandatory on creatio...
Muhammad Ans posted
Turbo stream problem
4
Rails
Hello...
I'm having a problem with a view not fully auto-updating using turbo.
It currently only works when updating or destroying.
So to keep it kinda short, I have a site where users can crud...
CPU from 0% to 100% on any one page load.
0
Rails
Hello,
I am having a serious issue on the Ruby on rails application running with the following technological stack:
ubuntu-latest
Docker latest
RUBY_VERSION: 3.1.0
puma (5.6.4)
rails (7.0.3)...
Cannot create Rails App - gem issues "Ignoring nokogiri" and other gems
5
Rails
When I try to create a new Rails App it fails. I am on Big Sur 11.3, Ruby 2.7.2, and when type rails-v shows 6.0.3.4 but also ignoring quite a few gems including nokogiri and 6-7 others. I have tri...
Ryan Mindigo replied
How to create new contacts from nested attributes form
7
Rails
I'm building my first semi "real world" rails app (an Open House management app for real estate). I am currently stuck on a "accepts nested attributes" problem. Here are the details... (I've provid...
LucyHills replied
Solved
Tip of topic for new episode on hotwire
1
Rails
How to use turbo frames for more complex pages that has menu and sidebars that themself are at least somewhat dynamic (say user name, sidebar options that change depending of what page you are at e...
montigokylie replied
connexion between two microservices in rails
0
Rails
i have a user with devise auth micro service and i have other micro service Costs i want to create cost with user wuthenticated how i can make that connection
meryem sekkat posted
How to understand the 'magic'?
0
Rails
Hey everyone, I have been working with rails thanks to the awesome courses that you have, but I want to know about what happens behind the scenes. Where can I find how Rails conventions works and h...
OsqY posted
Rails 7, Devise in turbo_frames
2
Rails
- Rails 7.0.6
- Devise 4.9
## Summary
- I have a pretty standard Devise setup with links in a global navbar that look like this.
```
<%= link_to('Create account', new_user_registration_path, da...
Whimere replied
Solving Active Storage InvalidAuthencityToken Error
0
Rails
I have an application which is on lvh.me and i am trying to upload image using trix editor from my subdomain sample.lvh.me but for some reason i keep getting this error
```
Started POST "/rails/a...
Henry posted
I'm lost and can't find the way out
18
Rails
So I'm in the middle of this project and I thought I could figure it out on my own, but it appears I am in over my head here. So any advice/help you can give me would be great.
Basically I'm tryi...
Andrea Fomera replied
Solved