Save 36% for Black Friday! Learn more

Ruby on Rails Community Forum

Is a Rails 5/react.js app only using GraphQL feasible?

3
Databases
I'm building a new app: rails 5 for the backend, react.js (actually Gatsby) for the frontend. Is it possible/desirable to do it all using GraphQL and skip REST endpoints entirely?  
Jacob Warren replied

how do I create a post with inputs and a lot of images?

0
Rails
how do I create a post with inputs and a lot of images? using, I don't know, shrine, simple_form and Amazon s3
Cesar Krampanis posted

Webpacker error from Vue.js Trello Clone Series

4
Rails
Hey all, I have an error that I just can't get to the bottom of. While going through the awesome Vue.js Trello Clone tutorial I started seeing this:(Webpacker can't find application.css in /trello-...
Matthias Orgler replied
Solved

Conflict between Chartkick gem and Trix Editor

1
Javascript
I'm getting an error on pages that use chartkick (both highcharts and chart.js) due to the Trix Editor. Everything works fine but the error being thrown concerns me.Anyone have thoughts?Error with ...
Trevor Owens replied
Solved

New server failed provisioning

2
Servers
Hi Chris, please assist with the following error;Your server failed provisioning!Server logsRegion is not available Make sure you haven't crossed your Droplet limit on Digital Ocean already!
Chris Oliver replied
Solved

How would I setup a two-sided referral program in rails with stripe?

2
Rails
I want to set up a two-sided referral program in rails that would similar to the setup used by Dropbox. How would I get this setup? The referral program would work with Stripe to reward the referri...
Jonas Johnson replied

How do i populate a dropdown based on the parent_id selected in a tree structure?

0
Rails
i am currently working on an online store where the category model has ancestry with the ancestry gem, i would like to add products by selecting the parent category first and then based on the sele...
Nana Manu posted

'bcrypt' gem install Error

3
Rails
So, I was attempting to install the gem 'bcrypt' and I received the following error:Installing bcrypt 3.1.11 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension...
William Kennedy replied
Solved

Can't connect to rails server

11
Rails
Hello, I am very new to programming and Ruby on Rails (day 3). I'm having a lot of trouble connecting to a server.  I have tried,rails s -b $IP -p $PORTrails s bundle execand several other com...
AustinH00 replied

Rails 5.1.5 ( redirect to login but not saving data [omniauth + Devise]

2
Rails
Im Trying to make Oauth using multi model, User and Identity. i setup the one to many Relationship between User and Identity and write some code for each model like thisuser.rbclass User < ...
Michael Lazuardy replied

Condition if devise action view

3
Gems / Libraries
Hi everyone,I am struggeling with finding out how to add a condition to hide my navbar partial if user is currently in one of the devise views. For example if user is currently in devise sessions n...
Jacob Hedengren replied
Solved

How to generate these episodes applications Scaffold used by Chris?

3
Rails
I would like to know if there is any guide that shows how to generate this initial Scaffold of the application (with device, gravatar, bootstrap, all configured to start a new project quickly), lik...
Alisson Patrick replied
Solved

Undo Sending Button like GMail Discussion

1
General
awesome 🔥
Alisson Patrick replied

How do I do upserts and/or conditional saves?

3
Ruby
I have an external API that I am parsing and saving to the database via a scheduled job and I am having trouble working out how to:A: How to only save the parsed object if it has changed.B. How to ...
Jacob Montgomery replied
Solved

DEVISE: How do I redirect to a custom message page after user signs up and is required to confirm email address ?

2
Gems / Libraries
I want to create a custom page that says "Go confirm your email" after Sign up using Devise
Bill Tihen replied

Using Webpacker and Rails on AWS Elastic Beanstalk

10
General
Can anyone point me in the direction of documentation/tutorial for using Webpacker with Rails on Elastic Beanstalk? I have been playing with Tailwind CSS (which is great btw), and I'm getting a ver...
Simon Cooper replied
Solved

How do I access files on server with a cron or similar ? (outside of app)

17
Rails
Hi everyone, i'm a bit new to rails and i'm searching for help.I have a rails app where I receive a zipfile on my server (outside of the app, homedir of new FTP user).Then I want to unzip the files...
Jacob Montgomery replied
Solved

Nginx Reload after Letsencrypt has made the websites slow.. is it common or its limited to my server setup?

1
Servers
Hi Guys,We have an application which has about 250+ websites running on it. However post we deployed SSL on these website our Nginx Reload has slowed down a lot. We are now facing situation where i...
Chris Oliver replied

How do I unsubscribe from gorails?

1
General
I apologize that I need to use this medium to learn how to unsubscribe but I couldn't find any link/help article regarding this. I'm trying to cut down on my expenses and will come back to gorails ...
Prem Anand replied

Cara Menyembuhkan Darah Beku Di Otak

1
General
Cara Menyembuhkan Darah Beku Di Otak Secara Alami 100% Tanpa Efek SampingPengobatan untuk Cara menyembuhkan darah berku di otak dapat bervariasi tergantung parah atau tidaknya penyakit tersebut. Na...
alfha nurul replied

Learning Ruby on Rails? Join our newsletter.

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