Skip to main content

Community

Subscribe to GoRails to join the conversation. Ask questions about your code, get help adding a new feature, and discuss implementation details with other members.

6 posts Gravatar

Advice on implementing a template system in Rails

Rails • Asked by Jamie Carr

I am currently building a Rails app that allows users to create and manage projects. Within these projects are different groups and tasks which are of course associated models belonging to the proj...


3 posts Gravatar

How do I prepopulate table data for a new registered user?

Rails • Asked by Alex R

I'm wondering how would one go about prepopulating certain data table for a new user? Let's say I have a table with posts and a table with likes, and when new a user registers I'd like to make it s...


3 posts Gravatar

[Hatch Deployment] - Cannot bundle commonmarker due to cmake

Gems / Libraries • Asked by Lauro Silva

Im using commonmarker for the HTML::Pipeline::MarkdownFilter. And when trying to deploy my app, I get this exception: ``` Gem::Ext::BuildError: ERROR: Failed to build gem native extension. ...


5 posts Gravatar

PDF Receipts not working

Rails • Asked by Adrian DeGus

I just finished working through the pdf receipts video but can't get it to work. I have the webhook working and all charges are displayed properly, but the link to the pdf 404's. Can you see whe...


2 posts Gravatar

how do i display search results

Rails • Asked by Neil Patel

Following on from my prev question regarding implementing search using the geocoder gem [https://gorails.com/forum/how-do-i-implement-search-by-postcode-zipcode-using-the-geocoder-gem] I have i...


3 posts Gravatar

how do i implement search by postcode/zipcode using the Geocoder Gem

Rails • Asked by Neil Patel

Building a small rails app that is able to search by postcode(zipcode) and radius, so it responds with contractors that are within that radius/postcode **schema.rb** create_table "locations", f...


2 posts Gravatar

Add to Favorites: using same controller/action and js.erb files for different views

Rails • Asked by TemporadaLivre

Chris I'm a new subscriber and I'm loving Go Rails. The content is really usefull for real-world applications. After implementing the "Like" feature in my website, I came across a doubt that ke...


2 posts Gravatar

How do I install bootstrap-v4 via yarn?

CSS • 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...


4 posts Gravatar

Extend Sprockets to bundle mustache templates

Rails • Asked by Alex Musayev

I'm trying to include some Mustache templates into the main JS bundle. The idea is to take `/app/templates/*.mustache` files, generate a JSON object, and set a window-level variable, like this: ...


3 posts Gravatar

Is there a torrent or similar to download all episodes?

Site Feedback • Asked by Mark Schewe

Hello, in the next month I will go on vacation. There is only very slow internet access and I want to use the free time to refresh my Rails knowlege. I know, I should just relax, but learning s...


7 posts Gravatar

Simpleform association with images!

Rails • Asked by Martin McDermid

Hi Chris, I'm wondering if you could help. I'm currently building a form that'll send out a SMS with twilio, and i'm looking to send details of a vehicle out at the same time, specifically the i...


7 posts Gravatar

[HATCH] - Deleting separate applications on the same server?

Databases • Asked by Lauro Silva

I've been deploying several toy apps on the same server, but after I'm finished with them I would love to easily be available to delete them using Hatch's interface, instead of having to SSH into t...


2 posts Gravatar

Bootstrap 4 modal form in rails disables submit button on ajax refresh

Rails • Asked by nynhex

I've been struggling with this all day. Please see the link below. [Bootstrap 4 modal form in rails disables submit button on ajax refresh](https://stackoverflow.com/questions/44489517/bootstra...


3 posts Gravatar

How Do I Create an App Where Each User Has A Separate Table

Databases • Asked by Vikram Sharma

Hi, I want to create a web app which is a simple HR SaaS. Each user/company which registers will have get a separate table to upload list of employees. In terms of autorization a user/company ca...


4 posts Gravatar

Uploading a file from remote url using shrine?

Gems / Libraries • Asked by Roy Zinn

Hi, I need to upload a remote file to my S3 bucket (e.g., I get a link to a pdf e-ticket and I need to upload it from its location). In addition (as a bonus) what's the best way to allow users to ...


2 posts Gravatar

How to build options on select tag with VueJS?

Javascript • Asked by Dmitry Amelchenko

For example, let's move to episode "using VueJS for Nested Forms in Rails" and adding model called Position, which association with a Player (belongs_to). And how to implement select tag for choos...


2 posts Gravatar

Using elasticsearch/searchkick to run a search bar via my navbar and show results in a search.html not index.html?

Rails • Asked by Omar Khedr

I just finished going over Chris's two great railscasts dealing with search. However, I wanted to put my search bar on my navbar so that whenever someone searches the results I will be taken to my...


2 posts Gravatar

Finding Users in Group Chat Go Rails Class

Rails • Asked by Omar Khedr

Hi guys, I went through Chris's Go Rails course on Group Chat with Action Cable and learned loads from it. One of the things that I need some help with though is being able to find all the chatr...


8 posts Gravatar

Hatch: Deploying my first App

Servers • Asked by Nick McNeany

Hey Chris, I was playing around with Hatch last night and it's really cool, awesome work! I am having a little drouble deploying though. I'm getting this > Git clone failed > > This u...


2 posts Gravatar

Do I have to publish the source code of a commercial app if I use a GPL licensed gem like prawn?

General • Asked by Drilon Buzuku

Hey Guys, do I have to publish the source code of a commercial app if I use a GPL licensed gem like prawn? Cheers, Drilon