You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2022. It is now read-only.
def relative_path_prefix
raise RuntimeError.new("Trying to access file_column, but primary key got lost.") if @instance.id.to_s.empty?
File.join(*("%08d" % @instance.id).scan(/..../))
end
The id of my object with file_column gets more than 8 digits and the directory paths sometimes conflict because of this.