Displaying 1 result from an estimated 1 matches for "attribute_record".
2011 Jul 26
0
active record wants root password, not sure why ..
When I run a command program (rails 3/ruby 1.9.2) as this:
class MsdsAttr < ActiveRecord::Base
include MsdsAttrModule
belongs_to :attribute_record, :polymorphic => true
has_many :attribute_values, :foreign_key => ''attribute_id''
has_many :alt_values, :as => :alternative
has_many :msds_ingredients
end
ActiveRecord::Base.establish_connection(
:adapter => "mysql",
:host => "localhost",...