Ruby on Rails Community Forum
How Do I send a "Turbo Hotwire Broadcast" only when a record with a specific name value is created or updated, and for a specific partial?
0
Rails
Hello, you have a great community in Gorails. I have a Rails View with 3 numerical integer indicators: speed, temperature and pressure.
These values are stored in SavedObject model as serialized ...
Luis Cuevas posted
Uninstall error of cocoapods
0
Gems / Libraries
gem uninstall psych$ which -a ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/yaml.rb:3: warning: It seems your ruby installation is missing psych (for YAML output)....
Confusedcoderr posted
Favorite database clients that will also work on M1 Macbook Pro?
0
Databases
I'm mostly interested for MySQL and PostgreSQL. Do you know of some good ones, maybe not too expensive and compatible with the new mac?
Gabriela Jack posted
How do I find on an object in an api/v1/controller requested spec?
0
Testing
Hi there, this my first question =), am so happy!.... =)
I have a this:
RSpec.describe Api::V1::Controller, type: :request do
describe 'on initialize' do
let(:thing) { FactoryBo...
Diego Mota posted
How to render ActionText Attachments in Plain Text Discussion
0
General
Question on getting started tutorial
1
Rails
Hi,
I've been following allow with your awesome series, thanks really well done. At about lesson 20 when it comes to setting up token for user password reset email I've tried using user.signed_id a...
Immase replied
Reddit style comment thread pagination Discussion
7
General
nice way to round out the tutorial! thanks for all your hard work
qiuzhi99 replied
Trello Clone with VueJS and Rails
0
Rails
Wondering if anyone could shed any light on how to only return cards for the logged in user?
So basically when a user goes into that board, he would only see the cards he has created.
Alan Reid posted
Pagination with Stimulus
3
Rails
I'm trying to migrate to Stimulus and I thought a good place to start would be to move all my UJS style partials that are using jQuery to Stimulus. It would be great to use one Stimulus controller ...
Cory Johnson replied
eager loading with custom joins
0
Rails
problem statement:
Can I write a custom join for the included association?
e.g. Course.includes(:course_details).joins(left outer join course_details on course_details.......)
I want to add more ...
Daud Sadiq posted
Testing External APIs with VCR Discussion
1
General
I looked at VCR in the past and was a little intimadeted by it. Now that I have tried it, all I can say is how amazing it is!
For n00bs, it is worth noting that after putting the configuration in ...
Diego Mota replied
What is the relationship between RBENV and the Ruby version
0
Ruby
I am following the tutorial for installing Ruby on Rails on MacOS and I have run the commands rbenv install 3.0.2, rbenv local 3.0.2 and rbenv global 3.0.2. But when I run the command ruby -v I get...
William Jones posted
Random Ruby — (Bi-)Weekly Email Newsletter
0
General
Hello there, good people!
My name is Eugene and I'm the guy behind [Random Ruby](https://www.getrevue.co/profile/randomruby) newsletter. It's a free bi-weekly-ish email newsletter I've been making...
Frey posted
nested resources n your API Wrapper Rubygems series?
0
General
Forgive me for not knowing vultr and using a generic example but.
lets say we use a service where customers have multiple products, and to access the products for a customer the endpoint is someth...
Searchkick/ElasticSearch not accepting Rails/Ruby booleans?
0
General
Hey everyone! I'm trying to get elastic search to work with a checkbox, but as they return a 0 or 1 as booleans, elastic search doesn't accept these params. Does anyone know how to get elastic sear...
Cory Johnson posted
Customers duplication with stripe
0
General
Good morning, I'd like some help to avoid the duplication of customers with stripe subscriptions. I did the verification code and it matches with the datas at faunaDB, but the customers keep appear...
Finding video
2
General
Hi, I am looking for part 2 and 3 of the series "Realtime with Hotwire and ActionMailbox" that are only available as preview on Youtube - am I missing something? Thank you very much
Hanamo replied
How do I set up webpacker for production environment?
0
Rails
Im running my project first on my local machine using Production environment before deploying to production to make sure all is running fine.
im using docker with Rails version 5.2 and webpacker ve...
Dev posted
error in rake db:create command
2
Ruby
Hi everyone
I'm getting this error when I try to create db (I've guided me with https://gorails.com/setup/windows/10). Using WSL.
All step go well, till this command: rake db:create
```
could not ...
Francisco Morales Sánchez replied
What is the best way to host video platform in a cost efficient way and good streaming quality while still keeping it extensible
0
Servers
Hey,
I am planing a little page where we want to post zoom sessions and give the opportunity to watch them afterwards.
In the beginning we might 5-20 people watching and long term plans are to bu...
OuttaSpaceTime posted