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

473 create page text #476

Merged
merged 6 commits into from
Feb 29, 2024
Merged

Conversation

MooseCowBear
Copy link
Collaborator

🔗 Issue

#473

✍️ Description

Adds a PageText model with organization_id, about, and hero columns, with index. about and hero allow nil but not empty strings or strings containing only whitespace.

Updates create service object to create a page_text for organization, and seed files.

Adds factory, tests for new model.

📷 Screenshots/Demos

@MooseCowBear
Copy link
Collaborator Author

It looks like this failed on the one still flaky test. Is there a way I can rerun it?

@kasugaijin
Copy link
Collaborator

@MooseCowBear done! Will review when I get some time this week :)

Copy link
Collaborator

@kasugaijin kasugaijin left a comment

Choose a reason for hiding this comment

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

Looks great @MooseCowBear ! Thank you for taking this on.

@kasugaijin kasugaijin merged commit 25ce9ae into rubyforgood:main Feb 29, 2024
3 checks passed
ErinClaudio pushed a commit that referenced this pull request Mar 1, 2024
* add PageTexts model, table

* update factory, add validations and validation tests

* update seed files to create page text for organization

* add dependent destroy to page text association

* add association test for page text

* update organizations create service to create page text when organization is created, and add test
ErinClaudio pushed a commit that referenced this pull request Mar 1, 2024
* add PageTexts model, table

* update factory, add validations and validation tests

* update seed files to create page text for organization

* add dependent destroy to page text association

* add association test for page text

* update organizations create service to create page text when organization is created, and add test
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