Cells v3.5.4 Release Notes

  • 🛠 h3. Bugfixes

    • state-args work even if your state method receives optional arguments or default values, like @def show(user, age=18)@.

    h3. Changes

    • Cell::Base.view_paths is now setup in an initializer. If you do scary stuff with view_paths this might lead to scary problems.
    • Cells::DEFAULT_VIEW_PATHS is now Cell::Base::DEFAULT_VIEW_PATHS. Note that Cells will set its view_paths to DEFAULT_VIEW_PATHS at initialization time. If you want to alter the view_paths, use Base.append_view_path and friends in a separate initializer.