Displaying 3 results from an estimated 3 matches for "enable_upload_progress".
2006 Mar 22
2
Edge Rails (1.1.0 RC1) and Typo Trunk
I tried the current Typo trunk with Edge Rails (1.1.0 RC1) and ran
into the following problems:
1) /public/../config/environment.rb:107: undefined method
`enable_upload_progress'' for ActionController::Base:Class
(NoMethodError). I commented this line out and installed the Upload
Progress plugin and this problem _appears_ to have gone away.
2) The second problem I haven''t figured out a work around for yet:
NameError (uninitialized constant Plugins):...
2006 Mar 07
1
How does the ActionController class get loaded/accessed?
I am trying to access the Upload Progress feature in Action_Controller.
When I add
Action_Controller::Base.enable_upload_progress
to my environment.rb file, and restart WEBrick, I get the following
error:
C:\eclipse\workspace\eSimplyOnlineRails>ruby script/server
=> Booting WEBrick...
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/
dependencies.rb:195:in `const_missing'': uninitialized...
2006 Mar 07
17
Handling Erros from AWDWR
I''m getting to the point now where I really need to start trapping the
errors.
So from my AWDWR book, I added the following directly from the book into
application.rb...
def rescue_action_in_public(exception)
case exception
when ActiveRecord::RecordNotFound, ActionController::UnknownAction
render(:file => "#{RAILS_ROOT}/public/404.html",