search for: image_control

Displaying 4 results from an estimated 4 matches for "image_control".

2006 Jun 28
2
NoMethodError when setting session variable
...;"edit", "id"=>"11", "controller"=>"image", "filename"=>"/event/image/11/effect.jpg", "fieldname"=>"image"} NoMethodError (undefined method `[]='' for nil:NilClass): /app/controllers/image_controller.rb:13:in `initialize'' /vendor/rails/actionpack/lib/action_controller/routing.rb:483:in `recognize!'' /vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch'' /vendor/rails/railties/lib/fcgi_handler.rb:150:in `process_request'' /vendor/rails/rai...
2007 Jan 04
5
uninitialized constant oddities
...grel cluster behind apache''s mod_proxy_balancer. ---- snip ---- NameError (uninitialized constant Base): [...] /app/models/image.rb:90:in `subclasses'' /app/models/image.rb:98:in `subclass?'' /app/models/image.rb:261:in `count'' /app/controllers/image_controller.rb:95:in `list'' ---- snip ---- "Base" is actually "Image::Base", defined in lib/image/base.rb: class Image::Base. immediately after a mongrel_cluster restart it''s working for a few requests, though. (approx. 4 requests, resulting from 4 mongrel servers bei...
2006 Jun 26
5
How can I dynamiclly generate models?
...00:in `const_missing'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:131:in `const_missing'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:133:in `const_missing'' #{RAILS_ROOT}/app/controllers/image_controller.rb:45:in `view'' Anyone know what''s the problem, thanks in advance ^_^ -- Posted via http://www.ruby-forum.com/.
2007 Feb 01
2
file_column 2nd try....
...ys ago wasn?t very clever asked, at least very sucessfull.... So, anyway...i will try it again: I have to prefix that I am far away from fully understanding the overall concept yet, and there?s no way to get some hints in the www so far, at least my resaerches dont lead to any helpfull stuff. image_controller.rb: def create MiddleMan.new_worker :class => :image_worker, :job_key => :upload_img, :args => { :image => params[:image]} worker = ::MiddleMan.worker(:upload_img) end image_worker.rb require ''RMagick'' class ImageWorker < BackgrounDRb::Worker::RailsBase ##at...