We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
currently we only load models that are defined in the configuration.
# frozen_string_literal: true Hotsheet.configure do |config| config.model :Author do |model| model.included_attributes = %i[name birthdate gender created_at] end config.model :Post do |model| model.excluded_attributes = %i[id author_id created_at updated_at] end config.model :TableNameTest do |model| model.included_attributes = %i[] end config.model :VeryLongModelNameForOverflowTest do nil end end
in this case, we would only show the configured models in the web.
so, it would be nice to have two additional global settings:
config.included_models
config.excluded_model
the following table shows an example which models should be configured depending on the included_models and excluded_models config settings:
included_models
excluded_models
The text was updated successfully, but these errors were encountered:
No branches or pull requests
currently we only load models that are defined in the configuration.
in this case, we would only show the configured models in the web.
so, it would be nice to have two additional global settings:
config.included_models
config.excluded_model
the following table shows an example which models should be configured depending on the
included_models
andexcluded_models
config settings:The text was updated successfully, but these errors were encountered: