Closed tbotaq closed 3 years ago
Hi.
The following code of ActiveFile::Base.full_path shows that the first dot of file extension is not needed when a programmer overrides ActiveFile::Base.extension. https://github.com/zilkey/active_hash/blob/1a07f3ea7b4920f35843010cc515be8c8695e612/lib/active_file/base.rb#L36
ActiveFile::Base.full_path
ActiveFile::Base.extension
So I'm removing the first dot from the example code to go with the implementation of ActiveFile::Base.full_path.
Hi.
The following code of
ActiveFile::Base.full_path
shows that the first dot of file extension is not needed when a programmer overridesActiveFile::Base.extension
. https://github.com/zilkey/active_hash/blob/1a07f3ea7b4920f35843010cc515be8c8695e612/lib/active_file/base.rb#L36So I'm removing the first dot from the example code to go with the implementation of
ActiveFile::Base.full_path
.