Simple Form v3.5.1 Release Notes
Release Date: 2018-02-15 // about 6 years ago-
โจ Enhancements
- Exclude hidden field when unchecked_value: false. @fschwahn
- Add frozen_string_literal magic comment to several files. @oniofchaos
- Try convert @object to model in case we got decorated object @timurvafin
- From now, if you are using some object that inherits from
SimpleDelegator
, you must implementdef to_model; self; end
. Otherwise, Simple Form will convert the decorated object to the model sinceSimpleDelegator
will delegate it to the model. - Code cleanup @Fornacula
๐ Bug fix
- ๐ Fix error when the scope from association has parameter. @feliperenan
- Only call
where
on associations when they respond to it. @anicholson - require 'action_pack' before using it. @etagwerker
- ๐ Check if Rails.env is defined. @etagwerker
- ๐ Fix minlength. @mameier
- Make errors_on_attribute return [] when not present. @redrick
- ๐ Fix boolean inputs in nested style for label non-string. @feliperenan