Honest opinion needed

2
Rails
Hi guys, I'd love to learn more on ROR and it appears this is a really comprehensive site, but a lot of the content seems rather dated. I want an honest opinion on whether a subscription to this s...

API HTTP Requests using Faraday Discussion

7
General
One question I have, there is no retry option given. Does it makes sense on original implementation to leave the retry out? We are trying to make the code as robust as possible and in case of timeo...
computer_smile replied

Unable to create the Rails app in WSL

1
Rails
Hey, I am getting these errors while creating the app in WSL. Please help to fix it. Would be very much appreciated. **Error Images** https://uploads.disquscdn.com/images/b39eba240df8adcde8fc0b3ae...
Chris Oliver replied

How do we show dynamic data in .erb file like from a json file?

0
Rails
I have a view file index.html.erb in my view folder and there I am showing some data in the form of Table(bootstrap table) and this is a static table so I had to write so many lines of HTML for thi...
theshashiverma posted

Debugging need help

1
Rails
Hello Is there a method to debug hosted ruby on rails application and check the request and response object

Login with Facebook Discussion

30
General
Thanks for the video—it was great! I would love to see how you'd approach managing multiple OmniAuth strategies for a single user without Devise.…

root pages#home or root index#post ?

0
Rails
Hello everyone :) **Thank you for these tutorials!** I am a beginner on Ruby on Rails and I have a small question. I am currently creating an application allowing me to list my posts with an upv...
Clyde posted

Youtube text transcription

1
Rails
Hello, i'm wonder if there's a way to get the youtube caption text after being autogenerated by youtube itself? Thanks a lot, @Carlitos
Miguel replied

How do I iterate over an array of nested hashes in a view?

7
Ruby
I have an array that has nested hashes of months, years and amounts that I want to diplay in a table. My data is in this format: [{:month=>"January", :years=>{2017=>20, 2018=>100, 201...
Jacob Montgomery replied
Solved

Multiple Rubies using Rbenv

4
Ruby
I'm having total brainfog right now with rbenv, so please excuse the newbie question. I have rbenv installed and my global ruby install is `1.9.3-p194` which I've developed multiple apps in. I'm ...
shakycode replied

Black Friday 2024 - Sales on GoRails, Courses, Jumpstart, SellRepo! 🎉 Discussion

3
General
This is awesome! I have annual contract with Jumpstart pro starting from last July. Do you prorate the billing if I switch to Black Friday Sales? (I am also switching to annually for Gorails!) Rea...
jack lin replied

Strings in Ruby Discussion

9
General
Thanks for this lesson
A. replied

Looking for advice on how to setup a relationship.

7
Databases
I'm trying to figure out the best way to setup relationships between models which allows users to publish saved content from multiple models. **ExampIe:** I have a **Post** model which allows use...
Solved

Where to read about changes between Ruby versions?

1
General
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 v...
Chris Oliver replied

Where do this code go? (Refactoring Rails Workers)

5
Rails
Hey! I have two different workers ``` #app/workers/website_worker.rb class WebsiteWorker def perform(website) do_this_action(website) end def do_this_action(website) ... end ...
Arjun Rajkumar replied
Solved

i'd like to replace ransack with elasticsearch.

2
General
How would I go about that? There are plenty of elasticsearch gems, I don't know if i need something specific or can use a generic elasticsearch gem. I'm going to use the Bonsai Elasticsearch addo...
Joe Guerra replied

Add paywall functionality to app

3
Rails
I would like to offer people x views of certain pages then prompt them to pay for access. I was looking ot use this gem acts_as_paywall - https://github.com/BarefootCoders/acts_as_paywall but wante...
John Sanchez replied
Solved

A series on Turbolinks 5

3
Site Feedback
Reading through the Turbolinks 5 documentation, there are mentions of several use cases, like eg. in the Making Transformations Idempotent sections (but there are more). It would be great if you co...
Adam D replied

Rich Text Blog Posts with ActionText Discussion

18
General
Hi Chris, thanks for the video. I was wondering how do I truncate the text on the index.html page? I only want to show 130 characters of the content (previously body). <%= truncate(blog_post.c...

Javascript not working in production

5
Rails
I am using Rails 7 with importmap, everything works fine in development, but in production none of the javascript works. Specifically, my channels files are of the "wrong MIME type" giving a 404, ...
Derek Hobson replied

Want to stay up-to-date with Ruby on Rails?

Join 91,129+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.