Display Server Info on dashboard.rb #8054
-
As the question asks... Is there a way to get dashboard.rb to display the current server info? (Rails version, ruby version, etc...) Somewhere around here:
|
Beta Was this translation helpful? Give feedback.
Answered by
tagliala
Aug 24, 2023
Replies: 3 comments 2 replies
-
A possible approach would be: ActiveAdmin.register_page 'Dashboard' do
# ...
content title: proc { I18n.t('active_admin.dashboard') } do
panel 'Info' do
span "Rails Version:"
b Rails.version
span " - Ruby Version:"
b RUBY_VERSION
span " - Active Admin Version:"
b ActiveAdmin::VERSION
end
end
end |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
javierjulio
-
"Resolved" as in "fixed"? Or as in "the workaround is the way to go"?
…On Sun, May 11, 2025, 10:05 PM Geremia Taglialatela < ***@***.***> wrote:
Closed #8054 <#8054>
as resolved.
—
Reply to this email directly, view it on GitHub
<#8054>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2KI552NRMFVDOWALQ6APD256UPTAVCNFSM6AAAAAB44LMLJSVHI2DSMVQWIX3LMV45UABFIRUXGY3VONZWS33OIV3GK3TUHI5E433UNFTGSY3BORUW63R3GE4TGNJYG4YQ>
.
You are receiving this because you authored the thread.Message ID:
<activeadmin/activeadmin/repo-discussions/8054/discussion_event/1935871@
github.com>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Okay... so when it says: "there is *no sortable functionality for has-many
forms*"
...the workaround should be effective in 4.0?
…On Sun, May 11, 2025 at 10:19 PM Geremia Taglialatela < ***@***.***> wrote:
Hello, yes, this is the way to go
However, at the time there wasn't Active Admin v4. The current master
branch and the v4 beta are customizable with custom templates
Ref:
https://github.com/activeadmin/activeadmin/blob/master/UPGRADING.md#from-v3-to-v4-beta
—
Reply to this email directly, view it on GitHub
<#8054 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA2KI5YQJGTARBB7YPTYRBT256WGVAVCNFSM6AAAAAB44LMLJSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGMJQHE4DINY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A possible approach would be: