Repository URL to install this package:
|
Version:
1.0.0.pre ▾
|
activeadmin
/
CHANGELOG.md
|
|---|
allow_comments to comments for more consistent naming #3695 by @pranaswindow.AA has been removed, use window.ActiveAdmin #3606 by @timoschillingf.form_buffers has been removed #3486 by @varyonicactions and actions dropdown: true #3463 by @timoschillingincludes for ActiveRecord::Relation#includes #3464 by @timoschillingattributes_table_for #2544 by @zorab47controller do # Redirects to index page instead of rendering updated resource def update update!{ collection_path } end end
index download_links: ->{ can?(:view_all_download_links) || [:pdf] }
has_many :through relationships #2541 by @shekibobo:if and :unless from filters #2523 by @PChambinoResourceMismatchError b1c28cdb by @seanlinsley# (assuming Foo HABTM Bars) ActiveAdmin.register Foo do filter :bars end
/ route was being generated #2062 by @jbhannahIndexAsBlog now renders title/body procs in the view context #2087 by @macfanaticroute_instance_path for belongs_to resources #2099 by @pcreuxbelongs_to resources #2090 by @seanlinsleyto_param #2175 by @cknoxruncheck_box_checked? bug #2186 by @seanlinsley; later updated in #2221 by @dmfrancisco:pagination_total option to index to hide count for large databases #2333 by @joseluistorres:default option #2084 by @macfanatic:if and :unless options added to scope_to #2089 by @macfanaticconfig.show_comments_in_menu = false # Defaults to true config.comments_registration_name = 'AdminComment' # Defaults to 'Comment'
has_many forms
li elements #2054 by @shekibobo:heading option to customize the heading displayed #2068 by @coreyward:allow_destroy option to add in a checkbox to the form to delete records #2071 by @shekibobo:new_record option to hide "new" button #2134 by @developer88SearchMethodSelect #2231 by @seanlinsleybatch_action #2255 by @mindhaltdisplay_name helper #2147 by @seanlinsleynamespace hash #2313 by @seanlinsleyAdminUser generator file #2058 by @lupinglade#index_table_posts instead of #posts) #1966 by @TiagoCardoso1983attributes_table #1439 by @seanlinsleystarts_with and ends_with in string filters #1962 by @rmw:as #2044 by @seanlinsley:if optional argument #1801 by @seanlinsleydownload_links per resource, index collection or globally throughout AA #1908 by @TBAAnavigation_menu DSL for menu system #1967 by @macfanatic and @gregbell327 Commits by 42 authors
ActiveAdmin.register Post do csv options: { force_quotes: true } do column :title end end
ActiveAdmin.register Post do breadcrumb do [ link_to("My account", account_path(current_user)) ] end end
ActiveAdmin.register Post do menu parent: proc { I18n.t("admin") } end
ActiveAdmin.register Post do decorate_with PostDecorator end
ActiveAdmin.register Post do remove_filter :author end
156 commits (49 Pull Requests) by 51 contributors.
body.active_admin class. This may
change the precedence of styles that you created to override or use in
other areas of your application.#root_to.ActiveAdmin:Views::HeaderRender and replaced with
ActiveAdmin::Views::Header component.ActiveAdmin::Dashboards.build is deprecated in favour of generating a page
and using the new config.root_to option.561 commits (142 Pull Requests) by 88 contributors.
formtastic ~> 2.1.1 until AA 0.5.0 is releasedinherited_resources >= 1.3.1 (ensure flash messages work):show_count => false
(@latortuga)table_for collection is empty it no longer outputs
a blank array in Ruby 1.9 (@jancel, #1016)42 Commits by 10 authors
#page_action to add custom controller actions
to a page (@BoboFraggins):if support to sidebar sections (@BoboFraggins):scope_count => false to the index to hide scope counts
in generated scopes (@BoboFraggins)75 Commits by 12 authors
If you're running on Rails 3.0.x, make sure to run rails generate active_admin:assets
since we've changed both the CSS and JS files.
config.allow_comments_in = [] is now
config.allow_comments = true. Use the new namespace specific configurations
to allow or disallow configuration within a specific namespace.Object#to_html in favour of to_s. Any Arbre components
implementing a to_html method need to be updated to use to_s instead.config.site_title_image in the
Active Admin initializer. (@mattvague)ActiveAdmin.register_page (@pcreux):param_name and :download_links.
These two additions allow you to use the paginated_collection component multiple
times on show screens. (@samvincent):if (@samvincent):if. They only get displayed if the proc returns true (@macfanatic)accepts_nested_attributes_for (@DMajrekar ):sort => 'table.column' (@ZequeZ):label option to status_tag component (@fbuenemann)[@per_page][] (@DMajrekar)default_actions in an index table only display implemented actions (@watson):logout_path named route. (@george)Object#to_html @ebeigartsrails generate active_admin:assets to generate the correct files. (@gregbell)rails generate active_admin:assets to ensure you
have the correct css files (@mattvague)Kaminari.config.page_method_name. Active Admin should now be happy if
will_paginate is installed with it. (@j-manu)274 commits by 42 authors
2 commits by 2 authors
1 commit by 1 author
45 commits by 15 contributors
326 commits by 35 contributors
if and priority (Moritz Lawitschka)skip_before_filter now supported in DSL (@shayfrendt)TableFor now supports I18n headers (@fabiokr)AttributesTable now supports I18n attributes (@fabiokr)member_link (@doug316)status_tag an Arbre component (@pcreux)ActiveAdmin::Setting to easily create settings (@gregbell)[@page_title][] in member action to render a custom title (@gregbell)status_tag with nil content (@pcreux).paginated_collection_contents bug in Firefox (@mattvague)Arbre::Context#length for Rack servers (@gregbell)default_namespace = false (@gregbell)68 Commits by 13 Contributors
0.2.0 is essentially an entire re-write of Active Admin. Here are some of the highlights. 250 commits. Enough said.