Skip to content
New issue

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

Field::NestedHasManyに親リソースを渡す #17

Closed
1 task done
Tracked by #20
goosys opened this issue Jul 20, 2024 · 0 comments
Closed
1 task done
Tracked by #20

Field::NestedHasManyに親リソースを渡す #17

goosys opened this issue Jul 20, 2024 · 0 comments
Milestone

Comments

@goosys
Copy link
Owner

goosys commented Jul 20, 2024

Issues

Tasks

Usage

class BookDashboard < Administrate::BaseDashboard
  ATTRIBUTE_TYPES = {
    book_printing_histories: Field::NestedHasMany.with_options(
      parent: :book,
      skip: [:book]
    ),

Todos

  • spec
@goosys goosys added this to the 1.0.0 milestone Jul 20, 2024
@goosys goosys mentioned this issue Jul 20, 2024
2 tasks
@goosys goosys closed this as completed Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant