Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with Rails 4 #8

Open
glebm opened this issue Jan 17, 2014 · 3 comments
Open

Does not work with Rails 4 #8

glebm opened this issue Jan 17, 2014 · 3 comments
Assignees

Comments

@glebm
Copy link

glebm commented Jan 17, 2014

NoMethodError: undefined method `merge' for #<ActionDispatch::Request::Session::Options:0x007f7f3c6f82a0>
iron_cache-1.4.0/lib/iron_cache/caches.rb:98→ put
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/bundler/gems/iron_cache_rails-4fef84b18e01/lib/action_dispatch/session/iron_cache.rb:39→ block in set_session
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/bundler/gems/iron_cache_rails-4fef84b18e01/lib/action_dispatch/session/iron_cache.rb:66→ with_namespace
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/bundler/gems/iron_cache_rails-4fef84b18e01/lib/action_dispatch/session/iron_cache.rb:36→ set_session
rack-1.5.2/lib/rack/session/abstract/id.rb:342→ commit_session
rack-1.5.2/lib/rack/session/abstract/id.rb:226→ context
rack-1.5.2/lib/rack/session/abstract/id.rb:220→ call
actionpack-4.0.2/lib/action_dispatch/middleware/cookies.rb:486→ call
activerecord-4.0.2/lib/active_record/query_cache.rb:36→ call
activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:626→ call
actionpack-4.0.2/lib/action_dispatch/middleware/callbacks.rb:29→ block in call
activesupport-4.0.2/lib/active_support/callbacks.rb:373→ _run__FRAGMENT__call__callbacks
activesupport-4.0.2/lib/active_support/callbacks.rb:80→ run_callbacks
actionpack-4.0.2/lib/action_dispatch/middleware/callbacks.rb:27→ call
actionpack-4.0.2/lib/action_dispatch/middleware/remote_ip.rb:76→ call
actionpack-4.0.2/lib/action_dispatch/middleware/debug_exceptions.rb:17→ call
actionpack-4.0.2/lib/action_dispatch/middleware/show_exceptions.rb:30→ call
railties-4.0.2/lib/rails/rack/logger.rb:38→ call_app
railties-4.0.2/lib/rails/rack/logger.rb:20→ block in call
activesupport-4.0.2/lib/active_support/tagged_logging.rb:67→ block in tagged
activesupport-4.0.2/lib/active_support/tagged_logging.rb:25→ tagged
activesupport-4.0.2/lib/active_support/tagged_logging.rb:67→ tagged
railties-4.0.2/lib/rails/rack/logger.rb:20→ call
actionpack-4.0.2/lib/action_dispatch/middleware/request_id.rb:21→ call
rack-1.5.2/lib/rack/methodoverride.rb:21→ call
rack-1.5.2/lib/rack/runtime.rb:17→ call
activesupport-4.0.2/lib/active_support/cache/strategy/local_cache.rb:83→ call
actionpack-4.0.2/lib/action_dispatch/middleware/static.rb:64→ call
font_assets-0.1.10/lib/font_assets/middleware.rb:29→ call
rack-1.5.2/lib/rack/sendfile.rb:112→ call
actionpack-4.0.2/lib/action_dispatch/middleware/ssl.rb:24→ call
railties-4.0.2/lib/rails/engine.rb:511→ call
railties-4.0.2/lib/rails/application.rb:97→ call
rack-canonical-host-0.0.8/lib/rack/canonical_host.rb:18→ call
puma-2.7.1/lib/puma/configuration.rb:68→ call
puma-2.7.1/lib/puma/server.rb:486→ handle_request
puma-2.7.1/lib/puma/server.rb:357→ process_client
puma-2.7.1/lib/puma/server.rb:250→ block in run
puma-2.7.1/lib/puma/thread_pool.rb:92→ call
puma-2.7.1/lib/puma/thread_pool.rb:92→ block in spawn_thread
@treeder
Copy link
Contributor

treeder commented Jan 21, 2014

Hi @glebm , what version of iron_cache_rails are you using? The line numbers don't seem to much up.

@glebm
Copy link
Author

glebm commented Jan 23, 2014

Rails meta madness and ruby 2.0 sometimes don't play well with line numbers. I tried 1.4.0 and master (last week), both fail.

@treeder
Copy link
Contributor

treeder commented Jan 23, 2014

Looks like the Rails 4 interface has changed, made a pull request for it, any chance you could try that branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants