-> MongoDB + Mongoid (2011)
-> MySQL + ActiveRecord (2014)
-> SQLite + ActiveRecord (2026)
-> MongoDB + Mongoid (2011)
-> MySQL + ActiveRecord (2014)
-> SQLite + ActiveRecord (2026)
Explaining ActiveRecord to seniors: it’s SQL, but sneakier.
Explaining ActiveRecord to seniors: it’s SQL, but sneakier.
User.where(created_at: ..Time.current)
Or .where(created_at: Time.current..)
#til
User.where(created_at: ..Time.current)
Or .where(created_at: Time.current..)
#til
One gem per day for 20 days, in no particular order.
No explanations, no reviews, just README links. (14/20)
github.com/zdennis/acti...
One gem per day for 20 days, in no particular order.
No explanations, no reviews, just README links. (14/20)
github.com/zdennis/acti...
The current target? ActiveRecord callbacks.
Get a large enough application and you have cascading callbacks across boundaries that become difficult to track.
The current target? ActiveRecord callbacks.
Get a large enough application and you have cascading callbacks across boundaries that become difficult to track.
activerecord-pattern ORMs: burn with fire
activerecord-pattern ORMs: burn with fire
Everyone gets a database!
Everyone gets a database!
www.youtube.com/watch?v=Sc4F...
And you can try out the activerecord-tenanted gem here:
github.com/basecamp/act...
www.youtube.com/watch?v=Sc4F...
And you can try out the activerecord-tenanted gem here:
github.com/basecamp/act...
https://www.reddit.com/r/madeinpython/comments/1jo5m6j/sqlactive_asynchronous_activerecordstyle_wrapper/
https://www.reddit.com/r/madeinpython/comments/1jo5m6j/sqlactive_asynchronous_activerecordstyle_wrapper/
# Wrap in an ActiveRecord transaction
ActiveRecord::Base.transaction do ...
# Wrap in an ActiveRecord transaction
ActiveRecord::Base.transaction do ...