Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How to generate database schema graph for one application using ActiveRecord?

Using OrientDB's JDBC driver with ActiveRecord

gem groupdate issue with 2 timezones for same column

Rails: how to eager load limited records of ordered association without N+1 queries

What to use instead of Polymorphic Associations?

Rails: batched attribute queries using AREL

How was ActiveRecord "none" method implemented with NullRelation?

How to establish_connection with more than one database in parallel in Rails?

Table name corruption errors in ActiveRecord

Is it OK to specify a schema in `table_name_prefix`?

How to make attribute setter send value through SQL function

Multiple database connections: schema_migrations is looked up in the wrong database

Rails: How do I get only the saved models with .collection?

Given a record and order conditions, find record(s) after or before

Rails Postgres reconnection on failover for RDS

rails 5 has_many through order on through table

Rails add_index algorithm: :concurrently still causes database lock up during migration

Rails: join with multiple conditions

serious stuck on: validations not triggered for nested resource with fields_for

Where to put validations when following a DCI design?