Skip to content

Fix attachment setter method to handle nil filename#31

Merged
bobvanoorschot merged 10 commits into
mainfrom
Optional-filename
Apr 4, 2024
Merged

Fix attachment setter method to handle nil filename#31
bobvanoorschot merged 10 commits into
mainfrom
Optional-filename

Conversation

@bobvanoorschot
Copy link
Copy Markdown
Collaborator

@bobvanoorschot bobvanoorschot commented Apr 2, 2024

Allow a nil to setter for attachable. Now it is not possible to use attachment=, only to use .attach. The attach method uses an autosave, so is not always the ideal method to use.

For reviewer

Change in storage_tables.rake is to fix rubocop check.
File is deleted in: #17

Comment thread lib/storage_tables/attachable/changes/helper.rb
@bobvanoorschot bobvanoorschot merged commit 59d8d09 into main Apr 4, 2024
@bobvanoorschot bobvanoorschot deleted the Optional-filename branch April 4, 2024 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants