recentpopularlog in

activerecord

« earlier   
302 Found
Most software developers use a tool to keep track of code history. Git is a fantastic example that’s used widely across the industry. Type git log and you can see all the changes made to a codebase…
rails  ruby  activerecord  eventsourcing 
6 days ago by geetarista
GitHub - instructure/switchman
GitHub is where people build software. More than 27 million people use GitHub to discover, fork, and contribute to over 80 million projects.
activerecord  ruby  sharding  instructure 
10 days ago by geetarista
ActiveRecord::Associations::ClassMethods
Associations are a set of macro-like class methods for tying objects together through foreign keys.
rails  ruby  activerecord  database  associations 
22 days ago by parpalo
MaxLap/activerecord_where_assoc: Make ActiveRecord do conditions on your associations
Make ActiveRecord do conditions on your associations. Add powerful methods to add conditions based on the associations of your records. (Using SQL's EXISTS operator)
activerecord  sql 
24 days ago by stevenharman
Event Sourcing made Simple – Kickstarter Engineering
Based on those requirements, we decided to make the Event Sourcing framework an implementation detail of the back-end. The event sourcing implementation is not surfaced to GraphQL. The client application consuming the GraphQL API is not aware there is some Event Sourcing going on behind the scene.
We wanted the Aggregates to be regular ActiveRecord models that follow patterns that you’d find on a regular Rails application. This way, we could remove the Event Sourcing framework altogether and replace it with in-place data mutation: create!, update! and destroy! calls.
We looked at various Event Sourcing frameworks written in Ruby but most of them were actually too complex for our needs or would store data in a way that was too different from your regular Rails app. So we decided to build our own minimal framework. It’s about 200 lines of code.
activerecord  event-sourcing  ruby  rails 
24 days ago by stevenharman
Master Many-to-Many Associations with ActiveRecord — SitePoint
"Modeling many-to-many relationships between data entities in the ActiveRecord world isn’t always a straightforward task. Even if we have a well-defined ER diagram to work with, it’s not always clear which ActiveRecord associations we should be using and what the implications of our decision will be."
rubyonrails  associations  activerecord  database  post  reference  webdev 
4 weeks ago by eugenexxv

Copy this bookmark:





to read