Search Results for "post-reaction-feature"

Forum Threads

Pull data from another table in a lookup

53
Rails
Hi all, I am looking up a list of articles, depending on the brand ID's - `@articles = Article.where(brand_id: brand_ids)` what i would like to know is there a way to retrieve the brand name in thi...
Jacob Montgomery replied
Solved

Must Read / Must Watch

19
General
I thought I'd start a thread of articles and videos that are super high quality for software developers. Things that make you think and improve your thinking and how you build products. I'll start...
emil mircea replied

Page does not reload, even though javascript comes back with 200

0
General
Chris i followed your tutorial with polymorphic true commenting system, but i ran into an issue with trying to use ajax to refresh the page. The page does not refresh, only when i reload the page a...

remove the class="simple-form"

8
Gems / Libraries
how to remove the class="simple-form" from a form created using the gem?
João M Cortat replied

How to use action_text-trix with Rails Discussion

3
General
Who else is excited for the new rich text editor that Jorge's been working on?
Gavin Louise replied

LearnHotwire Course - stuck with Could not find table 'solid_queue_processes'

3
Rails
Hi all, I bought the Learn Hotwire course and stuck at the Rails Application Introduction (3rd video). When I ran "rails s" at 1.29 minute of the video, I got this error 'ActiveRecord::Connectio...

Struggling to Choose the Right Collaboration Software for My Business – Need Help!

0
General
Hey everyone, I’m in a bit of a dilemma here and hoping to get some advice. My business is in need of a solid collaboration software, but I’m finding it really hard to decide on the right one. We’...
Daniel Chrisman posted

Noticed V2 is great! What am I missing on the issue of 'persisting clients subscription'

2
Gems / Libraries
I use the web_push strategy in Noticed V2 - and it's a kicker - my +1 on that, really! But I must be doing something wrong b/c everytime a user logs into the app hem is requested (by the service-w...
Walther Diechmann replied

Using tailwind css in my rails app, patterned after your blog tutorial. How do I get rid of all the whitespace on each side of the page, I want to use the whole screen?

1
CSS
So I have modified by tailwind.config.js file as such: const defaultTheme = require('tailwindcss/defaultTheme') module.exports = { content: [ './public/*.html', './app/helpers/**/*.rb', ...
Mike Cannon replied

Help with concurrency

6
Ruby
Hi everyone, how’s it going? I’m a Go developer transitioning to Ruby due to a job change. Typically, I solve various problems in web apps using Go’s lightweight threads (goroutines). For example, ...
Matheus Cumpian replied

How to use Dev Containers with Rails Discussion

20
General
Pretty excited about this because it makes Rails development so much easier to start for beginners or for teams using various operating systems. I also forgot to mention, there is a `devcontainer`...
Chris Oliver replied

Today I Learned!

1
General
I thought it would be fun to start a thread where we can post the things we've learned recently. Today I learned that `__dir__` returns a full path while `File.dirname(__FILE__)` returns a relativ...
cjilbert504 replied

activeadmin with devise_invitable

2
Gems / Libraries
Hey everyone, I know... I'm still using AA... Anyways, I'm looking for a complete guide on being able to invite my non-admin devise users through the admin panel. Strangely I can't find a single, ...

How can I add i18n (Spanish <> English) for user posts in a PWA?

0
Gems / Libraries
I have a Rails site with a PWA and also a native app built w/ a wrapper. The site/app is for Hotel staff to communicate. Some of the staff speak and post in Spanish-only and some English-only. How ...
Ryan Mindigo posted

Is there an RSS feed, newsletter, mastodon feed, etc. that notifies when new things come out?

5
Site Feedback
The twitter feed doesn't appear to have been updated in a while. The blog has an RSS feed, but it doesn't seem to include when new episodes come out. For me just having RSS at the "Lessons" route w...
Jonathan Nguyen replied

Test some simple javascript with Minitest and Capybara

1
Testing
I'm seeking assistance on testing JavaScript that executes on the response page after a POST request. So I have something like this ```ruby class YourControllerTest &lt; ActionDispatch::Integrati...
Russell Beckwith replied

Rails 7.1 Authentication From Scratch - Test Helpers

2
Testing
I've implemented the Rails authentication in my 7.1 app but was wondering how to go about stubbing the `current_user` or `session` in my RSpec Request specs. I'm normally used to have a Devise or...
Russell Beckwith replied

Solving Active Storage InvalidAuthencityToken Error

0
Rails
I have an application which is on lvh.me and i am trying to upload image using trix editor from my subdomain sample.lvh.me but for some reason i keep getting this error ``` Started POST "/rails/a...
Henry posted

Restrict devise routes

2
General
Hi, How can I restrict access to the devise sign_up route to logged in users only? Controller: ```ruby # frozen_string_literal: true class Users::RegistrationsController &lt; Devise::Registrati...
herrylauu replied

Rails upgrade companies

5
Rails
I'm wondering if anyone has any experience with any of the Rails upgrade companies that are out there? We're looking to get all of our apps on the latest and greatest and trying to decide if hiring...
rordevelopernik replied