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

How do I use easyautocomplete in rails 6?

7
Rails
I tried adding it with yarn and through rails assets but nothings seems to work.
Solved

Nested Forms Tutorial: How do you display the Tasks in the Project Index and Show Views?

2
Rails
I am trying to display the Tasks on the Products#index and get Type Error in Projects#index "can't cast Enumerator" How can I display attributes from tasks on the Products views? Here's my code...
Solved

How to stay strictly in Ruby ?

1
Rails
Hello, I'm a newbie at Rails. Let's say I have this simple form: <%= form_for @article do |f| %> <%= f.label :title %> <%= f.text_field :title %> <%= f.labe...

Routing for Admin area not working

3
Rails
I've got an application that makes use of an admin area for managing Articles on the frontend. Its a simple CRUD app where pretty much everything Admin related is namespaced and inside admin folder...
Solved

Learning Ruby on Rails? Join our newsletter.

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