many to many relation in Rails
References
Reference NO 1
http://guides.rubyonrails.org/association_basics.html
Reference NO 2
http://stackoverflow.com/questions/5120703/creating-a-many-to-many-relationship-in-rails-3
Reference NO 3
http://railscasts.com/episodes/47-two-many-to-many
Reference NO 4
http://blog.hasmanythrough.com/2007/1/15/basic-rails-association-cardinality
Reference NO 5
http://kynatro.com/blog/2012/12/16/building-a-has_many-through-model-relationship-and-form-with-cocoon/
Reference NO 6
http://toranbillups.com/blog/archive/2010/09/09/How-to-model-a-many-to-many-relationship-in-rails/
Reference NO 7
http://createdbypete.com/articles/working-with-nested-forms-and-a-many-to-many-association-in-rails-4/
Reference NO 8
http://apidock.com/rails/ActiveRecord/Associations/ClassMethods/has_many
No comments:
Post a Comment