I am playing around with the Agile Rails development book again and
thought to see what effect, if any, placing a doctype declaration
at the top of an rhtml file would have. When I insert any of the
three standard forms of such declaration at the top of
app/views/store.rhtml the product image disappears when the web
page is redisplayed. The error logged in log/development.log is:
ActionController::RoutingError (Recognition failed for
“/images/product01”):
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_control
ler/routing.rb:469:in `recognition_failed’
As I have very limited experience with css and xml and even less
with Ruby or Rails I would appreciate it very much if someone here
could explain to me what is happening. The three forms that I have
tried are:
and
Regards,
–
*** e-mail is not a secure channel ***
mailto:byrnejb.@harte-lyne.ca
James B. Byrne Harte & Lyne Limited
vox: +1 905 561 1241 9 Brockley Drive
fax: +1 905 561 0757 Hamilton, Ontario
= hal Canada L8E 3C3