lib/faalis/generators/fields/relation.rb in faalis-0.22.0 vs lib/faalis/generators/fields/relation.rb in faalis-0.23.0
- old
+ new
@@ -24,18 +24,18 @@
"#{result}#{@to}"
end
def options
unless @options.empty?
- Hash[@options.split(',').map {|pair| pair.strip.split(':').map(&:strip) }]
+ @options
else
{}
end
end
def field_parents
if options.include? "parents"
- options["parents"].split(";")
+ options["parents"]
else
[]
end
end