RailsConf 2019 - ActiveRecord, the Repository Pattern, and You by Craig Buchek

RailsConf 2019 - ActiveRecord, the Repository Pattern, and You by Craig Buchek

Confreaks

5 лет назад

7,966 Просмотров

RailsConf 2019 - ActiveRecord, the Repository Pattern, and You by Craig Buchek

_______________________________________________________________________________________________

Cloud 66 - Pain Free Rails Deployments
Cloud 66 for Rails acts like your in-house DevOps team to build, deploy and maintain your Rails applications on any cloud or server.

Get $100 Cloud 66 Free Credits with the code: RailsConf-19
($100 Cloud 66 Free Credits, for the new user only, valid till 31st December 2019)

Link to the website: https://cloud66.com/rails?utm_source=-&utm_medium=-&utm_campaign=RailsConf19
Link to sign up: https://app.cloud66.com/users/sign_in?utm_source=-&utm_medium=-&utm_campaign=RailsConf19
_______________________________________________________________________________________________

ActiveRecord is big. You just won't believe how vastly, hugely, mind-bogglingly big it is. It does a lot. Many would say it does too much. For me, the biggest issue is that it combines 2 distinct pieces of functionality — modeling the domain, and abstracting database access.

For years, I've dreamed of separating these 2, while still staying on Rails' golden path. I finally found a way to do that. The benefits are high: faster tests, simpler code, decoupling from the database, automatic schema migrations — without much downside. Let's take a look and see if it might be for you and your project.
Ссылки и html тэги не поддерживаются


Комментарии:

@user-bh2sg6bd7m
@user-bh2sg6bd7m - 07.11.2020 00:34

v

Ответить
@aldisberjoza2749
@aldisberjoza2749 - 24.11.2019 02:50

Hanami Model uses older ROM

Ответить
@Pablo-Herrero
@Pablo-Herrero - 26.05.2019 22:09

ROM is the future of persistence in Ruby.

Ответить
@fabiobarboza7
@fabiobarboza7 - 26.05.2019 18:54

Amazing !

Ответить