Authenticating Blog Admin Pages Discussion

18
General
Hi, Is it necessary to add @blog_post behind the edit_blog_post_path in the last part of the video or can that be left out as well? <%= link_to "Edit", edit_blog_post_path if user_signed_in? %>
Chris Oliver replied

Searchkick - Searching Polymorphic Associations

1
Gems / Libraries
I have an activity feed (thanks Chris for the lesson) and I would like my users to be able to search the feed for search terms. The activity is created on a nested record. Is there a way to search ...
Terry Bonds 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

HTML Learning Path - Form Parameter Naming Conventions In Rails Discussion

1
General
Overall epic course on the basics of HTML Collin. Thank you for taking the time to create these videos. I was always wondering about the tag being used to break the controls to a new line. Never s...
cjilbert504 replied

How can I solve this problem?

2
Servers
ERROR (SSHKit::Command::Failed): Exception while executing on host 142.93.8.11: docker exit status: 1 docker stdout: Nothing written docker stderr: Error: target failed to become healthy
Alan Reid replied

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

Acts as Tenant with Active Storage

2
Gems / Libraries
Hello! I have been developing a multitenancy app using acts_ac_tenant. Until now it works really well but now I want to add some support for storing some files. I got a little bit confused about ho...
Andres Carvajal replied

How to Upgrade Old Projects: ActsAsTenant Discussion

6
General
Great episode!!!
Alexander John replied

Active Support Deprecation Exceptions Discussion

3
General
Thank you greatly for the useful material you provide. Hope you will always publish as many outstanding pieces as you can going forward for everyone.
Chang Kook replied

How to use jQuery & jQueryUI with Esbuild Discussion

16
General
If we're not using jQueryUI or any library that depends on jQuery, then are these lines enough by themselves? window.jQuery = jquery; window.$ = jquery;
Alex replied

Adding Custom Inputs to GitHub Actions Discussion

2
General
Have you used GitHub Action Inputs for any other cool things?
selpinka pioky replied

Migrating from Rails UJS to Hotwire: Data Method, Confirm, and Disable With Discussion

18
General
Small comment about those delete links (I really dislike using links for delete requests): when you need to put a delete button inside form, consider moving the submit button outside of the form in...
Colin Ambler replied

Deploy Ubuntu 24.04 Noble Numbat Discussion

2
General
I get this error when something is done with the kamal setup command `ERROR (SSHKit::Command::Failed): Exception while executing on host 143.198.7.66: docker exit status: 1 docker stdout: Nothing w...
Juan Alexander Rodríguez Álvarez replied

How to Upgrade PostgreSQL Version on Ubuntu Server Discussion

2
General
What does it mean if both old and new clusters are online?
Vasiliy replied

Transactions

2
Databases
If I am working on a db with millions of users and i have a job that requires updating multiple tables, what is the best way to approach this? I was thinking to wrap it in a transaction but the iss...

Autosave Draft Records - Part 1 Discussion

4
General
Just a heads up! Around 9:20, your head is covering the code you're typing. I had to rewind a couple times to go back and figure out what you were saying. Otherwise, awesome episode!
Graeme Ellis replied

Adding a New Blog Post Action Discussion

9
General
Hi Chris, i have noticed that the show action has an instance variable called @blog_post. Which is the current blog post being viewed. Why are we overwriting that variable in the new action?
Juan Francisco Gallardo Gonzalez replied

How to Configure Multiple Databases with Rails Discussion

0
General

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

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

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