Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Yii activerecord and pagination count() slow query

mysql activerecord yii

Dynamically change database connection Yii

How to group by date regardless of time?

What kind of exception is raised by ActiveRecord::lock!?

Filtering fields from ActiveRecord/ActiveModel JSON output (by magic!)

Formtastic form throws "undefined method" error with has_one association

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