Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Count of a relation using arel in active record

Ruby on Rails: Nested named scopes

Rails polymorphic association without Type (unique id)

rails active record: update a table with join

Securely escaping dynamic table names in MySQL using Codeigniter

Why are individual SELECT queries running when an all-encompassing SELECT already ran? (Rails/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