Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

has_many association .build is not saving object in DB for Rails 6.1

Rails Scope with Multiple Conditions on itself and nested attribute

Advantage with using "defined" ORM:s in PHP?

ActiveRecord returns "argument out of range" for Time of 26:12

Assign association for Activerecord model without automatic save

Database configuration does not specify adapter (Sinatra + Heroku + Activerecord)

activerecord heroku sinatra

How to insert into a many_to_many table using Rails 3 active record from the console

ActiveRecord connection select from a postgresql function

Rails - upsert no unique index found

Manually initialize ActiveRecord object with custom select values

Get records based on other table

How can I force rails to treat an oracle Date field as DateTime?

Inheritance from ActiveRecord Object

ActiveForm Name in yii2

activerecord yii2

has_and_belongs_to_many and unique index on association table generates "Duplicate entry" fail

ActiveRecord::AssociationTypeMismatch error connecting a model to itself through another model with Rails 3