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

Adding headers to spans question

1
General
Hello, I am working on updating a web application for student accounts. There’s a connection to SQL server and through php we are extracting https://omegle.onl/ data as spans (first name, last nam...
jamesdon replied

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

How to deploy Rails to a Staging Environment Discussion

1
General
Chris, Great video as usual. One question: when using custom environments, how do you handle Gem's that customize behavior based on Rails.env? For example: Rails.env.production? ? prod_thing : n...
Eitán replied

Contrasting Colors with YIQ and Helper Tests in Rails Discussion

1
General
Great Video For Learning..! I have just applied on my Website and it looks very well
jivizza12 replied

Mitigating Spammers with Recaptcha Discussion

0
General
Nice episode. But where do I find the source code?

MushroomObserver.org Now Hiring

0
General

Row-level Multitenancy with ActsAsTenant Discussion

8
General
Of all the multi tenancy methods you have used, which one do you think is the best. I know it depends, but I need your opinion, which one would your mind start thinking of?
bradley replied

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

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

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