Topic: extended active record associations
In my model I currently have
class Project < ActiveRecord::Base has_many :milestones
Now I need to do something funky that doesn't something like this
class Project < ActiveRecord::Base def milestones_augment external_milestones = (get external milestones) milestones = self.milestones milestones << external_milestones return milestones end
Basically I am doing something different where I have to grab some external data and add it to the initial milestones association.
The thing is, I would like to keep the parameters (:order, :conditions, etc), passed in as usual.
Any advice how to do this?