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
My code has a lot of:
def_param_group :book do param :name, String param :show_rank, [ true, false ] param :support_implicit_judgements, [ true, false ] param :owner_id, Integer param :scorer_id, Integer param :selection_strategy_id, Integer end
How can I define a book using my Rails ActiveRecord book.rb directly instead of having to create all this?
book.rb
The text was updated successfully, but these errors were encountered:
Maybe you can use something like describe_own_properties to avoid duplication
Sorry, something went wrong.
No branches or pull requests
My code has a lot of:
How can I define a book using my Rails ActiveRecord
book.rb
directly instead of having to create all this?The text was updated successfully, but these errors were encountered: