lib/neo4j/rails/model.rb in neo4j-1.0.0.beta.7 vs lib/neo4j/rails/model.rb in neo4j-1.0.0.beta.8
- old
+ new
@@ -54,10 +54,10 @@
# enables ActiveModel::Dirty and Validation
def method_missing(method_id, *args, &block)
if !self.class.attribute_methods_generated?
- self.class.define_attribute_methods(self.class.properties_info.keys)
+ self.class.define_attribute_methods(self.class._decl_props.keys)
# try again
send(method_id, *args, &block)
end
end