Closed r7kamura closed 3 months ago
Because of the restriction that Ruby constant names must always begin with [A-Z], it would be desirable to make sure that this restriction is satisfied when naming dynamic constants.
[A-Z]
It was implemented well in carrierwave v2, but when object_id was removed from the constant name at https://github.com/carrierwaveuploader/carrierwave/commit/a9de7565eabb4cdca05bb090cdf797eb1720c09c, Uploader prefix was also removed at the same time for some reason.
object_id
Uploader
Ah I didn't realize this point. Thank you so much!
Because of the restriction that Ruby constant names must always begin with
[A-Z]
, it would be desirable to make sure that this restriction is satisfied when naming dynamic constants.It was implemented well in carrierwave v2, but when
object_id
was removed from the constant name at https://github.com/carrierwaveuploader/carrierwave/commit/a9de7565eabb4cdca05bb090cdf797eb1720c09c,Uploader
prefix was also removed at the same time for some reason.