Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Polymorphic models hackery

Lazy scopes in Rails

"Integration" between Rails' ActiveRecord and Java's Hibernate

Multiple Left join with rails 4

Sorting by virtual attribute in Rails

Rails & ActiveRecord: Appending methods to models that inherit from ActiveRecord::Base

Rails 3: using composed_of with validation causes ActiveRecord error

Yii2 ActiveRecord : composite IN condition

sql activerecord yii2

Check if mysql table already exist

mysql ruby activerecord

Why does the Rails guide suggest using the scoped method on associations?

Rails: How do I cancel a save if before_update callback returns false?

ActiveRecord execute raw transaction typecasting?

Ruby on Rails Time In / Time Out Records

How to query WHERE (ColA, ColB, ColC) IN ((a1, b1, c1), (a2, b2, c2), ...)

has_one association with optional: true?