
What is the best configuration for VScode for Rails Development alongside JS
4
Tips
Hey Guys, So I'm actually trying to properly setup VS code for rails, But I am not able to make it as perfect as I set it up for JS or other languages.
Currently, I am using rubocop, selenium, rub...
democra cyoverall replied

Problem with Stimulus and counter_culture gem (counter_cache)
2
Rails
Hy all, i have a problem with the counter_culture gem with my stimulus controller.
I have installed the gem and configured all.
I have 3 model :
Thats working fine for this relation: Category hav...
democra cyoverall replied

Base62 Decoding Short Codes Discussion
6
General
Intresting, I had the same requirement so I created this gem https://github.com/xiaohui-zhangxh/xencoder , it can encode/decode interger to BaseX and prevent it to be decoded without seed
M87 replied

Thread Safety with Mutexes in Ruby Discussion
2
General
In a Rails application that does standard CRUD for the most part, what would be a good use case for something like this? In the ferrum_pdf example you gave, it looks like you want to ensure there's...
VanHowell replied

http://localhost:3000/admin
2
Rails
Chris Oliver,
https://github.com/vidosrd1/Dark_mode/
Dark_mode/config/routes.rb
Srđan Vidović
hadbobolink replied

How Do Show Loading Indicator On A Turbo(Stimulus) Form ?
5
Ruby
I am learning rails by building a project. I am using the turbo frames for the form.
I would like to add a loading indicator to the submit button just like the one on this forum when you comment on...
Tony C. Hale replied
Solved

Devise and Turbo-rails
8
Rails
I've followed the guide for implementing devise with turbo-rails. It worked for few projects. But, when i tried to implement in new rails 7.0.4 project, the line render rendering_options is throwin...
EthanFinn replied
Solved

Dynamic Authorization Roles with Pundit Discussion
5
General
Well this couldn't have come at a better time! Thanks Chris!!! I'll be hiding the UI for creating and editing roles and providing at a higher price plan, there's a lot of value in this
Amir Aziz replied

Hash Fetch with Default Value Discussion
5
General
Guarantee you I've made this mistake many times over the years. 😅
Ruth F. Bennett replied

How to read EDI (electronic data interchange) Format in rails
1
Rails
Hi Chris,
Please help me, How to read edi format in rails. I am trying to do to googling for that solution but I didn't get any best solution If you have any idea about that, How to read and write...
jens t replied

Rails for Beginners Part 41: Next Steps Discussion
3
General
Thanks Cris I think I have something wrong cause the schedule tweets is not sending tweet at all. I have change the UTC to America/Brasilia. Could give me some advice in my https://github.com/adalb...
steven14132 replied

Parsing Markdown Code Line Highlighting with Ruby Discussion
1
General
These types of problems are fun to code golf because they can be implemented so many different ways. ⛳️🏌️♂️
marilyn ohara replied

How to use the Ruby 2.6 Just-in-Time (JIT) Compiler Discussion
3
General
Nice!
marilyn ohara replied

How to test ActionMailer in Rails Discussion
12
General
Great episode, Chris. I like how you said you don't really need to test CSS styling but instead focus on testing the higher level functionality of your mailers. That way, a developer doesn't go dow...
emmadenshi replied

Hatchbox: teams
2
General
Hello,
what are your plans for developing Teams feature on Hatchbox?
Currently I can invite someone by giving them status "admin", "member" or no status at all. The problem is, any invited person h...

Exploring PostgreSQL Tuples Rails PR Discussion
1
General
@Frank Underwood, check out our [GoRails Learning Path](https://gorails.com/path) for a structured way of learning Rails. We designed it with repetition in mind so concepts sink in as you build sev...

How to add a Command Palette to your Ruby on Rails app Discussion
3
General
Amazing information providing by your article, thank you so much for taking the time to share a wonderful article.

Handling New Messages with Turbo Streams Discussion
7
General
In case you're interested, you can sign up for our [Learn Hotwire course](https://learnhotwire.com/) here. We're covering Hotwire with Rails and Native with iOS and Android, diving deep into the de...

How to use HTML Button Form Attributes Discussion
6
General
This would have saved me a ton of time last year when I spend hours trying to organize the delete button. 🤦♂️

How do I test different configurations which are set at Rails boot time?
1
Testing
I'm currently working on a fix related to an issue in spree commerce: https://github.com/spree/spree/issues/12231
To test the failing behavior before I apply my fix, I wrote a Rspec test like this...
Karla Lara replied