I have added these two new attributes to the hypervisor model (hyperpass, hyperuser) and created the db migration file.
However when I run foreman I get the following error:
method_missing': undefined local variable or methodhyperuser' for #<Class:0x7f3abbc13868> (NameError)
from /opt/foreman3/vendor/plugins/searchlogic/lib/searchlogic/named_scopes/association_conditions.rb:19:in `method_missing'
I am not sure what I am missing but it looks like it has something to do with the search functionality. Any ideas?
class Hypervisor < ActiveRecord::Base attr_accessible :name, :uri, :kind, hyperuser, hyperpass
attr_reader :host validates_presence_of :name, :uri, :kind
validates_uniqueness_of :name, :uri
default_scope :order => 'LOWER(hypervisors.name)'
Green I.T and Datacenter Automation Specialist