Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How to remove column without downtime with ActiveRecord 3.1?

Result from ActiveRecord::Base.connection.execute(sql) - PostgreSQL

rails + activerecord: how create a hash from table with particular field's value as key

activerecord hash

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