Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Fetch latest rows grouped by uniqe field value

How to use rich_text_area with simple_form in Ruby on Rails 6?

rails/mysql - how do i silence out ActiveRecord::StatementInvalid error?

mysql activerecord

Rails 5.1 with ElasticSearch 7.1 reindex error

Rails: How do I validate uniqueness of certain types in an enum

Rails Associations Riddle: User, Lecturer, Student and Event

ActiveRecord query with multiple joins not recognizing the relations

Yii record is not inserting into DB

How to make these two simultaneous transactions succeed at all times, without causing a uniqueness violation?

How to implement `upsert` for PostgreSQL in ActiveRecord?

Rails joins query

How can I save a hash in my rails database?

Rails 5.1: retrieve records for nested association with includes

Is it possible to change active record associations in memory without saving them to the database?

Rails ActiveRecord belongs_to association not loading

TypeError (nil can't be coerced into Float):

Returning distinct or grouped records from a postgres DB using active record queries

Decrease column value via update query with join clause using CI's active record [duplicate]

Multiple Join Optimization in ActiveRecords Rails