Skip to main content
How to consume json in rails
Rails • Asked by David
Hi everyone, it turns out that I have a course in udemy and I want to consume it in my app in rails to be shown in the course view, the documentation of udem and I designed that I can obtain them t...
1
post

rails link_to_if controller, action and format exist
Rails • Asked by Jay Killeen
I am trying to dynamically render some links to the index action on a range of controllers. Essentially just create a table of all my models with a count of their records and a link_to the index...
2
posts

Hourly Production Server Database And File Backups Discussion
General • Asked by Chris Oliver
Thank you for this! I should get this up and running on a site I run for a complex fantasy football league...I've been meaning to with Cron jobs and whatnot, but it's just such a hassle and, so far...
31
posts

How to do a incremental backup
Databases • Asked by Nithil
Hey, taking a full backup every day will be huge, so thinking of doing a full backup once in a month & incremental backups every day or so. I would like to know the best solution to achieve this.
1
post

I am looking to find a way to work through a modern image upload work flow with active storage
General • Asked by Corey Gibson
Things I am attempting to achive, 1. Attach File with a js libary such as Dropzone.js 2. Vaildate file size and type 3. Crop image using libray such as Cropper.js to achive correct image aspec...
1
post

Decorators From Scratch Discussion
General • Asked by Chris Oliver
Nailed it. Thanks again Chris - could never find a good explanation on Decorators, hence I never used them, will be sure to use them now!
17
posts

How to install Tailwind CSS using Webpacker with Rails Discussion
General • Asked by Chris Oliver
Nice addition to GoRails episode list. Would love to see more TailwindCSS with Rails videos. Also thanks for plugging your laptop power in...I was starting to panic :D
20
posts

Nested attributes permit
Rails • Asked by Sebastian Edler
Hey out there, i am sorry to bother you with my stupid question, but it is important for me, and unfortunately I am not able to find an answer myself. I have tried to conduct the documentati...
3
posts

User Avatars with ActiveStorage Discussion
General • Asked by Chris Oliver
Hi Chris, great episode. I posted a question about ActiveStorage but I have not received any response yet. Basically what i want to do is upload images for a has_many_attached directly from a contr...
3
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
22
posts

Using a Custom Constraint to Redirect
Rails • Asked by Luis Mejia
How would you set up a custom constraint to redirect in the absence of an ENV. eg: If a certain set of ENVs are missing, it would redirect you to an error page using a custom route. If the envs ...
1
post

Generic Infinite Scrolling
Rails • Asked by Ryan Carter
I am building an app that has a couple of columns and I only want one column to scroll infinitely. I am trying to hack together a gem free version, but I am a novice with .js or jquery. My ques...
3
posts

Bootstrap and Vue?
Rails • Asked by fregadetto
Which way is best to implement **Bootstrap and Vue in Rails 5.2**? Keep the original Bootstrap4/jQuery sass lineup and use Vue where it is needed or a setup with Bootstrap-Vue ( https://bootstrap-v...
1
post

Group Chat with ActionCable: Part 4 Discussion
General • Asked by Chris Oliver
As for message relay jobs matter for this particular subject of this ActionCable example, do you recommend putting down for its current_user's id or name in these kind of scenarios when it comes to...
53
posts

New Ruby/Rails site with documentation
Rails • Asked by Igor Kasyanchuk
Hello, I'm with friends we build first for us and then decided to share with all developers new website with documentation - https://www.apiduck.io There are similar sites, we know, BUT because...
4
posts

Problems with 'generate' command.
Rails • Asked by squirrool
Hello everyone, as you read in the title I have an issue with the 'generate' command from the terminal. following you will find pasted the command i am giving: ``` MacBooks-MacBook-Pro:squi...
5
posts

Machine learning in Ruby?
Ruby • Asked by Ivan Raszl
I know Python is more popular for ML, but I prefer Ruby, and I was wondering if anyone has experience using Ruby for ML projects.
1
post

How to Build a Slack Slash Command App with Rails Discussion
General • Asked by Chris Oliver
/soo nice /great job!
2
posts

Using the Trix Editor plus File Upload Attachments Discussion
General • Asked by Chris Oliver
Great vid, can this be done with the carrierwave gem?
36
posts

Multi-tenant: Different user set for different databases
Rails • Asked by Conal Beaty
Hi, I am building an application where I have a requirement for different user set for different databases. Can someone please guide me, how can I achieve that using apartment gem. I am using My...
1
post

Subscribe to the newsletter

Join 20,000+ 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.