I am experiencing a strange issue when I use the responds_to_parent
plugin. Any form I post that has additional url paramaters will has a
problem with the first of these parameters. It’s name becomes preseced
with “amp;”. For example in my params hash “gallery_id”=>“2” becomes
“amp;gallery_id”=>“2”, but only when the plugin is being used. Reading
the plugin code I am at a loss as to what could be causing this to
happen. It seems the plugin just adds a method to actioncontroller
without overwriting any of them, so I can’t figure out why it would
change the way rails deals with url query strings when turing them
into params. Any ideas?
I guess for now I will just put these variable in hidden fields but
I’d like to know what is actually causing the problem.