How to do a Realtime Basketball Boxscore Widge Properly?

3
General
I have created a basketball stats tracker . Now I wanted to create a widget so that sports site can embed my boxscore widget to their site. My plan is add a job in my app that push the game boxscor...
lawrencecaroll replied

How to read EDI (electronic data interchange) Format in rails

4
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...
Raymond Moss replied

Migrating From jQuery to Vanilla Javascript Discussion

47
General
`document.querySelectorAll` looks like return an array, but in fact it is an object. It's important to keep this in mind in order to avoid some problems iterating the dom elements.
Dan LeGrand replied

Realtime Nested Comments: Part 1 Discussion

5
General
Amazing episode, Chris! Thank you so much for this!

Hash Fetch with Default Value Discussion

5
General
Guarantee you I've made this mistake many times over the years. 😅
Ruth F. Bennett replied

Rails for Beginners Part 41: Next Steps Discussion

5
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...
Jake Govett replied

How Do Show Loading Indicator On A Turbo(Stimulus) Form ?

6
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...
Nicholas Hornung replied
Solved

How to Build a Slack Slash Command App with Rails Discussion

11
General
/soo nice /great job!
taggame replied

Installing ruby_opencv gem results in cannot find opencv_contrib error

6
Gems / Libraries
I am trying to install the ruby_opencv gem but it can't find opencv_contrib. I used the command 'gem install ruby-opencv -- --with-opencv-dir=/mnt/c/Users/wjones/sites/musclesound-rails/opencv/my_b...
kenvin roll replied

Adding TailwindCSS to Rails Discussion

11
General
For those with the problem of "bin/dev: line 8: exec: foreman: not found" - Install the foreman gem -> bundle add foreman. - Add the "bundle" word to the beginning of this line of code (bundle...
Ivan Hrekov replied

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

http://localhost:3000/admin

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

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

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 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...

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.

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

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

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