Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails includes query with conditions not returning all results from left table

ActiveRecord: how to reconnect to PostgreSQL automatically when connection drops?

Write join query with groupby in Scala ActiveRecord

ORM: OneToOne mapping on Non Primary-Key Join column - Book and Inventory mapped by ISBN

Advanced SQL in Rails

Intermittent ActiveRecord::RecordNotFound during Ruby on Rails Integration Tests

Rails validating that a Has Many relationship has at least 1 entry

Validate Rails attribute presence but allow empty string

belongs_to not using primary key option

What's the significant difference between active record and data mapper based ORMs?

orm activerecord datamapper

What is Object::private and Object::public in Ruby?

Rails validatation to ensure a username does not clash with an existing route?

Rails 3.1.3 unscoped scope

rails Multiple models in a single file

Build vs new in Rails 4

When does ActiveRecord establish connections?

Update multiple rows with one query in rails

E-commerce product filter db design

Yii2: get raw sql of model->save()

php activerecord yii yii2

Rails: Calling Model methods in to_json(:methods => [:model_method])