I am struggling overriding the signup method.

I would like not to override the entire method, because I only want to
change the redirect clause. Since Rails does not allow two call to
redirect (DoubleRenderError), the only way I see is to copy n' paste
the method and change the redirect line. Is there anything else I can
do to avoid copy n' paste?

My other doubt is about the model. If I do not use email notification
and do not use a email field, the second user signup is made
impossible, since it complains that 'Email has already been taken'.
That is, the model validates the uniqueness of Email, even if email
notification is disabled. Is that a bug, right?

Even being a bug, it would be nice to be able to override the model, I
mean, there could be a way of not using some of the default
validators.

[]'s
Eduardo
_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to