ruby string for route issue -
i going save route ruby string. , met issue.
b = b.new b.str = "/json.log" puts b.str b.save result: null and if change str field in navicat shows this.
puts b.str result:
public/uploads/b/src/1/json.log is there can me ruby string , route?
i made following code.
mount_uploader :str, jsonuploader it converted '/json.log' null in table , converted '/json.log' in table 'public/uploads/b/src/1/json.log'
result: mount_uploader can't set route string.
Comments
Post a Comment