We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I implemented the multi-file upload functionality in my new project, and when i call now image.identifier it returns nil.
image.identifier
nil
Example in console:
shoe = Shoe.first shoe.images[0].url # => "/uploads/shoe/images/1/2_4.jpg" shoe.images[0].path # => "/full-path/public/uploads/shoe/images/1/2_4.jpg" shoe.images[0].identifier # => nil
In the meantime i am using
shoe.images_identifiers[0]
Branch: master Ruby: 2.2.0 Rails. 4.2.0
The text was updated successfully, but these errors were encountered:
Yeap, this happens if you are using the same attribute as a mounter and a serialization column.
In order to get the identifier, you can use the image_identifiers method that you already to or
image_identifiers
shoe.images[0].file.identifier
Sorry, something went wrong.
3f540b9
No branches or pull requests
I implemented the multi-file upload functionality in my new project, and when i call now
image.identifier
it returnsnil
.Example in console:
In the meantime i am using
Branch: master
Ruby: 2.2.0
Rails. 4.2.0
The text was updated successfully, but these errors were encountered: