Skip to main content
How to import data with many associations?
General • Asked by Daniel Weaver
I have an upcoming situation where I'll be importing a lot of data with many associations into a Rails app. The data will show the links between the objects using the original native database IDs....
4
posts

Multitenancy with Apartment Gem
General • Asked by Tejas Patel
Hi Chris, I am using Postgresql and apartment gem and my database has many views and functions. so I am using config.use_schemas = true config.use_sql = true to use pg_dump but when I run...
9
posts

User Referral Program From Scratch Discussion
General • Asked by Chris Oliver
Just the thing I was needed for a current project, as usual, perfect timing Chris !
13
posts

@mentions for Users with ActionText in Rails 6 Discussion
General • Asked by Chris Oliver
This is a great video. Is it possible to remove jQuery if you are using Bootstrap 4? I know it's a dependency but maybe if you are not using all aspects of Bootstrap you can remove it. Anyway...
9
posts


Parsing a Ruby hash sent to a Javascript API
Javascript Solved • Asked by Daniel Weaver
Sending data from Rails via HTTParty to a Node endpoint: `params = { str: "word", bool: true, hash: { number: 123 } }` `result = HTTParty.get("http://localhost/test.js", query: params)` It w...
2
posts

Is this a good fit for storing JSON in database?
General Solved • Asked by Daniel Weaver
I've got a Video model that represents a video created by the user. During creation of a video a couple of filters with different options can be applied to the video. Currently only 2 but I'll be a...
3
posts

Exporting Records To CSV Discussion
General • Asked by Chris Oliver
Is there some magic happening when you call @users.to_csv ?? As I understand @users is an ActiveRecord::Relation, how is the method 'to_csv' sended to the User class ??
58
posts

Authorization with Pundit Discussion
General • Asked by Chris Oliver
It is really helpful. I've also seen CanCan. But I'm little bit confuse, which one should I use? Do you have any suggestion? Beside this I've a request that it'll be very helpful, if provide a vide...
28
posts

Any news on the install Rails on Catalina guide?
Rails • Asked by Alan Reid
I have noticed that macOS Catalina moves to ZSH as the default shell, would be cool so get an update on the install rail guide to show this off :)
3
posts

Where to read about changes between Ruby versions?
General • Asked by Daniel Weaver
Tips for updating Ruby versios? Is there somewhere to look for human-readable changes made between Ruby versions? I've looked at the Github diffs between Ruby versions which is fine but it's not...
2
posts

Refactoring CSV Uploads with ActiveModel::Model Discussion
General • Asked by Chris Oliver
Awesome episode, Chris! Would be nice to continue with moving CSV parsing to a background job and adding ajax progress bar to provide visual feedback on import progress
14
posts

How do I migrate apartment gem to Heroku correctly?
Rails • Asked by Amie Fudge
I've implemented the apartment gem and am able to run it in my local environment. However, when I deployed to Heroku, the site won't load and I get this error in the logs `Apartment::TenantNotFoun...
5
posts


Where is the search bar?
Site Feedback • Asked by Taras Danylak
There is no search, I can't search for episodes. Browsing is a good option but takes loong.
5
posts

How to send SMS Messages in Rails with Twilio Discussion
General • Asked by Chris Oliver
Great intro! We use Twilio to send SMS notifications to our users. Question - I set up the Twilio client in an initializer. Is there any advantage to this over setting it up in the Twilio servic...
3
posts

I joined GitHub Education
Tips Solved • Asked by Nicolás Bobb
I joined GitHub Education. How can I validate the account in Gorails to take advantage of the benefit?
2
posts

Suggested changes to Ubuntu 18.04 documentation
Site Feedback • Asked by Zachary A Skaggs
I am totally new to Ruby and started with the installation documentation here (https://gorails.com/setup/ubuntu/18.04) on a totally fresh install of Ubuntu 18.04 LTS This isn't a complaint, I wa...
5
posts

Rails loading time
Rails Solved • Asked by Hagi lerman
1. I just installed the a new rails version 6 and using ruby -version ruby 2.6.3-p62. I create a new 2. project 'rails new my_new_app' 3. bundle install 4. rails server ![rails respose time...
1
post

ActionText remove attach file button from Trix editor
General • Asked by Alex Deering
Is there a way to prevent the attach file button in the trix editor for ActionText? I mainly want the formatting ability for things like bold, italics, number lists, etc. But do not want the atta...
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.