
Configure Redis Session Store
0
Rails
Seems pretty straight forward however, I am getting an invalid authenticity token error upon form post with my app.
Here's what I have set in config/environments/development.rb:
```
config.sessi...
Derek Dyer replied
Solved

Encountering an error when installing rails application into the project
0
Rails
Hi,
So recently I cloned a repo from Azure DevOps into Visual Studio 2022 and proceeded to install a rails application into the project, but encountered an error even though a ‘development’ branch...
Asim Mehmood Khan posted

Developer wanted
1
Rails
Looking for a developer:
- Ruby on Rails
- Shopify App Experience
robert replied

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)...

How do I add embedded youtube video to a text field within active admin with simplemde markdown?
3
Rails
When I add the Youtube embed code. It displays it as a string on the front end.
The idea is that I could make this simple enough for the user updating the post to add the embed code easily themsel...

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