Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Eager loading association but limit return

Is it possible to access a child object from the errors on an active record parent?

Active Record has_many generates sql with foreign key IS NULL

Yii - Multiple relations to the same model

Postgresql table values don't match Ruby on Rails Active Record query results

activerecord preloading causing after-effect performance degredation

Models not reloading in development in Rails (3.2.11) project

Active Model Serializer and Custom JSON Structure

What's the point of disabling transactions (in ActiveRecord CodeIgniter)?

Preload associations of an already loaded model

Rails ActiveRecord joins the same table twice

Accepts_nested_attributes_for raises ActiveRecord::InvalidForeignKey: PG::ForeignKeyViolation: ERROR

Activerecord where condition with join without table name prefix

Pluck and ids give array of non unique elements

Using Rails' active record, is there another way to get a rollback without raising an exception?

Count and Sum in Join sub query - can I build this sql query using ActiveRecord?

ActiveRecord getter breaks validation

How do I reuse connections in ActiveRecord?

ruby activerecord sinatra

Getting the SQL from a Rails Migration

Rails: No connection pool for ActiveRecord::Base