Skip to main content
Gravatar
Incorrect setup for Model associations
Databases • Asked by Masud Hossain
I feel these associations are incorrectly set up. It's a bit similar to Trello, except I'm adding in a 'client' model too. The main part that's confusing to me is the fact user.rb, it's just buggin...

Gravatar
What could be the best way to deal with addresses in terms of database structure and perfomance?
Databases • Asked by Carlos Orellana
I'm creating an app for my company. In that application there are a lot of addresses because for Owner, Store, Landlord, etc needs to have address. At first I was thinking to create separate mod...

Gravatar
Form ajax upload to s3
Rails • Asked by Francisco Quinones
Hi!, So I have a form that was using ajax to post the data to the server, then I add it a img file and the process was taking to long so now I want to do direct upload to s3. https://gist.github...

Gravatar
Looking to upload files to local file storage on server. Recommended best to handle multiple?
General • Asked by Christopher Stewart
I am looking to upload multiple files to local file stoarage on a server. They could be images, excell files, pdf's, .dwg etc. Do I need to somehow declare what type of file is being uploaded o...

Gravatar
How do I use .vue (single file componenets) with rails 5.1 and webpack?
Javascript • Asked by Chris Collinsworth
I've been struggling with this for several days now and I can't get the component to render any data. ``` <template> <h1>{{ greeting }} World!</h1> </template> <script> module.export ...

Gravatar
Chartkick doesn't load on Heroku?
Gems / Libraries • Asked by Adrian DeGus
I setup a few charts in my app using Chartkick, which work fine in development but not in production. I have the same "Chartkick is not defined" issue as this guy https://github.com/ankane/chartkic...

Gravatar
Uploading a lot of videos and storage
General • Asked by Haroon
Just a general question here, hope someone can advise. I am going to allow a whole load of vidoes to be uploaded onto my site ~ 1k. I am already storing images and other uploads such as vidoe...

Gravatar
Advice on implementing a template system in Rails
Rails Solved • 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...

Gravatar
Limiting filesize upload when using Shrine + AWS S3
Rails • Asked by Masud Hossain
I built my file upload using Chris's guide (https://gorails.com/series/direct-uploads-to-amazon-s3), and i'm trying to figure out a way to increase limit the upload size of each file. Right now it ...

Gravatar
How do I prepopulate table data for a new registered user?
Rails Solved • 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...

Gravatar
[Hatch Deployment] - Cannot bundle commonmarker due to cmake
Gems / Libraries Solved • 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. ...

Gravatar
Are there any WORM (write once, read many) data stores that integrate well with Rails?
Databases • Asked by Chris Zempel
I've gotta store a bunch of events, which are snippets of data that contain information about a thing that happened inside the system I'm working on. I'm building out audit trail, which could poten...

Gravatar
PDF Receipts not working
Rails Solved • 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...

Gravatar
Stripe - Question about canceling accounts
Rails • Asked by Adrian DeGus
I just finished following the screencasts on setting up Stripe, everything went well! I have my app setup to cancel accounts `:at_period_end` so that subscribers can continue accessing content t...

Gravatar
How to deploy in Google App Engine?
Rails • Asked by Jorge Dominguez
Hi there Guys! So its possible to get a video tutorial on how to deploy a Rails App in GAP?

Gravatar
Capybara is sending HTML format on request instead of JS
Testing • Asked by Zubin Teherani
The feature works perfectly on the browser, however on the tests when Capybara clicks the submit button the request is processed as an HTML: `Processing by SearchController#index as HTML` Inste...

Gravatar
From where to start for developing a Shopify application?
Rails • Asked by Haytham Eghbariah
Hello, First of all thank you Chris for supporting students like me with so limited budget! I'm really happy to be part of this community. I'm a Java programmer, and I know basics of Ruby, and...

Gravatar
Spell check
Site Feedback • Asked by Rails Addict
Hi, it seems that spell check only works for title not for the body of posts.

Gravatar
Screen Capture For GoRails Videos
General • Asked by Rails Addict
Hi, i was thinking of making an udemy video and was wondering what software is used in the gorails videos or if anyone has any suggestions? i also want to be able to use a tablet to write on the sc...

Gravatar
how do i display search results
Rails Solved • 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...