Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails scope filtering elements with no has_many associated elements

Rails: Find what is the Oldest Item in a Table

Group function in belongs_to association rails

Yii2: custom setter method/data transformation doesn't work on ActiveRecord?

Yii2: How to check if activeRecord Model is Empty

php activerecord model yii2

NoMethodError: undefined method `pluck' for #<Model>

Rails fastest way to get table records count

Disable ActiveRecord in Ruby on Rails 5

active record where not doesn't include nil

How to define the sequence to use when creating a table in ActiveRecord migration in Ruby on Rails 5.2?

Can ActiveRecord connect to PostgreSQL remotely and protect the DB password?

Rails How to get all the grandchildren of an ojbect

Foreign key (class_id) not populating in belongs_to association

How to insert records using select in codeigniter active record

Code igniter MySQL AES with active records?

Rails: If Foo has_many :bars, do all :bars need to belong_to a Foo?

How to build a good API on top of a bad database?

Passing parameters to raw SQL queries inside ruby on rails

Rails meta_search gem: sort by count of an associated model

ActiveRecord 3.1.0 multiple databases

ruby activerecord