Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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

how to test collections of ActiveRecords in rspec?

How to call ActiveRecord validators as instance methods (ala Sequel)?

Rails where not in array

How to get an array of table names in ruby

Why is synchronous SQL "bad"?

Rake db:setup or rake db:create applying wrong username/wrong database

before_validation, on: :save vs before_save

In Ruby on Rails, how to create a record with ID 3 when it was destroyed earlier?

How can I skip active record validations in some special cases?