Ruby on Rails Community Forum

Form not displaying errors

1
Rails
Here is my user.rb file class User < ApplicationRecord has_secure_password validates :email, presence: true, format: { with: /\A[\w.+-]+@\w+\.\w+\z/, message: "must be a valid email add...
Ordin replied

Metaprogramming Virtual Attributes Discussion

3
General
Nice intro into metaprogramming and how concerns can be used.I'm one of the fresh subscribers and have noticed one thing: no need to quit rails console to clear the console output. To save couple o...
Leon Entrup replied

Intersection Observer API to refactor Infinite scroll Discussion

2
General
Hi, Chris! Recently found gem from basecamp “geared_pagination”. Can you make a suggestion how to integrate it instead of pagy?
lsantobuono replied

GitHub Actions with Ruby on Rails: Setting up Continuous Integration Discussion

19
General
Congratulations on the video was very good, I will try today
Ignacio Alonso replied

User Avatars with ActiveStorage Discussion

13
General
Hi Chris, great episode. I posted a question about ActiveStorage but I have not received any response yet. Basically what i want to do is upload images for a has_many_attached directly from a contr...
TilakP3811 replied

Liskov Substitution Principle Discussion

8
General
Awesome.Keep up the SOLID principles work.
Mateusz Bialowas replied

Rendering simple_calendar content using Turbo Frames

2
Rails
Hi there, It's a great pleasure to use this gem which is really handy ! I started using Turbo recently on my application and still had troubles wrapping my head around... Idea here is not only to ...
spacerobotTR replied

Creating an application Multi Language

3
Rails
Hi, good evening. Cris, I would like to create a system which will suport many language. For instance, I would like to be able to access the languages using URL like: https://www.mysite.com/us/ h...

GoRails Design

4
CSS
Hi, I like very much the design of GoRails! Great job! Chris, did you use some template? What technologies did you use to get such a result? Thank you! Best regards, Anton

Bulk Operations in Rails Discussion

9
General
Super usefull episode! Thank you!

Air Quality Monitoring with Ruby, a Raspberry PI & PMS5003 Sensor Discussion

3
General
Awesome! I really enjoyed this episode. I'd like to see more episodes like this. Looking forward to the next one.
Subrat Rout replied

New Design!

4
Site Feedback
Chris, I think you nailed it this time! Every time you roll out a new site design, it's better than the previous. Great job! Nick

Is there anyone who could offer advice or help with Generating a PDF Within the Program?

7
Rails
Hello, I am a college student working on a senior capstone that utilizes the use of Ruby on Rails. I am attempting to generate a PDF within the program, and I am stuck. Is there anyone who could of...

API HTTP Requests using Faraday Discussion

7
General
One question I have, there is no retry option given. Does it makes sense on original implementation to leave the retry out? We are trying to make the code as robust as possible and in case of timeo...
computer_smile replied

Setup Ubuntu 14.04 Trusty Tahr Discussion

0
General

unicorn takes a long time to start up with capistrano

0
Rails
After ruby update from 2.7.5 to 3.1.2 I've run command cap production unicorn:stop then cap production unicorn:start it's takes about 9 minutes to start gem 'capistrano3-unicorn', '~> 0.2.1' ```...
Dmitry Kosikov posted

Extend stimulus controller - base class not found

2
Javascript
I want to extend the Stimulus controller to get some often used method in one place, like this: import {Controller} from "@hotwired/stimulus" ./controllers/base.js export default class Base exten...
MollySpencer72 replied

error starting new jumpstart app

1
Rails
Hi I just created new rails app using free jumpstart template https://github.com/excid3/jumpstart I receive an error when starting the. project about missing build script ✘  myapp   maste...
Randy replied

Handle ActionController::UnknownFormat in Devise::SessionsController#new

0
Rails
Hello, I'm new in rails and I facing this problem: After invite a new member the system generates an invitation link. This link invites to create an account, once the account is created the new mem...
Julio Benavides posted

Stimulus JS Twitter UI: Part 1 Discussion

6
General
Is the source code for this (and other) episodes available? I am having some small problems following along.
Andres Urdaneta replied

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.