Displaying 2 results from an estimated 2 matches for "parentobject".
2006 Jun 09
0
has_many :through troubles
Hi list
I have a question related to an has_many :through association.
Basicly I have a form that updates the entire has_many :through
collection AND the parent object.
from the form I have:
params[:parentobject] (all the attributes related to the parent object)
and
params[:childid]
an array of all the destination ID of the has many through association
How can I cleanly (and maybe atomicly since I''m using postgres)
destroy and create the needed records in the join table within the
update stat...
2005 Aug 29
9
can a class find out it''s instance name?
Hi friends - a javascript question....
Does the prototype object add some way for a class to find out the
variable name of its instance variable?
Or does javascript have some built in way to do this?
This is confusing to describe - but if I define a variable as some
object:
var myVariable= new Widget(''fdfa'');
can some built-in method inside the Widget class be