Ruby on Rails Community Forum
Debugging Questions
1
General
Hello,
I am trying to help out an open source project that I use. I found an issue and the developer has asked me to help debug the javascript but I'm a javascript hack and not sure how to do it.
...
Michael Bradford replied
Running Yarn offline
0
Servers
I have a production server Running Rails 6 (latest version) that is extremely locked down. I don't manage the infrastructure surrounding (firewalls, IPs, etc...) the server. Only a few things are a...
Mountaindog posted
Is Something Wrong With Jumpstart?
11
Gems / Libraries
I've tried to install Jumpstart three times in the last two days and each time all the gems get installed but none of the views or anything else does. When I boot the server it just shows the norma...
Tim replied
Video idea: Dry Monad
1
Ruby
Hi Chris,
Would be nice to watch a video about dry monads.
Lately been using a lot of dry-initializer combined with dry-types, I think you could make series of dry-rb gems.
But I have not yet st...
Chris Oliver replied
Improving the Rails Conductor for Inbound Emails & ActionMailbox Discussion
0
General
Is there a pull request into rails for this we can see?
will posted
Order by score using Pagy pagination?
3
Rails
Hi everyone. I am currently trying to order some ActiveRecord records by score. In my controller i have:
```ruby
def index
@pagy, @drivers = pagy(
Driver.select(
'drivers.*...
Background Jobs
3
Rails
Hey there,
I'm using nested attributes to generate a bunch of records at once. I'm coding a tool that crawls IP and Website Informations.
The nested attributes are set up like this:
-Company
--h...
SweetAlert integration
1
Rails
I was able to intergrate sweetAlert properly(*not using the gem but by including the files manually in vendor *)and overiding the rails defaults as follows in the application.js file=>
```
$....
First argument in form cannot contain nil or be empty
0
Rails
Hi,
I'm trying to create an account from a popup form. But I get the first argument in form cannot contain nil or be empty. What am I doing wrong?
class AccountsController < ApplicationCon...
Samantha O posted
How do I deploy webpacker with nvm with capistrano?
2
Rails
Hi,
Was following your tutorial for capistrano but did not see any webpacker in there :(.
Right now I am having a problem that cap seems to be finding my old node version before I installed nvm...
Greg Blass replied
Huge syslog file in production
3
Rails
Hi,
We have a rails app with sidekiq in an Ubuntu 18.04 machine hosted in AWS.
We've recently started to run out of space in our disk. I've then noticed that we have a huge /var/log/syslog file, ...
Chris Oliver replied
Solved
JSON Web Tokens (JWT) vs Rails Session Cookies Discussion
8
General
Nice work Chris (and getting these prepared over the Holiday season), very keen for the implementation video!
NG DAVID replied
Session is not set until the page reload
0
Rails
I work with Rails remote form. After set the session like session[:user_id] = 123, the session is still blank {}. After I refreshed page, I got the user_id value.
How can I access those session wit...
Uysim posted
Error while cloning data from github using Rugged.
0
Gems / Libraries
Hi, I am using RUGGED gem to clone data from GITHUB , in my RoR app, which i have set up on my local machine. But i am getting an error "UNSUPPORTED URL PROTOCL" on "clone_at" function.
Need Help !!!
Muhammad Muazzam posted
Ruby on Rails
0
Rails
What is the path for learning Ruby on Raila? Which course do I start with?
Thanks in advance.
ashritharai posted
Embedable js app that talks to Rails
0
General
Hello, I wonder if anybody has some thoughts on how to do this.
I need to rewrite an iFrame app that runs embeded in various websites so that it runs as a js app in a div rather than an iFrame. ...
will posted
GoRails Screencast to setup Algolia ?
3
General
Hi,
Is there any screencast or project with Algolia ?
I think it would be great !!
Srinivasa Varma D replied
How I can upload some file on my automation Rails
0
Ruby
Hi everyone, I need your help if is possible, on a tecnical doubt I have on my automation, I wrote the code below and the browser opened the window to choose the file I wants to upload:
find(:xpat...
Scope has_many relationship
0
Rails
I have four models
1. Problem
1. User
1. Question
1. Reply
```ruby
class Problem < ApplicationRecord
has_many :questions
end
```
```ruby
class User < ApplicationRecord
has_many :questi...
Josh Goldman posted
ActiveRecord queries are running too slow for Rails project
0
Rails
My ActiveRecord queries are taking too much load time and slowing down my API response times. I don't even have much data in the databse, like for accounts table there are only 10 rows. I'm running...
Simmi Badhan posted