Ruby On Rails : Bidirectional Associations

It has been found that in any activerecord relationship you can point to either of the object at either of the ends. But, there exists a situation where it behaves odd from the mainstream.

Continue reading

Rails : has_many (through) Association : Assign values or make complex queries

To be continue..

Lets consider an entity relationship as following where there could be many to many or one to many relationship through a join table as described below. Continue reading