Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Join Table issue with rails 6

Rails save serialized object fails?

yii2 : can't get data from two table with active record

activerecord yii2

How to get data of last 24 hours on top in rails

Rails 5 Eager load and then find_by

Constructing a 1-many relationship with custom string foreign keys in PGSQL ActiveRecord

Write query with JOINs, GROUP BY, and SUM()s using CodeIgniter's query building methods

yii2 - fetch data with activerecord in FETCH_KEY_PAIR array format

activerecord yii2

Get series of counts with conditions using ActiveRecord

Modyfying before_action

unable to remove duplicate records using active record query

CodeIgniter SQL query - how to sum values for each month?

How to write Rspec spec for the following query

Get elements by id array and order by this array

how to handle a :reject_if if a new record and not an update