# Load error message and then load links

**URL:** <https://www.ruby-forum.com/t/load-error-message-and-then-load-links/121395>\
**Category:** Rails\
**Created:** [November 27, 2007, 4:41pm UTC](https://www.ruby-forum.com/t/load-error-message-and-then-load-links/121395 "2007-11-27T16:41:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [November 27, 2007, 4:41pm UTC](https://www.ruby-forum.com/t/load-error-message-and-then-load-links/121395/1 "2007-11-27T16:41:02Z")

</div>

I have this part of my application where you can add memberships numbers  
to a list, but in the event that a bad membership number is added I  
would like my app to first display an error message followed by the  
valid membership numbers that are saved so far. Right now if a valid  
membership number is entered it blinks in a div indicating that it was  
valid. But if its not valid a red blinking piece of text is displayed. I  
know I can’t use ‘render’ twice in the same method, so I’m not sure how  
to go about even trying this. Thanks for any and all help,

-S
