I have a model with two attributes, and a bunch of temporary attr_accessors.
class DailyModel
include DataMapper::Resource
property :id,Serial
property :name, String, :nullable => false
property :yaml, String, :nullable => false
attr_accessor :usage,:max_instances,:model_min,:day,:ami_type,:model_max,:ami_types,:instance_hours,:weekend_days,:weekend_usage,:ri_one_time,:temp_hash
For some reason the yaml attribute does not save unless I change the name attribute. is there some namespace clobbering happening somewhere, or is this a bug in the way update works?
I have a model with two attributes, and a bunch of temporary attr_accessors.
class DailyModel
include DataMapper::Resource
property :id,Serial
property :name, String, :nullable => false
property :yaml, String, :nullable => false
attr_accessor :usage,:max_instances,:model_min,:day,:ami_type,:model_max,:ami_types,:instance_hours,:weekend_days,:weekend_usage,:ri_one_time,:temp_hash
For some reason the yaml attribute does not save unless I change the name attribute. is there some namespace clobbering happening somewhere, or is this a bug in the way update works?