Alexander Larrazabal in Active Record, SQL, Web development
· 3 min readJoining unexisting table with ActiveRecord
There are times when our database structure is not enough to retrieve specific information. Let’s see a use case! We have table packages that includes at least two columns: starts_at and ends_at. And we want to know the records that match anniversaries...