From 7686e3786f8590cb4c18f070458fdea798a4bfaa Mon Sep 17 00:00:00 2001 From: bogdanRada Date: Thu, 21 Nov 2013 15:54:14 +0200 Subject: [PATCH] fix --- app/helpers/washout_builder_helper.rb | 2 +- lib/washout_builder/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/washout_builder_helper.rb b/app/helpers/washout_builder_helper.rb index ebb088e..5bead57 100644 --- a/app/helpers/washout_builder_helper.rb +++ b/app/helpers/washout_builder_helper.rb @@ -3,7 +3,7 @@ module WashoutBuilderHelper def get_complex_class_name(p, defined = []) complex_class = nil - complex_class = p.basic_type if p.is_complex? + complex_class = p.basic_type.to_s.classify if p.is_complex? if !complex_class.nil? && !defined.blank? diff --git a/lib/washout_builder/version.rb b/lib/washout_builder/version.rb index 3df1200..6b51250 100644 --- a/lib/washout_builder/version.rb +++ b/lib/washout_builder/version.rb @@ -1,3 +1,3 @@ module WashoutBuilder - VERSION = "0.3.0" + VERSION = "0.3.1" end