igor_alexandrov Profile Banner
Igor Alexandrov Profile
Igor Alexandrov

@igor_alexandrov

Followers
2K
Following
10K
Statuses
8K

Ruby SWE, JetRockets CTO, @Docker Captain. Father of πŸ‘§πŸ‘§. Blog πŸ“’ – https://t.co/zBSqLSawEO YouTube πŸ“Ί – https://t.co/ee53njLfon

Joined August 2009
Don't wanna be here? Send us removal request.
@igor_alexandrov
Igor Alexandrov
12 days
#Rails has an almost perfect Dockerfile out of the box. I decided that it will be good to explain every line, every optimization applied to it for everybody. Meet the first article in a series – image size optimizations. #rails #docker #ruby
6
23
206
@igor_alexandrov
Igor Alexandrov
2 hours
Always!
@catalinmpit
Catalin
16 hours
Use pull requests even when you code solo. It creates a nice timeline of all the work you did and can easily refer to it. You can also revert a PR in case shit hits the fan. May seem like a waste of time, but it’s quite the opposite.
Tweet media one
0
1
1
@igor_alexandrov
Igor Alexandrov
1 day
@SebsterSpeaks I am more about planning and management. But collaboration between teams also matters a lot.
1
0
1
@igor_alexandrov
Igor Alexandrov
1 day
@SebsterSpeaks Usually because they want to be a different person online… but this is silly.
1
0
1
@igor_alexandrov
Igor Alexandrov
2 days
@collin_jilbert One more reason to upgrade to 3.4. Love it. As well as arguments sugar foo(x:, y:) introduced in 3.1.
0
0
1
@igor_alexandrov
Igor Alexandrov
4 days
@marcoroth_ @tropicalonrails I am glad, I will meet you in person, Marco!
2
0
1
@igor_alexandrov
Igor Alexandrov
4 days
@viktorianer4 Why not? In my example, they work perfectly there.
0
0
0
@igor_alexandrov
Igor Alexandrov
4 days
@nicogaldamez Sidekiq scheduler or SolidQueue scheduler are the best options.
0
0
3
@igor_alexandrov
Igor Alexandrov
4 days
@iamthadeu I see hi cohesion in the example (which is good), but not a high coupling. Both Invoice and PaymentReminder objects are from the same module (even the codebase is not physically modularized). For me there are no OOP design violations here.
0
0
0
@igor_alexandrov
Igor Alexandrov
5 days
Today, the era of #AWS Beanstalk ended for the SafariPortal – We moved the deployment to #Kamal 2. Besides cutting the time needed to run the full workflow twice, we removed a number of Nginx host files, a ton of AWS configs and simplified the overall infrastructure. The most significant result – we do not depend on any proprietary technologies now. It opens some space to move…
0
0
0
@igor_alexandrov
Igor Alexandrov
5 days
@tropicalonrails @fractaledmind @PrevailLegal What a great news! @fractaledmind I will finally meet you in person.
0
0
1
@igor_alexandrov
Igor Alexandrov
5 days
@juliknl Maybe I need to find a better method name…
0
0
0
@igor_alexandrov
Igor Alexandrov
5 days
@viktorianer4 Not exactly, I only initialize it. In my use case I do to display nested forms on the page.
1
0
1
@igor_alexandrov
Igor Alexandrov
5 days
@viktorianer4 They are for many things, but usually, there are examples of implementing `find_or_do_something` methods.
1
0
0
@igor_alexandrov
Igor Alexandrov
5 days
@foreignorchid Please share your results when you are done.
0
0
0
@igor_alexandrov
Igor Alexandrov
5 days
@foreignorchid This is exactly the same use case I had, with only difference that I had 'has_many'. It should work great for you.
1
0
1
@igor_alexandrov
Igor Alexandrov
5 days
@foreignorchid If you are talking about something that has already been saved to the DB – use `includes`, `preload`, `eager_load` instead.
1
0
1
@igor_alexandrov
Igor Alexandrov
5 days
RT @igor_alexandrov: What do you think of setting default values for #Rails `has_many` associations by extending it with a custom method?…
0
3
0
@igor_alexandrov
Igor Alexandrov
5 days
@jakeonrails Can you please share the use case?
1
0
0