You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works great except that the default routing error page will be displayed instead of better_errors's page. Is this the right behavior?
——————————————————————————————————————
Ruby version 2.0.0 (x86_64-darwin12.5.0)
RubyGems version 2.1.11
Rack version 1.5
Rails version 4.0.1
JavaScript Runtime JavaScriptCore
Active Record version 4.0.1
Action Pack version 4.0.1
Action Mailer version 4.0.1
Active Support version 4.0.1
Middleware
Rack::Sendfile
ActionDispatch::Static
Rack::Lock
That's the whole point of it. If you are looking to only make it available in your development. Consider grouping it under development in your gem file.
This seems like desired behaviour to me. AFAIK, routing errors like this in Rails are not 'true' errors, but rather a nicer 404 error page formatted like the Rails exception page. Please correct me if I'm wrong here.
In any case, the Rails routing error page seems more useful than Better Errors for this case, so I don't intend to fix or otherwise work around this.
It works great except that the default routing error page will be displayed instead of better_errors's page. Is this the right behavior?
——————————————————————————————————————
Ruby version 2.0.0 (x86_64-darwin12.5.0)
RubyGems version 2.1.11
Rack version 1.5
Rails version 4.0.1
JavaScript Runtime JavaScriptCore
Active Record version 4.0.1
Action Pack version 4.0.1
Action Mailer version 4.0.1
Active Support version 4.0.1
Middleware
Rack::Sendfile
ActionDispatch::Static
Rack::Lock
ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x007fd08d0ec6e8
Rack::Runtime
Rack::MethodOverride
ActionDispatch::RequestId
Rails::Rack::Logger
ActionDispatch::ShowExceptions
ActionDispatch::DebugExceptions
BetterErrors::Middleware
ActionDispatch::RemoteIp
ActionDispatch::Reloader
ActionDispatch::Callbacks
ActiveRecord::Migration::CheckPending
ActiveRecord::ConnectionAdapters::ConnectionManagement
ActiveRecord::QueryCache
ActionDispatch::Cookies
ActionDispatch::Session::CookieStore
ActionDispatch::Flash
ActionDispatch::ParamsParser
Rack::Head
Rack::ConditionalGet
Rack::ETag
Application root /Users/wangyandong/Workspace/rails4/learning_rails
Environment development
Database adapter sqlite3
Database schema version 20131128045006
——————————————————————————————————————
The text was updated successfully, but these errors were encountered: