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

feat(weekly topup): create on the account creation form #96

Merged
merged 7 commits into from
Sep 13, 2023

Conversation

andreybakanovsky
Copy link
Contributor

No description provided.

@@ -1,4 +1,4 @@
class AccountAutomaticTopupConfig < ApplicationRecord
belongs_to :from_account, class_name: 'Account', foreign_key: :from_account_id
belongs_to :to_account, class_name: 'Account', foreign_key: :to_account_id
belongs_to :to_account, class_name: 'Account', foreign_key: :to_account_id, optional: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why it's optional?

Copy link
Contributor Author

@andreybakanovsky andreybakanovsky Sep 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was an attempt to resolve the validation issue.

@ka8725 ka8725 merged commit efdc3ca into master Sep 13, 2023
2 checks passed
@ka8725 ka8725 deleted the dev/weekly-topup branch September 13, 2023 15:17
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

Successfully merging this pull request may close these issues.

2 participants