a cleaner code view of :with =>

hey, one of my validates_format_of statements, I have a regEx to verify a website address is valid, not pinging the server or anything, just simply so the web address is proper format.

anyways, im curious to know if there is a way to avoid having the regEx accidently comment out the rest of the file.. keep in mind the file still works properly, just the code highlighting is ugly after the regEx is typed up.

Yeah.. im using dreamweaver8 code view.. get over it.. :stuck_out_tongue:

if anyone knows how to do that, it would be cool, not a serious issue though, just something I would rather have look nice.

thanks!

hey, one of my validates_format_of statements, I have a regEx to verify a website address is valid, not pinging the server or anything, just simply so the web address is proper format.

anyways, im curious to know if there is a way to avoid having the regEx accidently comment out the rest of the file.. keep in mind the file still works properly, just the code highlighting is ugly after the regEx is typed up.

You could use the %r{} constructor for regex - it might not tickle the same bug. See RDoc Documentation.

Yeah.. im using dreamweaver8 code view.. get over it.. :stuck_out_tongue:

To edit your models? Didn't know it did that.