How do I test the order of elements on a rails app page with Rspec / Capybara?
3
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...
Russell Beckwith 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 < ActionDispatch::Integrati...
Russell Beckwith replied
Rich Text Blog Posts with ActionText Discussion
19
General
Hi Chris, thanks for the video. I was wondering how do I truncate the text on the index.html page? I only want to show 130 characters of the content (previously body).
<%= truncate(blog_post.c...
Pat Fitzner replied
Authenticating Blog Admin Pages Discussion
19
General
Hi,
Is it necessary to add @blog_post behind the edit_blog_post_path in the last part of the video or can that be left out as well? <%= link_to "Edit", edit_blog_post_path if user_signed_in? %>
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...
How to Migrate attr_encrypted to Rails 7 Encryption Discussion
2
General
Thank you Chris, really nice :)
MartyLShaw replied
Graphql on Rails
7
Rails
Hi Chris! Could you please publish a lesson or guide about using Graphql with Rails? Thanks!
Danny Garcia replied
Base62 Decoding Short Codes Discussion
5
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
How do you setup email in your application and link it to a record
0
General
Hey Chris.
I have been trying to look online but haven't been successful in finding out the following. Say you made a CRM application in Rails and setup a pop3/imap email in the app. How would y...
Tabish Iqbal posted
creating new rails app error
9
General
Hi i am creating new app with command rails new myapp then i am getting this error but unable to find how to resolve this i tried installing tzinfo, tzinfo-data and updating bundle but still proble...
formalexclusive replied
Nested Comment Threads in Rails - Part 1 Discussion
36
General
Greate episode! If I should get this episode a couple of years ago, that may should saved my life jajaja!
So, this is the same logic you are using here in your post and epdisode comments?
Realtime Nested Comments: Part 3 Discussion
32
General
Very cool. I imagine a real-time comment feed like this will make a website feel come alive.
One issue I’d love to see addressed in a follow up video is the page kinda moving around as you’re rea...
Syncing Domain Expiration Discussion
0
General
Test my application
0
Testing
Other developers to test my application
rubygem kit
compact web app that lets you build, publish, verify, and manage Ruby gems from a single no‑code frontend — with CI triggering and subscriptio...
Ndivhuwo Justice Mamidza posted
Checking Domain Expirations With RDAP Discussion
5
General
Excited to kick off a SaaS product series. Should we build more end-to-end projects like this?
Rails 8.1 Deprecated Associations Discussion
2
General
Oh man! I misunderstood the title of this episode. I thought you were saying that ActiveRecord Associations had been deprecated haha!!! That would not have gone over well!!
Great episode as usual ...
MartyLShaw replied
Domain Monitor SaaS Introduction Discussion
0
General
Environment Variables Discussion
5
General
I always found Env Variables very confusing, this does help. However still not a 100% sure if I'm use this method over something like Figaro.Also how do I push these to Heroku?
How to use Bootstrap with CSS bundling in Rails Discussion
27
General
Thanks for another great video. It's no wonder why I sometimes feel lost in the Rails ecosystem. I learned Rails using the asset pipeline, then it switched to using Webpacker which I never fully un...
Mountaindog replied
Mailboxer Gem
2
Gems / Libraries
I want to implement messaging in my app and I see that the most recent commits to the mailboxes gem say it no longer works in newer Rails versions. If it's not still relevant, then is there a new g...