Search Results for "how-to-delete-message-in-chatroom-that-belongs-to-current-user"
Lessons
Forum Threads

Action cable - How to delete message in chatroom that belongs to current user?
0
Rails
I've tried to use if else statement, and display a link next to the message, when I submit a message, the link won't display, and I have to refresh the page. It seems like if else statement doesn't...

Group Chat with ActionCable: Part 7 Discussion
30
General
Hi! response for the new userundefined method `last_read_at' for nil:NilClass for Chatrooms#show how to solve?
FX replied

Group Chat with ActionCable: Part 4 Discussion
69
General
As for message relay jobs matter for this particular subject of this ActionCable example, do you recommend putting down for its current_user's id or name in these kind of scenarios when it comes to...

Dynamic nested forms with Stimulus *and* has_many :through relationship
4
General
Hi team,
I've been following along with the [Dynamic Nested Forms with Stimulus JS](https://gorails.com/episodes/dynamic-nested-forms-with-stimulus-js?autoplay=1) lesson, but I've been attempting ...
David McDonald replied
Solved

In-App Messages Between Users Discussion
25
General
Great episode Chris!Can't wait to get into the more advanced stuff.Thanks!

How to add Notifications to Rails with Noticed Discussion
35
General
Awesome gem, I had been thinking on how to integrate all types of notification from rails app, from web notification, emails and Push Notifications. I guess Push Notification is just an API call (f...
Alan Kirk replied

Deploy Ubuntu 18.04 Bionic Beaver Discussion
77
General
Thanks btihen! I'll get the tutorial updated for its changes shortly!

In-App Navbar Notifications Discussion
55
General
Thank you thank you thank you!
Ken Hibino replied

Advanced Mailboxer: Multiple User Conversations Discussion
18
General
Cool music entrance :) Great video of course.
Carl Tanner replied

How do I access files on server with a cron or similar ? (outside of app)
17
Rails
Hi everyone, i'm a bit new to rails and i'm searching for help.I have a rails app where I receive a zipfile on my server (outside of the app, homedir of new FTP user).Then I want to unzip the files...
Jacob Montgomery replied
Solved

Validation Errors Not Showing in Views
1
Rails
I have an app where I got the CRUD functionality working and I added some AJAX to learn how to use it. I changed a class to use AJAX for the delete, edit and show views from the index view. That ...
Drew replied

Rails for Beginners Part 14: Handling Sign Up Errors Discussion
39
General
Love these Chris, noting some new tricks along the way. Plus your always positive demeanour makes this so enjoyable to go through.
Michael replied

Drag and Drop sortable lists with Rails & Stimulus JS Discussion
22
General
Chris, thank you so much for this! I was actually going through the old drag and drop tutorial yesterday and today to update it for Rails 6.
I seem to be having an issue both with this tutorial an...
Reece Jones replied

How to use Sweet Alert to replace standard confirm dialog
9
General
I'm trying to use Sweet Alert to replace the standard Rails confirm dialog. I can get it working in a plain new Rails app but not in my production app.
I'm using the *sweet-alert-confirm* gem here...
Sbstn replied

How to use Devise with Hotwire & Turbo.js Discussion
81
General
Hey Chris - If we are still using Webpacker, we just need to change data-turbolinks-track to data-turbo-track in our layout files? In your episode repo, you still have it as turbolinks.
<%= st...

Host sets website root to rails 6 public folder... why?
0
Servers
Hello.
My host service sets website root at my rails 6 app public folder.
This results in rendering the static public/index.html instead of root 'pages#index' each time i visit the website url.
If ...
Soppi posted

Deploying Sidekiq To Heroku Discussion
8
General
Chris, another great episode! At the moment I have this in my Procfile: worker: bundle exec sidekiq -c 5 -q default -q mailers, since the only type of worker in my app is the mailer worker. At the ...
Someone replied

Using Active Storage to upload images not working.
0
Rails
Hey guys,
I could really use your assistance with my current app. I decided to add the active storage feature and followed the guide on how to set it up. I did a practice project first to test the...
Shan Siddiqui posted

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

How can I solve it?
10
General
Hello guys I have a problem with this!
I'm making my website where user can give feedback to my projects, contact me and make comment to a blog_post.
The problem is when i make the render 'blog_p...
Federico Calarco replied
Solved