2009/12/4 pauld <[email protected]>:
> Thank you.
>
> I'm still getting an error for the second statement:
>
> /Users/pdenlinger/Sites/depot/app/models/product.rb:9: syntax error,
> unexpected tASSOC, expecting kEND
> ...                   :message => 'must be a URL for GIF, JPG' ...
>                              ^
>
> The code is as follows:
>
>  validates_format_of :image_url,
>                      :with => %r{\.(gif|jpg|png$)}i
>                      :message => 'must be a URL for GIF, JPG' + 'or
> PNG image'
>
> Thanks,
> Paul

Hi Paul,

This is the same error as the previous one, but in reverse. ;)

Cheers,

Tom

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to