Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Better way to find unique record in has_many through relationship

Order of multi column index in rails polymorphic association

ActiveRecord - find records that its association count is 0

rails inverse of a scope

Rails Active Record: 'attribute_before_last_save' vs 'attribute_was'

How to use common named_scope for all ActiveRecord models

Next, Previous Records Using Named Scope

Validate presence of nested attributes

Read database.yml from inside ActiveRecord migration

ruby activerecord

How to convert apache log time to activerecord :datetime

How to Inspect Validations that exist on ActiveRecord::Base Objects

Rails 3: How can I find rows in a table that were created today?

How to I make my custom mySQL query to in rails 3?

Can I write this query more elegantly with AREL/ActiveRecord?

ruby activerecord arel

Rails ActiveRecord: legacy table without primary key shows nil for result?

Is there a way to remove the id column in a subsequent Rails 3 ActiveRecord migration?

Explanation of proxy_association to find unassociated records

How to always include a model for eager loading

Active Record query to match every subset element

Namespaced models causing UndefinedTable error