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 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...
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
Deploy Ubuntu 18.04 Bionic Beaver Discussion
79
General
Thanks btihen! I'll get the tutorial updated for its changes shortly!
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
How to add Notifications to Rails with Noticed Discussion
36
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...
Alek Yageornba replied
Google Maps and Google Places Autocomplete API with Rails, Turbolinks, and Stimulus.js Discussion
12
General
Thanks Chris, great video.
I have tried to work with Google Maps Places API in the past, but I have faced an issue with their API Policies. According to their policy you cannot save details like t...
alangosh replied
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
Primer on Rails 5.1's new UJS library Discussion
4
General
Hey Chris, thanks for this guided tour, very useful! Rails.ajax(...) will be super helpful.I found some other changes in UJS behaviour since the rewrite, particularly in handleRemote's function cal...
WilliamCass replied
Advanced Mailboxer: Multiple User Conversations Discussion
18
General
Cool music entrance :) Great video of course.
Carl Tanner replied
In-App Messages Between Users Discussion
25
General
Great episode Chris!Can't wait to get into the more advanced stuff.Thanks!
Using Vagrant for Rails Development Discussion
159
General
Trying to install the librarian-chef plugin first produces an error about not being able to find the vmware-workstation plugin (or rather gem). Installing the vbguest plugin first fixed the issue.
Bob Bannister 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...
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
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
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
Setup Windows 10 Discussion
236
General
Hi,I got all the way through this so thanks for the walk through! I run "rails server -b 0.0.0.0" and the server boots fine but when I go to localhost:3000 in the browser, the browser icon spins bu...
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
In-App Navbar Notifications Discussion
55
General
Thank you thank you thank you!
Ken Hibino replied
Deploy Ubuntu 12.04 Precise Pangolin Discussion
104
General
Great tutorial!Just one thing, the Gemfile it's wrong, it's pointing to the wrong repository of each capistrano implementation. This should work:gem 'capistrano', '~> 3.0.0'gem 'capistrano-bundl...
Someone replied