
Rails 7.0.0rc1
3
Rails
Been playing around with Rails 7 aphla2 and yesterday they released an RC version. In my Rails 7 test app, which was previously running alpha2, ran ```bundle update``` it updated everything to the ...
Solved

Installation
1
Rails
Hi Chris, could you change hardcore installation nodejs in guides https://gorails.com/setup/ubuntu/18.04 to through https://github.com/nodenv/nodenv. Also I've found some script https://gist.github...

Persistent audio via stimulus change audio on click
0
Rails
Hi, I have set up Plyr with stimulus and I have also got the sessions working with application.html.erb so I can have the player on every page in the app via the id params thanks to help here on Re...

How i can add delivery method with slack?
0
Rails
I cant find any tutorial on how to use noticed gem with slack, can anyone please explain for are the steps for slack integration with his gem I'm new to rails and find it hard to integrate this wit...

Searchkick and Anycable-rails hangs server
1
Rails
Hello! I have an issue in my app that I just cannot solve.. I have been using Anycable in production for a year now and it have worked great. Then I added Searchkick to improve the search experienc...
Marcus S replied

Is there an admin like Django or Laravel's Nova
3
Rails
Newbie to Ruby / RoR - got into Django since 2 yrs and started learning Laravel - one thing I want to know before I delve into it, is if RoR provides a backend admin like Django or an external pack...
claudiastuart replied
Solved

Hotwire and iframes?
2
Rails
Hey everyone! I am working on a page builder. So the preview is in an iframe.
I am trying to make it so when I click the edit icon on a section in the iframe it displays that form in a sidebar in ...
drawgrunt replied

Appdynamic with Ruby on Rails
0
Rails
Hello,
I have to configured appdynamic with ruby on rails, I have added gem "gem ‘appdynamics’ " in gemfile, also created appdynamics.yml file with following details:
app_name: “My app name” tier...
Ashish Roe posted

How to prevent Turbo from striping params from form URL
0
Rails
After Turbo upgrade:
I have a form that is sending a GET request with the following URL /some-url?param1="hello"
When the form is submitted param1 is being striped out so it's not being sent. The...
Denis Omerovic posted

Upgrading From Rails 2.0.2 to Current Version
0
Rails
Coming back to Rails after a long time and happy to have found GoRails. Have the fundamental constructs around activerecord and actioncontroller changed? Any suggestions on best approach to migra...
Admin posted

Using Active Storage to upload images not working.
0
Rails
Hey guys,
I could really use your assistance with my current app. I decided to add the active storage feature and followed the guide on how to set it up. I did a practice project first to test the...
Shan Siddiqui posted

2factor Auth best practice, Please help
0
Rails
Thank you, Chris. I have watched the Gorails 2factor Auth tutorial. I have a couple of questions that leave me with a few questions.
- I imagine a scenario where a person has left their laptop open...
chigreen posted

Heroku and Schedule Jobs
0
Rails
Hello!
I'm implementing a new feature in my app that e-mailing all users every first day of the month. My app is running in Heroku.
My question is: what is the best way to achieve this feature?
W...
Matheus Leite posted

Validation error not showing up in browser
0
Rails
articles controller
class ArticlesController < ApplicationController
def show
@article = Article.find(params[:id])
end
def index
@articles = Article.all
end
...
kartik362 posted

How to use route.db or how to debug
2
Rails
In Apache logs:
GET https://xxxxxxxxxx.com/ HTTP/1.1" 404 1722
in routes.rb
root "crm#index"
rails routes|grep root
root GET / ...
namanh-dot replied

How do I create an input field for a polymorphic association?
7
Rails
For the sake of this question, lets assume I run a hotel and I want to make a system that manages the bookings of my hotel rooms.
While most of the time I book `Guests` in my hotel rooms, `Employe...
Solved

How to add logo image to mailer
7
Rails
Hi how can we add image from my assets to the email like my logo when sending email to the users.

Github actions & RAILS_MASTER_KEY
1
Rails
Hey Chris, hey community,
I've been following along your guide on setting up GitHub-actions with Rails (https://gorails.com/episodes/github-actions-continuous-integration-ruby-on-rails), however I...

Ruby on rails - what is the best way to add social authentication in the project?
4
Rails
I want to add social authentication in my project like user can also login with Facebook, Github, and Google.
I have already added the simple authentication with the devise gem. And now I want to ...

How do I check for validation for redirection to void cyclic redirection loop?
0
Rails
I have a redirection model with two columns `to` and `from`. I also have a frontend UI, where the redirections can be added.
I need to know whether is there any solution to avoid cyclic redirect l...
tewtetswtestws posted