Oh ... And if I change it to ... <%= link_to "Add Photos", '/entries/
showphotos', :remote => true %>

I get ...

Started GET "/entries/showphotos" for 127.0.0.1 at Fri Aug 13 23:37:45
+0100 2010
  Processing by EntriesController#show as JS
  Parameters: {"id"=>"showphotos"}
  Entry Load (0.2ms)  SELECT `entries`.* FROM `entries` WHERE
(`entries`.`id` = 0) LIMIT 1
Completed   in 8ms

ActiveRecord::RecordNotFound (Couldn't find Entry with ID=showphotos):
  app/controllers/entries_controller.rb:4:in `show'

Hence why I'm slowly going insane ...

Maddeningly Darren

-- 
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