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
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
Rails for Beginners Part 12: Validations Discussion
10
General
I tried copying this regex "\A[^@\s]+@[^@\s]+\z" to https://rubular.com/ but it aren't working until I remove the \A and \z making this [^@\s]+@[^@\s]+ before it could work, any reason for that?
Jerry Lupo replied
User Referral Program From Scratch Discussion
23
General
Just the thing I was needed for a current project, as usual, perfect timing Chris !
Ajay Mishael replied
Price Discount
0
General
hi.. I would like to have an anual subscriptions, 200 usd a year is a number for me, do you have some discount available for Argentina's student ?
Thanks
Pablo
Pablo Rodriguez posted
iTunes Controller Code Review: Part 3 Discussion
2
General
These refactoring series are great. Thanks for taking us through it. Any plans on sharing the source?
Chris Oliver replied
Testing API Requests Discussion
0
General
I am getting an error "Faraday::Adapter::Test::Stubs::NotFound: no stubbed request for post" and cannot find anything that could be wrong.
######secret_test.rb#########
```
stub_token = stub_requ...
Miroslav Kralik posted
Login with Facebook Discussion
30
General
Thanks for the video—it was great! I would love to see how you'd approach managing multiple OmniAuth strategies for a single user without Devise.…
How to use Partials in Rails Discussion
0
General
The closing quotation mark is missing, and the backticks are misleading. (I'm guessing they were added for formatting markdown, but due to some change in the blog they are now appearing as visible...
Brandon posted
Muliple has_one's on a polymorphic association
1
General
I wish to add a billing_address and a delivery_address to my Client's.
So i thought i would make my Addresses polymorphic.
```ruby
class Client < ActiveRecord::Base
has_many :addresses, as: ...