Profile cover photo
Profile photo
Robert Pankowecki
316 followers
316 followers
About
Communities and Collections
View all
Posts

Post has attachment
3 different ways to write the same feature https://blog.arkency.com/doing-more-on-reads-vs-writes/ but with various complexity levels on read and write side of the app. Which way would you choose?

Post has attachment
Have you ever seen this pattern? Checkout out the article to learn more.

class Foo
NOT_PROVIDED = Object.new

def bar(one, two: NOT_PROVIDED)
# ...
end

https://blog.arkency.com/using-singleton-objects-as-default-arguments/

Post has attachment
Are you using React with Rails? Maybe integrated with Webpack thanks to Webpacker? Have you always wanted to test those components but configuring tests in JS seems hard? Here is a guide on how to start because there are dragons 🐉🐉 on the road and it took me some hours to figure it out from a few other tutorials.

https://blog.arkency.com/testing-react-dot-js-components-with-jest-in-rails-plus-webpacker-plus-webpack-environment/

Post has attachment

Post has attachment
Check out how setters can help simplify recalculating derived data so you don't need to use callbacks.

https://blog.arkency.com/on-activerecord-callbacks-setters-and-derived-data/

Post has attachment

Post has attachment
How did your code work recently when there were timezone changes in some countries?

http://blog.arkency.com/a-bug-that-only-appears-once-a-year/

Post has attachment
You might have heard about the Domain-Driven Design approach to building applications. In this approach, there is this horizontal layer called Application Service. But what does it do? What arguments does it take? How many operations can it perform? How does it cooperate with other parts of our application such as controllers and models? So many questions, not so many answers. So I decided to write down what I imagine this layer to look like based on the books and articles that I’ve read and also based on my personal feelings after years of experimenting.

http://blog.arkency.com/application-service-ruby-rails-ddd/

Post has attachment
What's your opinion on this controversial topic?

http://blog.arkency.com/could-we-drop-symbols-from-ruby/

Post has attachment
This is a short story which starts with being very surprised by mutation testing results and trying to figure out how to deal with it.

http://blog.arkency.com/constructor-for-a-included-module-in-ruby/
Wait while more posts are being loaded