Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Truncate table on migration down method of ActiveRecord Rails 3.1

How do I make ActiveRecord::Schema.define not log to stdout?

find_in_batches works only with integer-based primary keys?

Rails: how do you access belongs_to fields in a view?

Why Rails hides the existence of id column?

Convert executed SQL result to a list of Model object

Validate presence of associations in a many-to-many relation

Rails - Correct way to kill a running query

Stop Rails from trying to provide a template / ActionView::MissingTemplate

In Rails, does ordering by created_at need an index?

Changing enum value in Rails without saving model

How to properly use joins on polymorphic association in Active Record

Double Join Query Rails

Rails: In Rails how to use the model’s Attribute API on a tableless model

How can I determine if my ActiveRecord object violates a unique database key/index?

The Authlogic record method. What does this do

Rails/Activerecord database field timezone

Self-join on a table with ActiveRecord

Group by multiple columns in ActiveRecord

Make a one-off query to a different database and table