# Form\_tag validation

**URL:** <https://www.ruby-forum.com/t/form-tag-validation/174381>\
**Category:** Rails\
**Created:** [August 26, 2009, 12:23am UTC](https://www.ruby-forum.com/t/form-tag-validation/174381 "2009-08-26T00:23:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bashar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/b9bd4f/32.png) [@bashar](https://www.ruby-forum.com/u/bashar)\
**Post date:** [August 26, 2009, 12:23am UTC](https://www.ruby-forum.com/t/form-tag-validation/174381/1 "2009-08-26T00:23:44Z")

</div>

Hi,

I’m writing a Rails 2.3.2 app and am using form\_tag and trying to  
figure out the best way to perform validation, and on failure I want  
to display the errors back to the user just as with ActiveRecord,  
except this form is for contact purpose and does not have a table in  
the back.

I’ve looked around and found the Tableless ActiveRecord which is  
apparently deprecated, and the ActiveForm, which seems pretty good,  
except that it seems to be idle since 2008 as I see. Can I rely on it,  
or am I gonna end up changing lot of code soon after we move to Rails  
3? What’s the best way to do it?

Thanks
