デプロイに成功しましたが、デプロイした後です。「states」と「users」の構成セクションにアクセスできませんでした。これらの問題を解決するには、どこから始めればよいかわかりません。
ローカル マシンで Spree 1.2、Ruby 1.9.3、Rails 3.2.8 を使用しています。それはうまく動作します。正常に機能した spree 展開プロセスを使用しています。
どこから始めるべきかについての指針はありますか?
表示されるエラー:「申し訳ありませんが、問題が発生しました。」本番サーバーでより意味のあるエラーを有効にする方法はありますか?
編集
エラー:
Spree::Admin::StatesController#index による HTML
パラメーターとしての処理: {"country_id"=>"214"} 16ms で 500 内部サーバー エラーを完了NoMethodError (未定義メソッド集' spree_core (1.2.0) app/controllers/spree/admin/states_controller.rb:21:in load_resource' activesupport (3.2.8) lib/active_support/callbacks.rb:473: in __run_callback' activesupport ( 3.2.8) lib/active_support/callbacks.rb:385: in run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17: in process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation. rb:30: instrument のブロック内' activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20: instrument' の actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in
states' for nil:NilClass):
spree_core (1.2.0) app/controllers/spree/admin/resource_controller.rb:172:incollection'
spree_core (1.2.0) app/controllers/spree/admin/resource_controller.rb:129:in_run__4032520494098752802__process_action__736043668495006995__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in
_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in
process_action'
actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:inblock in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in
instrument'
activesupport (3.2.8) lib/active_support/notifications.rb:123:inprocess_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in
process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:inprocess_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in
process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:inprocess' actionpack (3.2.8) lib/action_controller/metal.rb:203:in
dispatch' actionpack (3.2.8) lib/ action_controller/metal/rack_delegation.rb:14: アクション内dispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in
のブロック' アクションパック (3.2.8) lib/action_dispatch/routing/route_set.rb:73:call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in
ディスパッチ内'
アクションパック (3.2.8) lib/action_dispatch/routing/route_set. rb:36:call' journey (1.0.4) lib/journey/router.rb:68:in
in call '
ジャーニー (1.0.4) lib/journey/router.rb:56: ineach' journey (1.0.4) lib/journey/router.rb:56:in
call ' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600: incall' spree_core (1.2.0) lib/spree/core/middleware/redirect_legacy_product_url.rb:13:in
call ' spree_core (1.2.0) lib/spree/core/middleware/seo_assist.rb:27:incall' railties (3.2.8) lib/rails/engine.rb:479:in
call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:のmethod_missing' journey (1.0.4) lib/journey/router.rb:68:in
呼び出し中のブロック「ジャーニー (1.0.4each' journey (1.0.4) lib/journey/router.rb:56:in
)call' warden (1.1.1) lib/warden/manager.rb:35:in
1) lib/warden/manager.rb:34: incatch' warden (1.1.1) lib/warden/manager.rb:34:in
call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17: incall' rack (1.4.1) lib/rack/etag.rb:23:in
call' rack (1.4.1) lib/rack/conditionalget.rb: 25:incall' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in
call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in call' actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in block in call'call'
actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:incontext' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in
call' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in
call' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in
activesupport (3.2.8) lib/active_support/callbacks.rb:405: in __run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385: in run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/ callbacks.rb:27:in call' actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in call' railties (3.2.8) lib/rails/rack/logger.rb:26:in call ' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in call' ラック (1.4.1) lib/rack/runtime.rb:17:in call' ラック (1.4.1) lib/rack /lock.rb:15:in forward' Rack-cache (1.2) lib/rack/cache/context.rb:245:in lookup' rack-cache (1.2) lib/rack/cache/context.rb:66:in_run__4438386178050912955__call__4341646712790791334__callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in_run_call_callbacks'
activesupport (3.2.8) lib/active_support/callbacks.rb:81:incall' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in
call'
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:incall_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in
call' rack (1.4.1) lib/rack/methodoverride.rb:21:in
call' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in
call' rack-cache (1.2) lib/rack/cache/context.rb:136:in
fetch' rack-cache (1.2) lib/rack/cache/context.rb:185:in
call!' rack-cache (1.2) lib/rack/cache/context.rb:51:in
call' railties (3.2.8) lib/rails/engine.rb:479:incall' railties (3.2.8) lib/rails/application.rb:223:in
call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:inmethod_missing' unicorn (4.3.1) lib/unicorn/http_server.rb:531:in
process_client' unicorn (4.3.1) lib/ unicorn/http_server.rb:606:inworker_loop' unicorn (4.3.1) lib/unicorn/http_server.rb:487:in
spawn_missing_workers'
unicorn (4.3.1) lib/unicorn/http_server.rb:137:instart' unicorn (4.3.1) bin/unicorn_rails:209:in
'
/data/spree/shared/bundle/ruby/1.9.1/bin/unicorn_rails:23:で'load'
/data/spree/shared/bundle/ruby/1.9.1/bin/unicorn_rails:23:in