
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
active_admin_environment_tag
Advanced tools
An ActiveAdmin plugin that provides tags on the admin panel to indicate which environment your rails project is running in
Add this line to your application's Gemfile:
gem 'active_admin_environment_tag'
And then execute:
$ bundle
Include the active admin environment tag stylesheet in the active_admin.rb
initializer:
config.register_stylesheet 'active_admin_environment_tag'
ActiveAdminEnvironmentTag is configured using an initializer:
ActiveAdminEnvironmentTag.configure do |config|
config.environment_colors = {
staging: '#FCBF34'
}
end
By default, ActiveAdminEnvironmentTag uses the following colors for each of basic environments:
development: '#91CA4B',
production: '#fc1f27',
default: '#c9d6e3'
You can override these colors (including the default) or specify other environments using the environment_colors
option to provide a hash of environment names and colors. If ActiveAdminEnvironmentTag is run in a Rails environment that does not have a color associated with it, default
is used.
config.environment_colors = {
staging: '#FCBF34'
}
By default, the environment tag will appear in the top left area of the screen, however you can display it in the bottom left of the screen by specifying
config.tag_position = :bottom_left
Currently no other positions are supported as the left margin of the screen is the only area where the tag does not overlap content.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that active_admin_environment_tag demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.