Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"blank" errors messages #213

Closed
ghost opened this issue Nov 22, 2010 · 1 comment
Closed

"blank" errors messages #213

ghost opened this issue Nov 22, 2010 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 22, 2010

Hi there.

Why dont you use native rails messages for "blank"?

For example watch /lib/authlogic/session/password.rb:

errors.add(login_field, I18n.t('error_messages.login_blank', :default => "cannot be blank")) if send(login_field).blank?

We have here "login_blank" instead of just "blank". So we need to 5 times duplicate (blank, login_blank, email_blank etc) this messages with existing one "blank" message in localization files.

@jaredbeck
Copy link
Collaborator

Hello, I'm going through old authlogic issues and seeing what to do with them.
This one looks a bit like a usage question and a bit like a feature suggestion.

If this is a feature suggestion, it's still relevant, and you are committed to
implementing it, please open a new issue and we can discuss your implementation
plan.

If this is a usage question, please ask it on stackoverflow. Unfortunately,
we just don't have enough volunteers to handle usage questions on github. Also,
please check the reference documentation. You might find something there
that's not in the readme.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant