Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in has-many

counter_cache in single table inheritance

How do I write a Rails finder method where none of the has_many items has a non-nil field?

Rails / Papertrail: Changeset with association changes

Indexes for has_many :through

How can I find records by "count" of association using rails and mongoid?

Rails determine if association is has_one or has_many

hasMany condition show unwanted records cakephp 1.3

cakephp has-many

Why in the world would I have_many relationships?

CakePHP Model Relationship with Multiple Foreign Keys

Multiple hasMany relationships to same domain class in Grails

grails grails-orm has-many

Rails, Deleting Children without Deleting Parent using :has_many

Rails form with nested attributes (accepts_nested_attributes_for)

Create association between two instancied objects

Check if at least one record have a given attribute set to true

How to get highest count of associated model (Rails)?

In Rails how do I build a has_many association that has a scope

No association found for name - Nested Form Rails 4

Rails 3 has_many changed?

Backbone-relational hasmany best practices

In Ruby on Rails, how can I create a scope for a has_many relationship?