andreasronge/neo4j — Issue #154: Unable to set default boolean property
Author: pehrlich
Created: 2012-02-09 04:27:10+00:00
State: open

property :maybe, :type => :boolean, :default => false
#RuntimeError: The type FalseClass is unknown. Use one of Symbol, Time, String, Boolean, Date, Serialize, Fixnum, Float, DateTime or create a custom type converter.

property :maybe, :type => :boolean, :default => true.to_java
#RuntimeError: The type Java::JavaLang::Boolean is unknown. Use one of Symbol, Time, String, Boolean, Date, Serialize, Fixnum, Float, DateTime or create a custom type converter.