I have such angry associations: financings >- events >- subprograms >- programs. I want to get acces to last_financings from programs through all of them so code is:
This is probably quite simple but I haven\'t yet been able to wrap my head around the problem. I have 3 tables... (well more than that) but in this scenario 3 that matter.
I am still fairly new to rails and activerecord, so please excuse any oversights. I have 3 models that I\'m trying to tie together (and a 4th to actually do the tying) to create a permission scheme u
I hope someone has already experienced this. Please help me, how can i solve this problem: class Article < ActiveRecord::Base
Let\'s say I have a Course in which Students can enroll via a Membership (e.g. a has_and_belongs_to_many relationsip of Courses and Students).Some memberships are for students who are just observing t