Form input of type image sends as parameters the x,y coordinates of the point on the image where the click occurred. Param keys are generally in the form, 'my_image.x' and 'my_image.y'. So, if one wants to test whether a particular image coordinate key is present he would typically use something like:
params.has_key?(:my_image.x) This results in a complaint that the 'x' method is not defined. Presumably the problem is with the '.' in the symbol name. Enclosing the key name in single quotes works; but, I think that has been deprecated. I'm wondering what is the best way of handling this. Thanks for any input. ... doug -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.