#490 ✓resolved
Jeremy Nicoll

Multiple validates_with_method

Reported by Jeremy Nicoll | July 29th, 2008 @ 07:34 AM

In the latest git version of dm-validations (0.9.4), the following code used to work, but now only runs the first method:

validates_with_method :method_name, :some_other_method

def method_name

#...

end

def some_other_method

  1. Never runs

end

Should it run multiple methods, or am I missing a new way to do this?

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 »

People watching this ticket

Pages