Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails join with max condition

How do I add a custom field to a model in Laravel?

How to require ActiveRecord In IRB

Express SQL UNION query Rails way

Grouping AND and OR clauses with Arel

How get sum of field in the related table in one query in Yii2

mysql activerecord yii2

How to group by a range of values in ActiveRecord (ruby on rails)?

accessing current_user in model; has to be a better way for logging and auth

how to set unique constraint over 2 columns when one column can be null

Many To Many vs One to Many

Rails 6 while running sidekiq database configuration does not specify adapter

Yii Active Record COALESCE not displaying result

php activerecord yii coalesce

Trouble optimizing Rails queries in controller

Finding all combinations of record

Flag invalid attribute in ActiveRecord