Tutorial on verifalia gem

2
Rails
Having trouble setting this up on my Rails 7 app. A tutorial would be very helpful! Some goofball is using a bot to clog up my db with fake users. I've got him throttled to one a day, but it's quit...
Cassandra Pace replied

Devise multiples scopes

1
Rails
Hi !, i'am using devise in rails, and i want to use devise for multiples scopes such as User, Member, Partner, etc..., But i would like to separete them both into diferents models, and there contro...
Jacqueline Lavender replied

What are the best practices for generating SEO friendly urls in Rails 5?

7
Rails
What is the best way to generate SEO friendly urls? The Rails default is to put the id in the URL e.g articles/2 I want to be able to have a url like this articles/article-heading Previously I...
William Kennedy replied
Solved

Stripe Connect setup with Pay gem

2
Rails
I am setting up a payment pathway in my application to accept and pay other users within the platform, but there is an extra step to this. A User belongs to an Organization. user belongs_to :organ...
Cal Findeiss replied

New to Ruby

2
Rails
hi all iam new to ruby ,so where should i start , pls suggest me
cjilbert504 replied

need help with buffer clone app

1
Rails
DEBUG -- omniauth: (twitter) Request phase initiated. I get this above line when I press the Connect Twitter button.
Arnab Mondal replied

How to load jquery and other vendor js & css files through importmap in Rails 7

0
Rails
Hi, I am trying to re-building a website using Rails7 and Bootstrap4, which was already developed in Rails5 and Bootstrap3. I have faced some problem of loading jquery and css files. I followed the...

rails API -> structuring JSON - best practices

1
Rails
Is there any better alternative to jbuilder? Since fast_jsonapi is no longer maintained, what is the current 'best practice'? jb?
Esti Alvarez replied

Not all ActionCable broadcasts broadcasting

2
Rails
I have an app that successfully has ActionCable implemented and working in production on Heroku. We recently added an additional broadcast, but this wont broadcast no matter what I try. Each user...
RJ McCollam replied

Curious about the opinions for others about the ease of managing javascript/styling with Rails 7.1

0
Rails
Are things working as you expect? Does anyone have any experience moving from Webpack to esbuild or importmaps? Have you done this with a non trivial application using various javascript libs and s...
Doug Mathews posted

Integrate ActiveStorage to existing association system

0
Rails
I have attachment system inplace and thinking to integrate active storage with existing associations, I have polymorphic association and had_many through association, where as active storage using ...
sam posted

Ping external website

2
Rails
What's the best way to do a ping with IndexNow like : https://www.bing.com/indexnow?url=http://www.example.com/product.html&key=8baa3838e2774b34aaae330c5bfee7c4
formalexclusive replied

Recording pattern (Basecamp 3)

7
Rails
Has anyone tried to unravel the recording pattern used in Basecamp 3 ? You can find breadcrumbs in the "On Writing Software Well" video series (https://www.youtube.com/playlist?list=PL9wALaIpe0Py6...
Patrick replied

Devise - How do a logged in user change the password

1
Rails
HI, I am new to Rails. I am looking for your kind help to implement change password option for a logged in user. I do not want to use registrable option as, these users are created by admin and wan...
Surej GANGADHARAN replied

How do I give Users the option of either selecting from a dropdown menu or inputting their own and adding it DB for other users

3
Rails
I apologize for the newbie question. But, I've been trying to create a special type of association and all my efforts have been failing. I would like to give users the ability to select their home ...
Solved

Action mailer rails 6

2
Rails
Hey Chris, cannot send email from console using UserMailer.welcome_email.perform_now, geting this error ``` Traceback (most recent call last): 1: from (irb):3 NameError (uninitialized con...

How to email @mentioned users (from ep #288)?

1
Rails
I followed ep #288 and set up ActionText @mentions. Is there a way to automatically email the users who are mentioned?

undefined method `service_path' when adding best_in_place

1
Rails
I have an application that has customers and services. Customers has_many services and service belongs_to customer. In the customer show page, I can add or delete services. But I can not edit servi...

Update and limit the number of nested attributes in Ruby on Rails

1
Rails
I have a `Question` model related to `Option` model. Whenever I try to update question and related options, new options are created instead of updating an existing option. Why is it happening like ...

I'm having issues with in-app notifications on my App

1
Rails
Hello! Can someone please enlighten me on how to create notifications (In-app) for this type of routes I want to display notifications when comments are made on episodes. This worked well when i di...
Solved

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.