v1.7.0 #47
varyonic
announced in
Announcements
v1.7.0
#47
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The focus of v1.7 has been to:
In detail:
Arbre
calledArbo
. Elements are rendered usingrender_in
instead ofto_s
.render_in
may be used with either anArbo::Context
or anActionView::Context
.views/layouts/active_admin.html.erb
andviews/active_admin/_head.html.erb
.Views::Pages::Base
andViews::Pages::Layout
have been removed and are no longer available for subclassing or customization.views/active_admin/base/_header.html.arb
replacesViews::Header
views/active_admin/base/_title_bar.html.arb
replacesViews::TitleBar
views/active_admin/base/_action_items.html.arb
replacesViews::ActionItems
views/active_admin/base/_sidebar.html.arb
replacesViews::Sidebar
views/active_admin/base/_footer.html.arb
replacesViews::Footer
controller do ... end
is deprecated in favor of defining and adding to a subclass ofPageController
orResourceController
.actions
andbefore_|after_
callbacks should be defined directly in the controller.member_action
,collection_action
orpage_action
is deprecated in favor of adding methods to the controller.batch_action
is deprecated in favor of adding protected methods to the controller.permit_params
is deprecated in favor of addingpermitted_attr_names
to the controller._show.html.arb
.Views::Pages::Show
has been removed and is no longer available for subclassing._form.html.arb
.Views::Pages::Form
has been removed and is no longer available for subclassing.:table
is deprecated in favor of defining a partial_index_as_table.html.arb
.Views::Pages::Index
has been removed and is no longer available for subclassing.content do ... end
is deprecated in favor of defining a partial,_content.html.arb
.:title
is deprecated in favor of settingcontent_for(:page_title)
in a partial instead.action_item
is deprecated in favor of defining a partial,_action_items.html.arb
and populating with links.filter
is deprecated in favor of defining a partial,_filters_form.html.erb
and passing filter settings intoactive_admin_filters_form_for
This discussion was created from the release v1.7.0.
Beta Was this translation helpful? Give feedback.
All reactions