Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails query related tables column value

Rails shows non existent database records

Querying From :through Association

Friendship model, how to determine if a friendship model already exists between 2 users

DB query that orders a collection by an association's attribute value

when to ditch active record?

The right way to remove attribute from rails model object

ActiveRecord #includes, with condition, but load all relations, not just those matching condition

Rails: Data too long for column

How do I redirect to 404 page when any records do not exist?

Rails Foreign Key violation deleting has_many relationships with dependent destroy

Finding annual dates with Rails 3.1 ActiveRecord Queries

Rails & Active Record: Create a scope to get the most recent child

Changing like query in a rails_admin association

Rails: ActiveRecord add calculated columns to query result ActiveRecord::Relation / ActiveRecord::Base

Any difference between :model and :model_id in attr_accessible for Rails/ActiveRecord?

ruby on rails 3 reload using cached data

How can I recieve array using Yii ActiveRecord

arrays activerecord yii

rails belongs_to through via association