search for: probral

Displaying 1 result from an estimated 1 matches for "probral".

Did you mean: probval
2006 May 02
1
Newbie Post.
...m trying to store a jpg coming from the form field listings[pic]. When I submit the form, I get this error: --- NoMethodError in Admin#create undefined method `filename='' for #<Listing:0xb7916be0> RAILS_ROOT: script/../config/.. --- Code is at the bottom, I know it''s probrally a mess, but I''ve only been at this for a few days. :-) Any insight would be great. Thanks ~kurth --code-- def create @params[''listing''][''filename''] = @params[''listing''][''pic''].original_filename.gsub(/[^a-zA-Z0-...