How do I manage business hours for a store?

8
Databases
I've taken a few stabs at this over the past two months and haven't found a great solution for what seems to be a straightforward feature seen in applications such as SkipTheDishes and UberEats. G...
Solved

Wrapping Up Our URL Shortener Discussion

4
General
Congrats to everyone who has made it this far! The URL shortener was a great little project and I'm sure there's lots more improvements you can add to it. What did you think of this project?
Chris Oliver replied

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

Adding Honeybadger Insights To The RubyGem Discussion

1
General
Shoutout to the folks at Honeybadger for being awesome. 🫡
Sidney Gregory replied

Hotwire missing template on form submission

6
Gems / Libraries
Hi Chris/extended go-rails community :) I have been playing around with the new turbo rails and trying to implement a turbo stream for my login form submission errors. I am wondering if anyone el...
Jake Smith replied

Hobby server alternatives since Heroku going paid

3
Servers
In no particular order: * Fly.io * Render.com * [Hatchbox.io](https://app.hatchbox.io) (I built this! 🤓) * DigitalOcean Apps * Railway Hatchbox.io is a bit different because it runs on your serve...
Kentastic replied

Adding Timeouts to net-ssh with Mike Perham Discussion

0
General

Improving Revise Auth Redirects Discussion

0
General
Make the necessary changes, pls!

Devise - How do a logged in user change the password

1
Rails
HI, I am new to Rails. I am looking for your kind help to implement change password option for a logged in user. I do not want to use registrable option as, these users are created by admin and wan...
Surej GANGADHARAN replied

How do I give Users the option of either selecting from a dropdown menu or inputting their own and adding it DB for other users

3
Rails
I apologize for the newbie question. But, I've been trying to create a special type of association and all my efforts have been failing. I would like to give users the ability to select their home ...
Solved

Action mailer rails 6

2
Rails
Hey Chris, cannot send email from console using UserMailer.welcome_email.perform_now, geting this error ``` Traceback (most recent call last): 1: from (irb):3 NameError (uninitialized con...

How to email @mentioned users (from ep #288)?

1
Rails
I followed ep #288 and set up ActionText @mentions. Is there a way to automatically email the users who are mentioned?

How do I render a (Stimulus) modal without user interaction?

1
Javascript
When a data value in my view meets certain criteria (e.g.: "< 0"), I want to render a modal (which is configured using Stimulus). I know this is a noobish question, but I'm not finding obvious ...
Solved

Update and limit the number of nested attributes in Ruby on Rails

1
Rails
I have a `Question` model related to `Option` model. Whenever I try to update question and related options, new options are created instead of updating an existing option. Why is it happening like ...

How to use Javascript via Webpacker in Rails 6 Discussion

17
General
Alternatively to the webpacker way of require the flatpicker css in the `packs/application.js` you can do someting like: ``` /* *= require flatpicker/dist/flatpicker */ ``` In your rails `app/a...
Tony Dehnke replied

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

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

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