Simple Form v3.5.1 Release Notes

Release Date: 2018-02-15 // over 4 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 implement def to_model; self; end. Otherwise, Simple Form will convert the decorated object to the model since SimpleDelegator 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