Topic: undefined method `validates_assoctiated'...

Any ideas what might cause this error.

class Trigger < ActiveRecord::Base
  has_one :trigger_directory
  validates_assoctiated   :trigger_directory
end

class TriggerDirectory < Directory
end

class Directory < ActiveRecord::Base
  acts_as_tree  :order => "name"
end

Re: undefined method `validates_assoctiated'...

errr... nm i can't spell tongue

Re: undefined method `validates_assoctiated'...

I sure do, you misspelled associated smile

validates_assoctiated

should be

validates_associated

smile

Re: undefined method `validates_assoctiated'...

thanks for rubbing it in smile

Re: undefined method `validates_assoctiated'...

and just so you know it's spelled

A-S-S-O-C-I-A-T-E-D

smile

Re: undefined method `validates_assoctiated'...

Just for the record, I'm a poor typer... not a poor speller