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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
## [Unreleased]
2
2
3
+
## [0.4.1] - 2025-05-12
4
+
- Fixes a bug where if params contained expected falsey values, the form would treat them as nil.
5
+
for instance `form.submit({likes_cat: false})` would set `likes_cat` to nil instead of false.
6
+
3
7
## [0.4.0] - 2025-01-13
4
8
- Add `assigned_attribute_names` method to get the list of attributes that have been assigned during the last call to `assign_form_attributes` or `submit`.
5
9
This is useful in a context where you want to know which attributes have been passed to the form and only act on them rather than the whole attributes hash that might be partly empty (in API calls for example)
0 commit comments