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

Rails 7.2 Console Prompt Discussion

2
General
Interesting. Thanks Colin
LOLCONCEPTS 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...

How to stay strictly in Ruby ?

1
Rails
Hello, I'm a newbie at Rails. Let's say I have this simple form: <%= form_for @article do |f| %> <%= f.label :title %> <%= f.text_field :title %> <%= f.labe...

Attaching file to email Active Storage

1
Rails
Hi Guys, I am trying to attach a pdf to an email via active storage. Here is my code below and the error I am getting. class Assignment < ApplicationRecord has_one_attached :upload belongs...

ruby on rails nested model relationship and routes

9
Rails
I have these models: `Sport,` `Country,` `League` and `Match ` Also I do have `SportsController,` `CountriesController`, `LeaguesControlle`r and `MatchsController` So the question is: 1: how i ca...

Why am I not getting any data inside the dropdown in browser?

2
Rails
My Controller has following code `@select = Store.find(current_user.store_id)` My View has: ``` <%= form_with(model:@store, local: true) do |f| %> <%= f.select :id, options_for_select(@sel...

How do I set and use a default image with active storage?

3
Rails
If the User does not upload an image using active storage, how do I set a default image for that record?

NoMethodError in Contacts#edit

1
Rails
Hi all, I am new to Ruby as well as RailsI am working my way through a treehouse course and I have hit a bit of an obstacle.This is what my routes file looks likeRails.application.routes.draw do ...

How do i generate links like shopify does ****.myshopify.com ?

1
Rails
Hey, guys i wanna know how to generate a unique url foreach user but didn't know how to do it.#Stuck

Issue with inline-form from stimulus twitter example

2
Javascript
I have a rails 5.1 app that I am working the stimulus twitter example into. Instead of tweets they are going to be comments. The comments are linked to servicerequests. So on the servicerequest/sho...

How do I embed an internal routes/show page on to an external website?

1
Javascript
Hey all, I've seen websites where you place some Javascript code - and they are able to display information from another website on their website. Wondering how I can do the same? I have a www...

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

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

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