How to create many subcategories in rails?

1
Rails
Without using any gems how do I do this in rails? I see the gem Ancestry (https://github.com/stefankroes/ancestry) ``` Main Category Sub Category Sub Category Sub-sub Category Main Category Su...
Solved

Sending Emails with Rails in Production using Postmark Discussion

0
General
Is there a reason why we add the key to production.rb as opposed to application.rb like the docs say?
Red Hendery posted

Episode on GraphQL

15
General
Hi Chris, Do you have any plans for an episode on Rails + GraphQL ? I'd love to see your take on it, and see what exactly we're missing :)
Álvaro FA Araluce replied

Link_to show rendered in terminal before clicked is normal?

2
Rails
I create a new project and when i pass the pointer over the link_to, i see in the terminal like an i clicked. This happen in every new proyect created, this is a normal function or how can i solve ...
NellyAurora replied

Integrating your own css doesn't work with Rails 7.1.2

1
CSS
Hello, I use Rails 7.1.2 and Ruby 3.0.2. I wanted to include my own css. It doesn't work. The following errors occur: Sprockets::Rails::Helper::AssetNotFound in Pages#index The asset "custom.css" ...
Enow B. Mbi replied

MailTester Ninja email checker into my Node.js application ?

0
Javascript
Hey everyone, I'm relatively new to Node.js and I'm working on a project where I need to verify email addresses. I came across mailtester.ninja which seems like a great tool for this purpose, but...
John Connely posted

Ruby Debugging with Strace Discussion

1
General
Jump to 14:02 to see how Strace works
phanilkumar replied

Deploy Ubuntu 22.04 Jammy Jellyfish Discussion

46
General
Thanks a lot for this step by step guide! Anyway, I'm facing a problem with Passenger. After deploying the app, I see this in the nginx logs: Error opening '/home/deploy/my_app/current/Passengerfi...
Hamdan M replied

Better Debugging With The Ruby Debug Gem Discussion

9
General
Thanks Kylo Ren!
davidlbean replied

Adding GitHub Actions CI/CD to the URL Shortener Discussion

1
General
Your post has provided me with a lot of knowledge that is really helpful to me. I can't express how grateful I am. Thanks
hje replied

Deploy Ubuntu 16.04 Xenial Xerus Discussion

0
General

What is the proper way to do form validations in ruby on rails on the client side ?

0
Rails
I am new in rails, how can i do the proper form validation from the client side .
Ajay yadav posted

Can we use import maps along with jsbundling in rails 7?

0
General
We are upgrading the app from Rails 6 to 7. i want to use JSbundling and import maps together
Syed Toqeer Abbas posted

How do I start from the very beginning?

1
General
I want to start from the beginning so as to understand everything very well with ease. But I am confused because I think the courses are not arranged accordingly.
Chris Oliver replied

devise invitable gem

0
Gems / Libraries
when i click on this new_admin_invitation_path url then im getting 401 unauthorized error and then redirected to the sign up page.
nikhil kumawat posted

Inviting Users with devise_invitable Discussion

46
General
What made you laugh at 7:25? Is that a bird?! When do we get meet her/him? :)
nikhil kumawat replied

Rails for Beginners Part 33: Twitter API Discussion

16
General
I may have missed something during the initial configuration but I had only set read permissions for the app so the .update(body) method was obvisously returning Twitter::Error::Unauthorized (Read-...
vocal keny replied

Refactoring Local Variables To Methods Discussion

0
General

Setup Ubuntu 14.04 Trusty Tahr Discussion

0
General

Extending Rails Associations with Custom Features Discussion

0
General
Great video! I see the point in the first example where just the User needs to know about the client projects, but if you're creating a module and extending it through different classes, why not ju...

Learning Ruby on Rails? Join our newsletter.

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