#93 ✓resolved

Options merging ??

Reported by vincent | April 17th, 2009 @ 02:25 PM


It should be great to merge the original options with the new ones, preventing from adding all other options when we want to modifiy only one.

Example :

If I want only to add the options :allow_blank for the login field, I have to write :

acts_as_authentic do |c|
c.logged_in_timeout = 10.minutes c.validates_length_of_login_field_options :within => 6..100, :allow_blank => true c.validates_format_of_login_field_options :with => /A\w[w.-_@ ]+z/, :allow_blank => true, :message => I18n.t('authlogic.error_messages.login_invalid') end

I need to rewrite the :within option and all options for the format validations...

Or maybe i missed something?

Paris, France

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.

People watching this ticket