Sha256: ff5a41ed43f4faed5c03cf8f9c4d6c5411ea3e3b9418a953cd8a82ffb028036e
Contents?: true
Size: 220 Bytes
Versions: 2
Compression:
Stored size: 220 Bytes
Contents
module Id::FormBackwardsCompatibility def form(&block) warn '[DEPRECATION] form is no longer needed - validation can be specified at the top level of the model' form_class.send :instance_exec, &block end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
id-0.1.1 | lib/id/form_backwards_compatibility.rb |
id-0.1 | lib/id/form_backwards_compatibility.rb |