Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How do I get the size of a ruby object in mb in Rails?

Rails 4: combining has_many :through association with polymorphic association

Has Many 'finder_sql' Replacement in Rails 4.2

Mass/bulk update in rails without using update_all with a single query?

Rails & MSSQL 2008 - Will We Hit Barriers?

What is the purpose of :conditions on a belongs_to association?

Ruby on Rails: Unit Testing non activerecord models and still load fixtures

Ruby on Rails: why ActiveRecord uses "datetime" type instead of "timestamp" for timestamp fields?

silently skip add with before_add association callback instead of raising an exception?

Rails Postgresql multiple schemas and the same table name

Yii Relational record with condition from other table

php activerecord yii

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