Ruby on Rails Community Forum

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

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

Address already in use for headless browser

0
Servers
I use Watir and headless Firefox/Chrome to scrape a website deployed with Hatchbox: def perform(uid_number) pool = RandomPort::Pool.new #random_port gem to generate a free port port_number = poo...
Turtle posted

How can one setup a service booking app with time limitations?

6
Rails
Hey guys, how can one setup a service booking system where the customer can book services between 9am and 4pm on every monday and friday? Would you use the ice_cube gem to create timeslots and the...
Emily replied

How do you reference current_user with stimulus_reflex?

1
General
Trying to slightly build off the stimulus reflex dynamic forms checkbox lesson. I wanted to add the current_user id to the lastUpdateBy field when the checkbox is checked. I have not been able to g...
spacerobotTR replied

Button Loading Animations with jQuery UJS Discussion

68
General
Thank you! Really simple. :)
Marcos Filho replied

Setup Ubuntu 18.04 Bionic Beaver Discussion

0
General

Rails form post creates a 'Do you want to download “<form target>”' prompt on mobile

0
Rails
Hey everyone, I'm just testing my first Rails app on mobile and whenever I submit a form I get a prompt to download the form target. See the screenshot below: [Download Prompt on iPhone8](https:/...
TensAndTwenties posted

Rails micro-services and authentication domain to use with devise

0
Rails
Hi! I'd like to split my rails application to microservices, such as - main app 1 - main app 2 - main app N - authentication and account management - administration console - marketing console (bla...
Alexey Poimtsev posted

how to debug this

1
Rails
Is there a method to debug hosted ruby on rails application and check the request and response object
hammersxo replied

HRMS system using Rails

0
General
Hi, Can we make an HRMS system with features like payroll processing ( that can display all the details related to it for the user in a web application ) &amp; also attendance integration ( with ...

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.