[Rails] Re: URL validation regexp pattern

2011-07-22 Thread Dominic Rose
Here is my way to handle URL (in the file) Attachments: http://www.ruby-forum.com/attachment/6443/url_pattern.rb -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send

[Rails] printing in middle of an erb file

2010-06-10 Thread Dominic Rose
Hello, I'm having a problem to output things in the right order with erb1.9 and lighttpd . I don't know if it's the normal behaviour of erb but this is how it works for me: Content of my ERB file: test{%= 1 %2% puts 3 %} On my web browser I get this output: 3 test{12} puts or print comes