Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

ActiveRecord - select first record from each group

Use PostgreSQL JSON column type with Rails 3

How convert a string into a ActiveSupport::TimeWithZone?

What is NHibernate session exactly?

performant ordering of keys in a MySQL compound index (WRT Rails Polymorphic associations and STI)

Are there any ETL tools that integrate with Rails models?

Stack level too deep in activesupport callbacks

Codeigniter deleting data with joins tables

How to use JOIN in Yii2 Active Record for relational model?

php mysql activerecord yii2

Rails - Active Record Join across 3 Tables

ActiveRecord joins condition satisfy all relations

PG::InvalidColumnReference: ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list

Rails: eager-loading on an already-left-joined table?

How does this deprecate method work?

Throw an exception whenever someone tries to mass-assign protected attributes

Multiple database tables within one AR model in Rails 3

using multiple scope params in Rails3

Check to See if A Particular Active Record Object Is In A Particular 'Scope'

What is the "rails way" to access a parent object's attributes?

Belongs_to and has_and_belongs_to_many to the same table in Rails