Skip to main content
Sortable Drag and Drop
Rails Solved • Asked by Clay
Hi I am hoping someone can assist. I have gone through the tutorial of Srttable Drag and Drop. https://gorails.com/episodes/sortable-drag-and-drop All is working but once the drop happens I...
9
posts

Exposing API when uploading image with ActiveStorage in Rails 5.2
General Solved • Asked by 6696
I'm trying to expose my API, but I'm having a hard time exposing an image that I uploaded using ActiveStorage. This is the current out put from the console when running `Recipe.last.image`: ```...
2
posts

Dropdown menu with form data?
Javascript Solved • Asked by Christian Kienast
Hey there, I'm building a dropdown menu for a form, that looks something like this: - Entry 1 - Subset - Entry 1 - Entry 2 - Entry 2 The selected option has to be in the params later...
2
posts

How to change Boolean Value on specific date.
Rails Solved • Asked by Jeff Wolfram
I am looking to change a boolean value on a specific date automatically. How would I do that. For example, it I have a post and would like it to publish automatically in two days at 8am. Would wo...
3
posts

Capistrano Rbenv Bundle Failed
Servers Solved • Asked by Agung Setiawan
Hi, I'm following this tutorial on deploying rails app https://gorails.com/deploy/ubuntu/16.04 About to reach the last step but it failed when performing bundle install as screenshot below ...
11
posts

API
General Solved • Asked by Jacob Hedengren
Hi everyone, I have recently set on a mission to learn more about APIs. I get some data from a external JSON API but have come a cross an issue that I need some help with. I’ve defined my ca...
3
posts

How do I create an attendance form for student attendance?
General Solved • Asked by Ernesto Gutierrez
I've been racking my brain and just need to ask for help on the creating this function in my app. **Scope:** simple app for non-profit for tracking student attendance What I've done: * created...
5
posts

How do I sort values incoming from an API call?
General Solved • Asked by Chantal Justamond
- I have incoming results from an API and I want to sort them (e.g. price) how can i do this without saving the results to the DB?- this is a rails app. 
4
posts

How to attach "users" to a tenant/tenants with Rails multi-tenancy/apartment
Rails Solved • Asked by Andre Goldstein
Hey guys, Have been watching some great videos on multi-tenancy with Rails but one thing I can't quite get my head around. If a `User` remains global, what is the best strategy for giving the...
12
posts

Whats the best way to handle subscriptions with a forum?
Rails Solved • Asked by Stephen Sizer
I'm building a forum and was wondering what's the best way to handle subscriptions? 
2
posts

How do I install bootstrap-v4 via yarn?
CSS Solved • Asked by Drilon Buzuku
Hey Guys, I tried to install bootstrap4 via yarn. And I tried it like this: 1. yarn add [email protected] 2. rails webpacker:compile 3. add the line: import 'bootstrap/dist/css/boots...
5
posts

How to use rails and sortable connected lists
Rails Solved • Asked by Graeme Ellis
Hello!I'm trying to create sortable connected lists with a single modal. Two lists that I want to move items between and then display. I've successfully followed the video on sortable with a single...
3
posts

Need some help with an Active Record Query
Rails Solved • Asked by Simon P
HiI have these tables:Users which has many:Farms which has many:StoresI want to return stores that belong to a specific user_id.Got this far but Rails is giving me an error.Thanks in advance for an...
7
posts

How to start and stop ngrok with Thin server?
Servers Solved • Asked by Daniel Weaver
I'm using the basic Thin server on my dev machine and I'd like to start and stop ngrok automatically with `rails s` - how do I do that?I found several articles but they all involve more complex set...
5
posts

s3 images not showing up in gmail?
Rails Solved • Asked by Jason Ormes
So I'm sending an email using actionmailer which has an image-tag for an image that is stored out in S3.  For some reason gmail doesn't display the image.  it displays images that are coming from t...
3
posts

Form item disappearing when failing nested validations
Rails Solved • Asked by Nino Rosella
I have a Rails 5 app, and I'm having a problem with validations using the Cocoon gem with nested, dynamic forms. When a validation on my Book model fails, and my create action renders :new, the Aut...
5
posts

Hatchox deploy
Servers Solved • Asked by Felender Hlungwani
Hi Chris, I get this  following error while try to deploy -----> Connecting to web-app (000.00.114.236) as root Net::SSH::Connection::Session::CommandFailed: Command "mkdir -p .hatch" returne...
4
posts

ActionCable streaming from a strange channel name
Rails Solved • Asked by ValentinKLN
Hello!I'm following your course "Group Chat with ActionCable" and everything works fine, except one thing: When I broadcast to ActionCable.server.broadcast "rooms:#{message.room.id}", it does nothi...
2
posts

How can I send emails 30 days before the time limit in rails?
Rails Solved • Asked by Francisco Muñoz
I have a system that can send email every time I create a post, but I also need to notify 30 days before the expiration date through email, as you may know, the expiration date is variable and I co...
7
posts

Issue with multiple URL's on an Ubuntu/Apache2/Passenger machine
Servers Solved • Asked by spacerobotTR
I have a linux machine that I put together within my organization for Rails applications. I have my first site all set up and working. I am now trying to add a second site/URL to the box and for so...
2
posts

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.