search for: patchcabl

Displaying 1 result from an estimated 1 matches for "patchcabl".

Did you mean: patchcable
2006 Mar 16
2
please help: "undefined method ''updated?''"
...s_and_belongs_to_many :groups validates_presence_of :name, :he validates_uniqueness_of :name validates_numericality_of :he [...] end ------------------- models/device.rb --------------------- class Interface < ActiveRecord::Base belongs_to :device belongs_to :cable belongs_to :patchcable validates_presence_of :name, :device_id [...] end I want to add a comment to an existing interface, so here''s the update method: ------------------- controllers/interfaces_controller.rb --------------------- [...] def update @interface = Interface.find(params[:id]) unless...