Skip to content

Instantly share code, notes, and snippets.

@eclubb
Created March 26, 2011 17:22
Show Gist options
  • Save eclubb/888456 to your computer and use it in GitHub Desktop.
Save eclubb/888456 to your computer and use it in GitHub Desktop.
A NoMethodError occurred in pages#update:
undefined method `cache_path' for #<ActiveSupport::Cache::MemoryStore:0x9afc1bc>
/home/orchard_hills_church-staging/apps/orchard_hills_church/shared/bundle/ruby/1.8/bundler/gems/refinerycms-7bd49ac79ab4/pages/app/models/page.rb:241:in `expire_page_caching'
-------------------------------
Backtrace:
-------------------------------
/home/orchard_hills_church-staging/apps/orchard_hills_church/shared/bundle/ruby/1.8/bundler/gems/refinerycms-7bd49ac79ab4/pages/app/models/page.rb:241:in `expire_page_caching'
/home/orchard_hills_church-staging/apps/orchard_hills_church/shared/bundle/ruby/1.8/bundler/gems/refinerycms-7bd49ac79ab4/pages/app/models/page.rb:308:in `expire_page_caching'
activesupport (3.0.5) lib/active_support/callbacks.rb:453:in `_run_save_callbacks'
activerecord (3.0.5) lib/active_record/callbacks.rb:277:in `create_or_update'
activerecord (3.0.5) lib/active_record/persistence.rb:39:in `save'
activerecord (3.0.5) lib/active_record/validations.rb:43:in `save'
activerecord (3.0.5) lib/active_record/attribute_methods/dirty.rb:21:in `save'
activerecord (3.0.5) lib/active_record/transactions.rb:240:in `save'
activerecord (3.0.5) lib/active_record/transactions.rb:292:in `with_transaction_returning_status'
activerecord (3.0.5) lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction'
activerecord (3.0.5) lib/active_record/transactions.rb:207:in `transaction'
activerecord (3.0.5) lib/active_record/transactions.rb:290:in `with_transaction_returning_status'
activerecord (3.0.5) lib/active_record/transactions.rb:240:in `save'
activerecord (3.0.5) lib/active_record/transactions.rb:251:in `rollback_active_record_state!'
activerecord (3.0.5) lib/active_record/transactions.rb:239:in `save'
activerecord (3.0.5) lib/active_record/persistence.rb:128:in `update_attributes'
activerecord (3.0.5) lib/active_record/transactions.rb:292:in `with_transaction_returning_status'
activerecord (3.0.5) lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction'
activerecord (3.0.5) lib/active_record/transactions.rb:207:in `transaction'
activerecord (3.0.5) lib/active_record/transactions.rb:290:in `with_transaction_returning_status'
activerecord (3.0.5) lib/active_record/persistence.rb:126:in `update_attributes'
globalize3 (0.1.0.beta) lib/globalize/active_record/instance_methods.rb:23:in `update_attributes'
globalize3 (0.1.0.beta) lib/globalize/active_record/instance_methods.rb:107:in `with_given_locale'
globalize3 (0.1.0.beta) lib/globalize/active_record/instance_methods.rb:23:in `update_attributes'
(eval):54:in `update'
actionpack (3.0.5) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.0.5) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.0.5) lib/abstract_controller/base.rb:150:in `process_action'
actionpack (3.0.5) lib/action_controller/metal/rendering.rb:11:in `process_action'
actionpack (3.0.5) lib/abstract_controller/callbacks.rb:18:in `process_action'
activesupport (3.0.5) lib/active_support/callbacks.rb:465:in `_run__553770741__process_action__944252406__callbacks'
activesupport (3.0.5) lib/active_support/callbacks.rb:409:in `send'
activesupport (3.0.5) lib/active_support/callbacks.rb:409:in `_run_process_action_callbacks'
activesupport (3.0.5) lib/active_support/callbacks.rb:93:in `send'
activesupport (3.0.5) lib/active_support/callbacks.rb:93:in `run_callbacks'
actionpack (3.0.5) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.0.5) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
activesupport (3.0.5) lib/active_support/notifications.rb:52:in `instrument'
activesupport (3.0.5) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (3.0.5) lib/active_support/notifications.rb:52:in `instrument'
actionpack (3.0.5) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.0.5) lib/action_controller/metal/rescue.rb:17:in `process_action'
actionpack (3.0.5) lib/abstract_controller/base.rb:119:in `process'
actionpack (3.0.5) lib/abstract_controller/rendering.rb:41:in `process'
actionpack (3.0.5) lib/action_controller/metal.rb:138:in `dispatch'
actionpack (3.0.5) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.0.5) lib/action_controller/metal.rb:178:in `action'
actionpack (3.0.5) lib/action_dispatch/routing/route_set.rb:62:in `call'
actionpack (3.0.5) lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
actionpack (3.0.5) lib/action_dispatch/routing/route_set.rb:27:in `call'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:148:in `call'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:93:in `recognize'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:68:in `optimized_each'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:92:in `recognize'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:139:in `call'
actionpack (3.0.5) lib/action_dispatch/routing/route_set.rb:492:in `call'
haml (3.0.25) lib/sass/plugin/rack.rb:41:in `call'
/home/orchard_hills_church-staging/apps/orchard_hills_church/shared/bundle/ruby/1.8/bundler/gems/exception_notification-192a49a02d63/lib/exception_notifier.rb:19:in `call'
warden (1.0.3) lib/warden/manager.rb:35:in `call'
warden (1.0.3) lib/warden/manager.rb:34:in `catch'
warden (1.0.3) lib/warden/manager.rb:34:in `call'
actionpack (3.0.5) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
actionpack (3.0.5) lib/action_dispatch/middleware/head.rb:14:in `call'
rack (1.2.2) lib/rack/methodoverride.rb:24:in `call'
actionpack (3.0.5) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.0.5) lib/action_dispatch/middleware/flash.rb:182:in `call'
actionpack (3.0.5) lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
actionpack (3.0.5) lib/action_dispatch/middleware/cookies.rb:302:in `call'
activerecord (3.0.5) lib/active_record/query_cache.rb:32:in `call'
activerecord (3.0.5) lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
activerecord (3.0.5) lib/active_record/query_cache.rb:12:in `cache'
activerecord (3.0.5) lib/active_record/query_cache.rb:31:in `call'
activerecord (3.0.5) lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
actionpack (3.0.5) lib/action_dispatch/middleware/callbacks.rb:46:in `call'
activesupport (3.0.5) lib/active_support/callbacks.rb:415:in `_run_call_callbacks'
actionpack (3.0.5) lib/action_dispatch/middleware/callbacks.rb:44:in `call'
rack (1.2.2) lib/rack/sendfile.rb:107:in `call'
actionpack (3.0.5) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
actionpack (3.0.5) lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
railties (3.0.5) lib/rails/rack/logger.rb:13:in `call'
rack (1.2.2) lib/rack/runtime.rb:17:in `call'
dragonfly (0.8.2) lib/dragonfly/middleware.rb:16:in `call'
rack-cache (1.0) lib/rack/cache/context.rb:129:in `forward'
rack-cache (1.0) lib/rack/cache/context.rb:136:in `pass'
rack-cache (1.0) lib/rack/cache/context.rb:148:in `invalidate'
rack-cache (1.0) lib/rack/cache/context.rb:70:in `call!'
rack-cache (1.0) lib/rack/cache/context.rb:50:in `call'
dragonfly (0.8.2) lib/dragonfly/middleware.rb:16:in `call'
rack-cache (1.0) lib/rack/cache/context.rb:129:in `forward'
rack-cache (1.0) lib/rack/cache/context.rb:136:in `pass'
rack-cache (1.0) lib/rack/cache/context.rb:148:in `invalidate'
rack-cache (1.0) lib/rack/cache/context.rb:70:in `call!'
rack-cache (1.0) lib/rack/cache/context.rb:50:in `call'
rack (1.2.2) lib/rack/lock.rb:11:in `call'
rack (1.2.2) lib/rack/lock.rb:11:in `synchronize'
rack (1.2.2) lib/rack/lock.rb:11:in `call'
actionpack (3.0.5) lib/action_dispatch/middleware/static.rb:30:in `call'
railties (3.0.5) lib/rails/application.rb:168:in `call'
railties (3.0.5) lib/rails/application.rb:77:in `send'
railties (3.0.5) lib/rails/application.rb:77:in `method_missing'
passenger (3.0.4) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
passenger (3.0.4) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
passenger (3.0.4) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
passenger (3.0.4) lib/phusion_passenger/rack/application_spawner.rb:205:in `start_request_handler'
passenger (3.0.4) lib/phusion_passenger/rack/application_spawner.rb:170:in `send'
passenger (3.0.4) lib/phusion_passenger/rack/application_spawner.rb:170:in `handle_spawn_application'
passenger (3.0.4) lib/phusion_passenger/utils.rb:479:in `safe_fork'
passenger (3.0.4) lib/phusion_passenger/rack/application_spawner.rb:165:in `handle_spawn_application'
passenger (3.0.4) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.4) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.4) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.4) lib/phusion_passenger/abstract_server.rb:180:in `start'
passenger (3.0.4) lib/phusion_passenger/rack/application_spawner.rb:128:in `start'
passenger (3.0.4) lib/phusion_passenger/spawn_manager.rb:253:in `spawn_rack_application'
passenger (3.0.4) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
passenger (3.0.4) lib/phusion_passenger/spawn_manager.rb:246:in `spawn_rack_application'
passenger (3.0.4) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
passenger (3.0.4) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (3.0.4) lib/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application'
passenger (3.0.4) lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application'
passenger (3.0.4) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
passenger (3.0.4) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.4) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.4) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.4) helper-scripts/passenger-spawn-server:99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment