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

Ruby 1.8.7 is not supporting octopus #314

Closed
bethink opened this issue Jun 23, 2015 · 1 comment
Closed

Ruby 1.8.7 is not supporting octopus #314

bethink opened this issue Jun 23, 2015 · 1 comment

Comments

@bethink
Copy link

bethink commented Jun 23, 2015

in https://github.com/tchandy/octopus/blob/master/lib/octopus/model.rb

 def hijack_methods
    around_save :run_on_shard, :unless => -> { self.class.custom_octopus_connection }
    after_initialize :set_current_shard

-> lambda syntax supports from ruby-1.9.0.
But in rubygems.org says, octopus supports >= 0 ruby verison.

@sobrinho
Copy link
Collaborator

sobrinho commented Aug 9, 2015

Fixed by bc77ae3

@sobrinho sobrinho closed this as completed Aug 9, 2015
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