How to use Method Arguments with Before Actions in Rails Discussion

0
General

Base62 Encoding Short Codes Discussion

6
General
Hi Chris, why the local variable result is treated as frozen? Here is the error: Error: ShortCodeTest#test_encode_10: FrozenError: can't modify frozen String: "" app/models/short_code.rb:20:in ...
George Kurobara Benjamin replied

Multiple File Uploads with a nice JS interface?

1
General
Hello everyone,, I am going with an 'Attachment' model which belongs to other models (just one for now). https://snaptube.cam/ https://syncnet.onl/telegram-web/ [9apps](https://9apps.cam/) The 'Att...

Affiliate Program Gems

12
General
I would love a tutorial on creating an affiliate program... Anyone have any gems they can recommend?
Brent C replied

Trix editor in react native

2
Javascript
Anyone have suggestions for how to implement the trix editor in a react native front end? The key is I want to maintain trix’s mention functionality and the attachment of images. Ultimately I’d li...
davidlbean replied

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

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?

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

Connecting User with devise

1
General
Hello Go Rails Community, I'm looking for some help, let's say I have an app that's for married couples. If the husband signs up for the app he hac send and invite to his wife and vice versa. Wha...

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

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

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