How do i make a Courses - Chapter - Lesson Nesting!?

0
Rails
Hi all, im new to Ruby on Rails and new to GoRails. I try to connect 3 tables. My Models: **Course.rb:** class Course < ApplicationRecord has_many :chapters has_many :lessons, through...
Corlett Nils posted

Getting NoMethodError while calling method from Model_name.rb

0
Rails
I am testing a model class method from 'rails console' called "progress" which is inside class 'Okr' as 'Okr.progess'. But getting NoMethodError (undefined method `progress' for Okr (call 'Okr.conn...
deepkhajanchi posted

Using the Freshdesk/Freshdesk Widget with Turbolinks

0
Rails
Hello, I’ve been using the Freshdesk widget on my production app for a while now. I want to be able to pre-fill a user's email address as well as automatically set the ticket priority for my paid ...
Nadia posted

How do I implement advanced search?

0
Rails
Hi all, I'm currently working on re-building a search feature, we have a basic search and an advanced search, I have a basic text search form working for the name, however, I can't seem to get an ...
Ben John Bagley posted

Trying to understand Redirect back to current page after sign in, sign out, sign up, update DEVISE

0
Rails
I am aware of these guides: - [https://github.com/heartcombo/devise/wiki/How-To:-[Redirect-back-to-current-page-after-sign-in,-sign-out,-sign-up,-update]](https://github.com/heartcombo/devise/wiki...
Leon Entrup posted

How do I listen for dropdown changes in a collection_select field using Stimulus?

1
Rails
I found this issue on SO which pretty much is my issue: https://stackoverflow.com/questions/63964037/cant-make-stimulus-js-data-action-in-collection-select-rails-6 But I can't make that solution w...
Nicolás Kruk replied
Solved

How do I access the Google Adwords API to build custom reports for my clients.

3
Rails
Hey! Just looking to learn how APIs work - and how I can access the Google Adwords & the Google Analytics APIs to get data from them and create custom reports for a client. New to APIs - so jus...
DartManson replied

How do I filter records through other models

1
Rails
Desired result: I want 2 things: In my list of aggregation links I want to be able to add the aggregation of property characteristics (e.g., properties with a balcony), property type (e.g., villa...
Owen replied

Storing access/refresh tokens for application level API

1
Rails
I am working on an application that integrates with Keap (a CRM). The integration with Keap is at the application level in that it only connects to one Keap account, and isn't a connection per user...
RJ McCollam replied

Rails 6 webpacker with theme implementation error.

0
Rails
I am creating one rails application with the latest version 6.1.3 and ruby version 2.7.2. I have one old theme and I want to integrate it into my application. But somehow I can not able to integra...
bhadresh chotaliya posted

How to disable TURBO_STREAM for the `form_with` helper?

1
Rails
I want to incrementally start Turbo on my app but when I enabled it it has broken all my forms. How to disable it from `form_with` in order to be able to incrementally update my app?
Pedro Fernandes Steimbruch replied
Solved

Rails 6 + typeahead.js

1
Rails
Rails 6 + typeahead.js this is real?, it doesn't work for me
0agautam replied

How to resolve 403 Forbidden error when rendering sign-up view for admins?

1
Rails
Is there a way to resolve 403 Forbidden error when rendering a sign-up view for admins? This issue does not happen to the user sign-up views. I am using Rails 6.0.3.5, Ruby 2.7.1 and Devise 4.7.3....
Alfred Montalvo Jr replied
Solved

Question about SQL Queries and my routes

0
Rails
## Hello I'm a beginner on Rails and I have questions about my forum project. I have some Categories which can contain many Themes. And Themes can contain many Topics Here is what I want with m...
Neb19 posted

Rails ActiveAdmin reset password token is invalid

0
Rails
I have a Rails API with ActiveAdmin, using this tutorial as a base to get started: https://blog.heroku.com/a-rock-solid-modern-web-stack When a user chooses the 'Forgot your password?' link in the...
Terence Devine posted

How to Reduce Ruby on Rails Maintenance Cost?

0
Rails
Need to know how can one reduce ruby on rails maintenance cost.
Katy Slemon posted

How do I send Stripe payment invoice only for paid subscribers not trial subscriptions.

0
Rails
Hi, im new to RoR and I have a working system that is sending invoices via email. But I would like to exclude trial subscribers from getting the $0 invoice in their email. Payments being handled wi...
Fungayi Makoni posted

Rails install error

0
Rails
Hello, I am using the Ruby version 2.7.2 and while installing rails I got these error - ERROR: Failed to build gem native extension. So, please can anyone help me. Thank you, Neha
Neha posted

Rails 6.1 Active Text Javascript errors

0
Rails
I am making an article section in my Rails app. For this reason I thought Active Text would be a good idea. I have added it as per the Rails Guides as per https://guides.rubyonrails.org/action_text...
Tom Dringer posted

Rails App configurations for AWS CodeBuild

1
Rails
I have a rails application that is deployed on `AWS EC2 instance` with `CodePipeline`. I have added the `Build` stage in the pipeline using `AWS CodeBuild` to build test my code. I have no idea ab...
skooby replied

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

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

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