Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Wiley Conte
Wiley Conte
9,618 Points

Repopulate Devise New User Registration Fields on failed Sumbission

I'm curious how to repopulate the fields in my app/views/devise/registrations/new.html.erb form when a user submits the form unsuccessfully. Right now it is working great, it is just not ideal to have to refill the sign up form when your submission fails. I'm sure I'll have to do some type of client side validation but I'm wondering if there is an easy way to do this with Devise. Using the most up to date v of Rails and Devise. Thanks for the help!