#activerecord — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #activerecord, aggregated by home.social.
-
JRuby's activerecord-jdbc-adapter doesn't yet support ActiveRecord 8. How should a gem which depends on ActiveRecord try to best support both CRuby and JRuby?
https://rubygems.org/gems/activerecord-jdbc-adapter/versions/71.0-java -
Shardines: SQLite3 Database-per-Tenant with ActiveRecord
https://blog.julik.nl/2025/04/a-can-of-shardines
#HackerNews #Shardines #SQLite3 #ActiveRecord #DatabasePerTenant #HackerNews
-
It's always great to see @rosa and she talked about her #SolidQueue implementation at #rubycommunityconference in #krakow.
She also gave a shout-out to @bensheldon's #goodjob and mentioned how @getajobmike's @sidekiq is blazingly fast.
#ruby #rails #queue #rubyonrails #activerecord #poland #37signals #backgroundprocessing #backgroundprocesses #sidekiq
-
It's always great to see @rosa and she talked about her #SolidQueue implementation at #rubycommunityconference in #krakow.
She also gave a shout-out to @bensheldon's #goodjob and mentioned how @getajobmike's @sidekiq is blazingly fast.
#ruby #rails #queue #rubyonrails #activerecord #poland #37signals #backgroundprocessing #backgroundprocesses #sidekiq
-
It's always great to see @rosa and she talked about her #SolidQueue implementation at #rubycommunityconference in #krakow.
She also gave a shout-out to @bensheldon's #goodjob and mentioned how @getajobmike's @sidekiq is blazingly fast.
#ruby #rails #queue #rubyonrails #activerecord #poland #37signals #backgroundprocessing #backgroundprocesses #sidekiq
-
It's always great to see @rosa and she talked about her #SolidQueue implementation at #rubycommunityconference in #krakow.
She also gave a shout-out to @bensheldon's #goodjob and mentioned how @getajobmike's @sidekiq is blazingly fast.
#ruby #rails #queue #rubyonrails #activerecord #poland #37signals #backgroundprocessing #backgroundprocesses #sidekiq
-
It's always great to see @rosa and she talked about her #SolidQueue implementation at #rubycommunityconference in #krakow.
She also gave a shout-out to @bensheldon's #goodjob and mentioned how @getajobmike's @sidekiq is blazingly fast.
#ruby #rails #queue #rubyonrails #activerecord #poland #37signals #backgroundprocessing #backgroundprocesses #sidekiq
-
Коммуникация по RESTful API: синхронизируем данные с маркетплейсами
В статье разбирается код на Ruby и в Ruby on Rails, в частности, на примере задачи по разработке web-сервиса синхронизации данных с внешними источниками. Погружение в программное решение начинается с разбора бизнес-задачи. Через освещение реальных API с маркетплейсов OZON и Яндекс.Маркет обосновываются способы принятия архитектурных решений и способы оптимизации кода. Эта статья также является авторской попыткой раскрыть принцы SOLID при реализации логики реального бэкенд приложения по переработке структурированных данных в условиях эксплуатации стороннего REST API.
https://habr.com/ru/articles/796169/
#ruby_on_rails #restful_api #postgresql #sidekiq #redis #solid #development #logger #ruby #activerecord
-
ActiveRecord's callback hell is worse than JavaScript's callback hell.
Prove me wrong.
#rails #ruby #callbacks #CallbackHell #ActiveRecord #javascript
-
ActiveRecord's callback hell is worse than JavaScript's callback hell.
Prove me wrong.
#rails #ruby #callbacks #CallbackHell #ActiveRecord #javascript
-
ActiveRecord's callback hell is worse than JavaScript's callback hell.
Prove me wrong.
#rails #ruby #callbacks #CallbackHell #ActiveRecord #javascript
-
Suppose you want a test in #Rails #ActiveRecord that says "make sure this scope has applied".
How about using `#annotate` in the scope definition, then testing the generated SQL for the presence of the annotation text?
-
Suppose you want a test in #Rails #ActiveRecord that says "make sure this scope has applied".
How about using `#annotate` in the scope definition, then testing the generated SQL for the presence of the annotation text?
-
Suppose you want a test in #Rails #ActiveRecord that says "make sure this scope has applied".
How about using `#annotate` in the scope definition, then testing the generated SQL for the presence of the annotation text?
-
Suppose you want a test in #Rails #ActiveRecord that says "make sure this scope has applied".
How about using `#annotate` in the scope definition, then testing the generated SQL for the presence of the annotation text?
-
Suppose you want a test in #Rails #ActiveRecord that says "make sure this scope has applied".
How about using `#annotate` in the scope definition, then testing the generated SQL for the presence of the annotation text?
-
#Rails #ActiveRecord is very keen on binding variables. Perhaps too keen.
If you have a polymorphic association `batchable` then you get SQL like `batchable_type = $1`, but you'd need a lot of unique types for the benefits of bind variables to outweight to loss of accurate cardinality estimation, surely.
And implementing `#exists?` with a bind variable as `LIMIT $1` seems quirky.