lib/gooddata/models/blueprint/schema_blueprint.rb in gooddata-0.6.19 vs lib/gooddata/models/blueprint/schema_blueprint.rb in gooddata-0.6.20
- old
+ new
@@ -120,10 +120,10 @@
# Returns title of the dataset. If it is not set up. It is generated for you
# based on the name which is titleized
#
# @return [String]
def title
- data[:title] || data[:id].titleize
+ data[:title] || GoodData::Helpers.titleize(data[:id])
end
# Validates the blueprint and returns true if model is valid. False otherwise.
#
# @return [Boolean] is model valid?