Displaying 2 results from an estimated 2 matches for "stamosunas".
Did you mean:
tamosunas
2007 Mar 23
0
Error - Conflicting types for parameter containers
...n I hit
submit, I get the following error, anyone run into this error before?
Thanks,
Scott
Conflicting types for parameter containers. Expected an instance of
Hash, but found an instance of String. This can be caused by passing
Array and Hash based paramters qs[]=value&qs[key]=value.
/Users/stamosunas/workspaces/ruby/mgs/config/../vendor/rails/
actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:204:in
`type_conflict!''
/Users/stamosunas/workspaces/ruby/mgs/config/../vendor/rails/
actionpack/lib/action_controller/cgi_ext/cgi_methods.rb:168:in
`container''
/Users/stamosunas/wo...
2007 May 07
1
attachment_fu seems to be searching the wrong location for my images
...age if not found:
def photo_filename
retval = "/images/no_image.gif"
unless not photo.nil? then
retval = photo.public_filename
end
retval
end
For some reason, Product.photo_filename keeps returning my $HOME
directory:
No such file or directory - "/Users/stamosunas"
The whole trace is below... it seems to be in the attachment_fu code
itself where there is a problem:
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/i386/
lib/ruby/gems/1.8/gems/RubyInline-3.6.3/lib/inline.rb:75:in `mkdir''
/Applications/Locomotive2/Bundles/standa...