New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

administrate-field-mobility

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

administrate-field-mobility

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Administrate::Field::Mobility

Gem Version

Warning

This gem is under early development.

This Administrate plugin adds support for string fields that use the Mobility gem to hold translated values.

Requirements in Mobility

Set locale_accessors to true in config/initializers/mobility

  config.default_options[:locale_accessors] = true

Getting Started

Add Administrate::Field::Mobility gems to your Gemfile:

gem "administrate-field-mobility", "0.0.1"

Add the Administrate Mobility Field to your dashboard.

  ATTRIBUTE_TYPES = {
    created_at: Field::DateTime,
    update_at: Field::DateTime,
    name: Field::Mobility::String,
    description: Field::Mobility::Text,
  }.freeze

Credits

This gem is inspired by administrate-field-globalize

FAQs

Package last updated on 13 Mar 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc