
[dm-constraints] warns about reassigning to OPTIONS
Reported by Martin Gamsjaeger (snusnu) | July 21st, 2009 @ 02:20 PM | in 0.10.0
The workaround is simple for now (do it like dm-validations does it). In the longterm, there will probably be something to register new options for properties.
This is the warning I get:
dm-constraints.rb:28: warning: already initialized constant OPTIONS
Comments and changes to this ticket
-
Martin Gamsjaeger (snusnu) July 21st, 2009 @ 02:21 PM
- Tag set to dm-constraints, dm-more
- State changed from unconfirmed to accepted
-
Dan Kubb (dkubb) July 21st, 2009 @ 03:06 PM
- State changed from accepted to resolved
(from [50c8a7f1ae68423bd95b1aef0cb04a0b77637e05]) [dm-constraints] silenced warning: already initialized constant OPTIONS
[#985 state:resolved] http://github.com/datamapper/dm-more/commit/50c8a7f1ae68423bd95b1ae...
-
Martin Gamsjaeger (snusnu) July 21st, 2009 @ 03:15 PM
- Title changed from [dm-constraints] warns about reassigning to Property::OPTIONS to [dm-constraints] warns about reassigning to OPTIONS
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.
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
Tags
Referenced by
-
985 [dm-constraints] warns about reassigning to Property::OPTIONS [#985 state:resolved] http://github.com/datamapper/dm-mo...