On Dec 27, 9:33 am, Ralph Shnelvar <[email protected]> wrote:
> Frederick Cheung wrote:
> > On Dec 26, 9:52 pm, Ralph Shnelvar <[email protected]> wrote:
> > Interestingly enough, I generated a fresh rails 2.3.5 app, stuck
>
> > class ApplicationController < ActionController::Base
> >   rescue_from ActionController::RoutingError, :with => :not_found
> >   rescue_from ActionController::UnknownAction, :with => :not_found
> >   protected
> >   def not_found
> >     render :text => 'Oh No!'
> >   end
> > end
>
> So .... what I think is happening is that I have a versioning problem
> with the restful authorization code.
>
> Is there a way for me to see what version of the various components of
> the application I have?

Are you using the app checked in at 
http://code.google.com/p/simply-rich-authenticator
essentially unmodified? That is using rails 2.0.2 (look at
environment.rb) and rescue_from was only made to deal with
RoutingError in july of 2008  (ie several months after that sample app
was checked in), (if memory is correct that will mean that the first
version it was in was rails 2.2)

Fred
> --
> Posted viahttp://www.ruby-forum.com/.

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to