how to build a complete, real-world application from scratch with Ruby on Rails step by step.
A lot of Ruby code is "magic". We'll explain the magic and see how it works using the powerful tools Ruby gives us.
Accept subscription and one-time payments with Stripe in your Rails apps
Expert advice on keeping Rails apps organized and fast.
Cheap, easy hosting for Ruby and Rails apps.
Launch your product business way faster with our SaaS template.
Build a Ruby on Rails app in 48 hours with us.
Help Junior developers get hired by sharing small projects to build their resume with paid work.
Find your next Ruby on Rails Job.
User mentions in group chat is a crucial feature, so this week we're taking a look at how to add @ mentions for our users in chat with regex and more.
It's important to see that there are unread messages in channels you're not actively viewing. We can use a very simple event in ActionCable to do this and bold channel names with unread messages.
Keeping track of a user's last read timestamp for each chat room is straightforward, especially when we use Stimulus.js to update it from the client side.
If we want to add realtime tracking of which users are online, we can use active websocket connections through ActionCable to keep track.
Testing ActionCable authentication with Devise is pretty easy, especially when we build our own helpers to stub out Warden
Streaming realtime progress to the browser is easy with ActionCable. This episode covers how we send over SSH logs in realtime inside Hatchbox.io
Add realtime direct messages between users in our chat application using ActionCable
Build a reactive multi-user spreadsheet web app with ActionCable and RethinkDB
Tracking unread messages in chat so that we can provide a nice user experience for our users
Adding browser notifications for new messages with the Notifications and Page Visiblity APIs
Sending chat messages from the browser to the server with ActionCable
In this series, we're building a clone of Slack using Rails 5 and ActionCable
Join 79,047+ developers who get early access to new tutorials, screencasts, articles, and more.
We care about the protection of your data. Read our
© 2023 GoRails, LLC. All rights reserved.