Comments (1)
Hello 👋 Deprecator of valid_action?
here. Sorry about the change! A back-compatible option might be to do the following:
- Substitute
valid_action?
withexisting_action?
. - Use metaprogramming to detect the existence of
existing_action?
.- If it doesn't exist, add your own implementation based on
valid_action?
. (This will support older versions).
- If it doesn't exist, add your own implementation based on
- Silence the warning by overriding
Administrate.warn_of_deprecated_authorization_method
.
But none of this is supported, and generally it's recommended to use accessible_action?
.
from administrate_exportable.
Related Issues (13)
- Does not work with HasOne associations
- Fix security vulnerabilities HOT 2
- Filter data based on custom scoped_resource HOT 5
- Undefined method `collection_includes' HOT 10
- Field::Text truncated to 50 characters on export HOT 1
- Interference with Turbolinks HOT 1
- Error on export with Administrate 0.12.0 HOT 5
- Export service does not handle date fields
- Broken pagination with administrate-0.15.0 HOT 4
- Generating several N+1 queries when adding multiple resources to an export thus slowing down query and timing out Heroku HOT 5
- Error: Please use symbols for polymorphic route arguments. HOT 2
- Error when exporting empty result HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from administrate_exportable.