Andy Strube

Results 28 comments of Andy Strube

@cielf I've been attempting to change the error message, but I'm running into difficulties with getting the attribute name "no social media presence" out of the error message. Would it...

@cielf I'll look at this again today, including the errors[:base] suggestion

I have an update. I tried [this](https://guides.rubyonrails.org/configuring.html#config-active-model-i18n-customize-full-message) approach again but I still wasn't able to get it to work, so I ended up using the errors[:base] approach. Here's a screenshot...

@cielf I accidently changed the PG_PASSWORD value in the database.yml, then changed it back to match what it is in main in the "Added a test for the custom error...

@cielf I'll try the en.yml approach again. The way that I've been trying definitely isn't ideal.

@cielf No worries. I'll try the en.yml approach again and hopefully get back soon with some good results.

@cielf I'm back. Unfortunately I wasn't able to change the error message format through the en.yml file. If you want I can remove the code that's related to the current...

@cielf Is this what you mean? With social media and no social media presence is unchecked: ![Screenshot (579)](https://user-images.githubusercontent.com/42154066/196005567-35966dd0-fdbb-4ad0-aed8-a9ccf1c5f91a.png) Without social media and no social media presence is checked: ![Screenshot (580)](https://user-images.githubusercontent.com/42154066/196005617-220f1470-8e14-4ea6-a787-f8a71f68ba8a.png)

@cielf I believe I addressed everything that you mentioned. Can you pull down these changes and test it locally and tell me if anything needs to change?

@cielf I'm willing to work on said new issue.