Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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

Rails: Self referential parent/child hierarchy without through table

Change 'ORDER BY' Chain on ActiveRecord Subset

Speeding up large data graph query and rendering with AMS

Rails: No connection pool for ActiveRecord::Base