Hello, where can I find a extensive list of the exceptions classes
defined by Rails ?
There’s nothing in the API doc
Thanks by advance
Hello, where can I find a extensive list of the exceptions classes
defined by Rails ?
There’s nothing in the API doc
Thanks by advance
On 03/10/06, Zouplaz [email protected] wrote:
Hello, where can I find a extensive list of the exceptions classes
defined by Rails ?There’s nothing in the API doc
You can make one:
% script/console
ObjectSpace.each_object(Class) do |e| p e if
e.ancestors.include?(Exception); end
Subtracting the exception classes that exist before Rails’s libraries
are included is left as an exercise for the reader.
Paul.
le 03/10/2006 15:43, Paul B. nous a dit:
e.ancestors.include?(Exception); end
Subtracting the exception classes that exist before Rails’s libraries
are included is left as an exercise for the reader.Paul.
Thanks a lot !
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs