Skip to main content
Is it possible to make multiple belongs_to or has_one association?
Rails • Asked by Kolbasoid
I have a table Operations with two columns referenced to Accounts. One column is called **debit_id** and other **credit_id**. Model looks like ``` belongs_to :debit, class_name: :Account, o...
1
post

How do I run / install ROR with an outdated OS system?
Ruby • Asked by jrd656
I'm new to programming/development. I have an old Macbook Air. It's El Capitan OS X - 10.11.6. I can't download the latest OS due to the age of my mac. I can't download the latest xcode due to t...
1
post

Realtime Notifications with ActionCable Discussion
General • Asked by Chris Oliver
Thanks, Chris! This is an awesome episode, you're the man!
15
posts

Redirect To Current Page After Login Discussion
General • Asked by Chris Oliver
exactly what I needed
1
post

How should I deal with lots of images?
Rails Solved • Asked by William Jones
I have a Rails app that lets users select an invoice from a list of invoices. When selected a view of the image of the invoice is displayed with an image of the customer signature overlayed on top....
5
posts

OS Mojave 10.14.5 installation failed
General • Asked by And
Yesterday update of Mojave arrived.. Since then I cannot install: rbenv install 2.6.1 (brew install rbenv ruby-build, works) How the problem can be solved ? (cleaned the the tree, but do...
2
posts

Setup MacOS 10.14 Mojave Discussion
General • Asked by Chris Oliver
Is anyone else receiving errors with MacOS 10.14 Mojave and the Mysql2 gem? I'm also getting a "Library not loaded: libssl.1.0.0.dylib (LoadError)" error when executing "rails server". Thanks!
15
posts

ActiveRecord/Routing madness
Rails Solved • Asked by Nelson Casanova
I'm not sure whats happening here, I feel like I've done this successfully in the past but for some reason my app is crashing all over. This is quite simple. Ive got a model `Employees` and it h...
2
posts

Deploying To Production on Heroku with Puma Discussion
General • Asked by Chris Oliver
So chris im using this on my db.yml fileproduction: <<: *default host: xxxxxxx database: xxxxxx password: xxxxx port: xxxxxx username:xxxxxon your video you paste this codeproduction:...
18
posts

Help
Ruby • Asked by Iaininio
Implement a Ruby method can_you_vote? that returns true or false depending on the given age. This method should take one arguments (age), an Integer, and return a Boolean(true/false). can_you_v...
2
posts

How do I use javascript in assets/javascript with HTML
Javascript • Asked by jon
I am completely new to Rails...sorry. I have a simple application. I want to detect when a field changes and in a form_with block in a new.htlm.erb file and execute pure javascript code in the ass...
1
post

Commontator with Trix
Gems / Libraries Solved • Asked by Nelson Casanova
Good day robots, I'm trying to implement the Trix editor as the default editor for Commontator's comments. The default Commontator view is defined as follows in `app\views\commontator\comment...
2
posts

Add dump.rdb to .gitignore?
Rails • Asked by Daniel Weaver
I just bootstrapped a Rails app with the basic Jumpstart template (amazing work! 🙌) and I see a `dump.rdb` file was generated in the app root directory. I assume this is from the runnign Redis i...
1
post

Anyone had experience with Wasabi Cloud Storage?
Tips • Asked by Ryan Carter
They claim $4.99 per TB/month with no API calls and Unlimited free egress, Amazon S3 API support, 6x faster than AWS S3, and they work with a couple different CDNs. This seems like a fantastic ser...
3
posts

Sorting Images using Active Storage
Rails • Asked by Tony Serkis
I'm experimenting with Active Storage to manage images. I got the multiple uploads working, but I want to use acts_as_list position with jQuery sortable to manage their order using ajax, like in [t...
4
posts

Sortable Drag and Drop Discussion
General • Asked by Chris Oliver
Just a heads up, in your Gemfile, bootstrap 4 beta no longer uses tether for tooltips, now uses popper.js which is now a dependency of the bootstrap 4 gem
25
posts

Learn Apache Spark
General • Asked by Arjunkumar
Hello Everyone, I don't know this right place or not to ask the question about apache spark. So if anyone suggest me the easy way to learn spark its good for me or can anyone suggest me is apache s...
2
posts

Thoughts on Rails 6, is it ready for production?
Rails • Asked by Alan Reid
Hey all, So i thought i would pose the question and get other users views on Rails 6. So we are still on RC1, its been like this for a while now. I am curious to know others views, and experience...
3
posts

Rails app integration with Salesforce REST API
Rails • Asked by Rahul Kumar Srivastava
I want to map rails application data element to salesforce data element
1
post

Dependency Inversion Principle Discussion
General • Asked by Chris Oliver
Thank you for these quality episodes. We definitely want to see more episodes like this. It would be nice to see them how they are applied to real-world projects. How to create the folder structure...
7
posts

Subscribe to the newsletter

Join 22,346+ 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.