riles01
2007-Aug-10 23:57 UTC
restful_authentication not working with <%= error_messages_for :user %>
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: <code>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''</code> I suppose I could just remove the error_messages_for method permanently but would prefer not to do so. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
riles01
2007-Aug-14 01:28 UTC
Re: restful_authentication not working with <%= error_messages_for :user %>
I found a <a href="http://textsnippets.com/posts/show/896" title="globalize error_messages_for on edge rails">post</a> on <a href="http://textsnippets.com/" title="TextSnippets">TextSnippets</a> by Claudio Poli that helped me out. On Aug 10, 6:57 pm, riles01 <ryan.ri...-75D+SkCOd7Z46IMFfmbxvA@public.gmane.org> wrote:> 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: > <code>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''</code> > > I suppose I could just remove theerror_messages_formethod > permanently but would prefer not to do so.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---