How do I test the order of elements on a rails app page with Rspec / Capybara?

2
Testing
I have a 'Team' index page and I just want to TDD the ordering of the elements on page. My instructions are to validate they are showing most recently created first. I know how to do the actual i...
felixandrea replied

Practical Decorators & Extracting Concepts Discussion

1
General
this is brillant
Matias H. Leidemer replied

Limiting & Clamping Values in Ruby Discussion

0
General
Yeah! Minimal if statements = Maximum efficiency.
Thomas Blevins posted

Custom Turbo Confirm Modals with Hotwire in Rails Discussion

8
General
Thanks for this
Adrian Marin replied

ActiveRecord Aggregations with composed_of Discussion

1
General
I don't see this feature used often in Rails apps, but it's super powerful for things like this. An easy way of creating Ruby objects like this allows you to really organize functionality instead o...
Marc Köhlbrugge replied

How to use Solid Queue in Rails with Active Job Discussion

12
General
What's great about the puma plugin is the cost savings when running on something like Heroku. Only one dyno needed for small apps including a Queue. Something that was quite expensive before becaus...
Matthias replied

Watched the video- One Time payments with Pay and Stripe- (embedded), Form never loads....

4
Rails
HAS anyone been able to get STRIPE EMBEDDED PAYMENTS working? I followed Collin's course to the T, but when I get to the point where the stripe form is supposed to be inserted into my DIV on the Ap...
Jon Roock replied

ShareMeow Discussion

0
General

Rubygems Trusted Publishing Discussion

0
General
As more and more vulnerabilities like "xz" with Linux happen, reproducible builds and releasing processes like Trusted Publishing that the Rubygems team has built will be critical. I mean, how many...
Chris Oliver posted

Install and Running Whisper.cpp from Ruby Discussion

0
General
When I try to run whisper.cpp after I added to my path I got `zsh: permission denied: whisper.cpp`
Vinicios Wentz posted

How to use Stripe Checkout in Rails Discussion

24
General
Thank you so much!
Aaron replied

how to add a forum template to ruby on rails?

0
Rails
I'm new to ruby on rails (I'm more used to PHP) and I'm wondering how to add a dynamic template (made of HTML, JS, and CSS) and integrate it. can I just add it to views or do I have to use the gene...
chickencommander123 posted

No route matches [GET] "/auth/facebook"

1
Rails
Hi folks! I am just starting to learn Rails, I want to make a simple OAuth Facebook login and display it after a successful login. I always got No route matches [GET] "/auth/facebook" and can't fi...
Henry Augustianno replied

How do I create a gem for my ViewComponents that include Stimulus?

0
Gems / Libraries
Can anyone point me at a guide or tutorial that will help me built a gem that does the following: - Allows me to have my ViewComponents - Styled with Tailwind - Interaction with Stimulus controlle...
Mark Stephenson posted

Remember Me in Devise fails to Login User

2
Gems / Libraries
If I don't use `remember_me` option, it works perfectly fine. The app flows as expected. However, if I check `remember_me`, it will login in as expected, redirect me to a protected page, which wi...
Szedmák István replied

Webpacker Javascript Embed Code Snippet & Scoped Styles Discussion

10
General
@Chris Oliver, Nice series tutorial. I really enjoy this series of tutorial. If you have time and If you will convert this embeddable series with React JS then it would be nice. I like your tutoria...
David GEISMAR replied

Setup Ubuntu 24.10 Oracular Oriole Discussion

0
General

Dedicated Servers i want rent 100

3
Servers
Dedicated Servers CPU 16 cores, 3GHz or higher, example AMD 5950x 128GB RAM or more 1TB or more NVME SSD 500 Mbps+ channel, 100TB/month traffic
Wishaway Mike replied

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

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

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