[AskJS] Are there Babel plugins that optimize code for special use cases?

1
General
Hey all! I was thinking a bit - I don't really use generators, and I suspect that might be because you can't just use map, filter etc. Of course you can use the [...gen] way, but that gets very mem...
aostv replied

Payment Rails Master Class (SCA) ready?

2
General
Hi Chris, I am wondering if **Payments with Ruby on Rails Master Class** is up-to-date with Stripe Strong Customer Authentication (SCA)? Thanks Alberto

Is there an episode on Post Production Updates?

2
General
Love the latest episodes Chris! Was wondering if you have or plan to cover soon how to do post production updates on a rails app. For me that is a scary topic and one i think lots of folks would l...
Sheryl James replied

User_signed_in? doesnt work

1
General
Whenever I request for a `user_signed_in?' I get a "undefined method `user_signed_in?' for #<#:0x0000558f352697c8>" error code. The code changes everytime. Im trying to check if the user is ...

Setup Ubuntu 20.04 Focal Fossa Discussion

15
General
Excelente tutorial. Muito obrigado.
Chibuike Uzoechina replied

Sperate views for differernt category

0
General
I have a rails blog with categories and I'd like to create a seperate partial for each category. Can anyone help?
Brijesh Wawdhane posted

Testing against multiple versions of Ruby, Rails, and Databases with GitHub Actions Discussion

0
General

Rails for Beginners Part 31: Tweet Partial Discussion

2
General
Hi Chris, in video at 4:00 in tweet model. You use self.publish_at in after_initialize but only tweet_id? in published? Why is one with self and other is not with self?
Jaroslav HorĂ¡k replied

Rails for Beginners Part 22: Password Reset Update Discussion

5
General
How do we invalidate a token once it's used? For example you can still use the same token even after you've already reset your password once. That would be nice to implement but not sure whether it...
Smail replied

How HTTP Requests work in Rails Discussion

0
General

Rails for Beginners Part 35: Editing Tweets Discussion

2
General
Guess I spoke before going through all the lessons, thanks

Routing Inbound Emails with Actionmailbox Discussion

3
General
Loved the nifty regx trick. Also liked the ``` if(user = User.find_by(....)) user else ... end ``` Didn't know you could define values in if statements and use them to return, will definately be...
Chris King replied

Using Ruby Service Objects To Refactor Your Rails Code Discussion

21
General
Very nice video Chris! I really like the idea of breaking things out into POROs. I think the next refactoring I would do to this app is making a Subscription class to house the logic for adding and...
hamza-itu replied

Sharing on social network

17
General
What is the best way for the visitors of my page (not logged in) to share models data (for example articles and courses) on Facebook and Twitter. I have been looking for an answer without really fi...

Setup Ubuntu 21.04 Hirsute Hippo Discussion

6
General
Great guide as always! However, I believe that postgresql is now at version 12 and that 'sudo apt install postgresql-11' will return an unable to locate package error, I would suggest using 'sudo a...
Devon Kiss replied

Setting up Customer Support models with Hotwire Discussion

3
General
It's for useful episodes like this, that I'm here since 2014. Super thank you!
magico replied

How to use Uppy with ActiveStorage Discussion

37
General
Thanks for this!
Brian Carpenter replied

fdsfds

0
General
Solved

Properly adding Turbolinks 5 event handling

0
General
Here's what I understand: * Turbolinks preserves the `window` and `document` from request to request * As a result, I should add click/change listeners to the window/document once when the js is f...

learning ruby

1
General
Hi) probably I will ask a banal question, but I'm wondering if I can master ruby at a good level, which will allow me to get a position in the middle of the developer, against the background of th...

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.