# Restful\_authentication not working with \<%= error\_messages\_f

**URL:** <https://www.ruby-forum.com/t/restful-authentication-not-working-with-error-messages-f/111804>\
**Category:** Rails\
**Created:** [August 11, 2007, 1:57am UTC](https://www.ruby-forum.com/t/restful-authentication-not-working-with-error-messages-f/111804 "2007-08-11T01:57:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![riles01](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/59ef9b/32.png) [@riles01](https://www.ruby-forum.com/u/riles01)\
**Post date:** [August 11, 2007, 1:57am UTC](https://www.ruby-forum.com/t/restful-authentication-not-working-with-error-messages-f/111804/1 "2007-08-11T01:57:48Z")

</div>

I’ve got restful\_authentication installed and working, but only if I  
remove \<%= error\_messages\_for :user %\> from the new.html.erb view in  
app/views/users/. I’m puzzled as to why this isn’t working as I can’t  
find anyone else having problems. I also have the following gems/  
plugins installed:

## gems

actionmailer (1.3.3, 1.3.2)  
actionpack (1.13.3, 1.13.2)  
actionwebservice (1.2.3, 1.2.2)  
activerecord (1.15.3, 1.15.2)  
activesupport (1.4.2, 1.4.1)  
capistrano (1.4.1)  
cgi\_multipart\_eof\_fix (2.1)  
daemons (1.0.6, 1.0.5)  
fastthread (0.6.4.1)  
ferret (0.11.4)  
gem\_plugin (0.2.2)  
gemsonrails (0.7.0)  
mongrel (1.0.1)  
mongrel\_cluster (0.2.1)  
mysql (2.7)  
needle (1.3.0)  
net-sftp (1.1.0)  
net-ssh (1.0.10)  
rails (1.2.3, 1.2.2)  
rake (0.7.2)  
ruby-openid (1.1.4)  
ruby-yadis (0.3.4)  
sources (0.0.1)  
termios (0.9.4)

## plugins

file\_column  
gemsonrails  
globalize  
restful\_authentication  
(not sure how to check versions, but I think I’ve added edge versions  
of them all through subversion.)

The Application Trace shows the following, and I’m wondering if it’s a  
globalize problem:  
`vendor/plugins/globalize/lib/globalize/rails/
active_record_helper.rb:19:in error_messages_for' app/views/users/new.html.erb:1:in_run_erb_47app47views47users47new46html46erb’`

I suppose I could just remove the error\_messages\_for method  
permanently but would prefer not to do so.

---

<div class="post-metadata">

**Author:** ![riles01](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/59ef9b/32.png) [@riles01](https://www.ruby-forum.com/u/riles01)\
**Post date:** [August 14, 2007, 3:29am UTC](https://www.ruby-forum.com/t/restful-authentication-not-working-with-error-messages-f/111804/2 "2007-08-14T03:29:37Z")

</div>

I found a [post](http://textsnippets.com/posts/show/896 "globalize error\_messages\_for on edge rails") on [TextSnippets](http://textsnippets.com/ "TextSnippets")  
by Claudio P. that helped me out.
