Not compatible with Rails 3.x.x
kimrgrey opened this issue · 4 comments
Hi!
What about this commit: 7de6483? Are you going to make new release? How soon? Current version of gem is not working with Rails 3.x.x because of using user#update.
Are you sure sure you can't do update_attributes in rails 3.x.x? The method seems to be in the code for 3.2.11 https://github.com/rails/rails/blob/v3.2.11/activerecord/lib/active_record/persistence.rb#L173
Can you provide more details on the issue you are running into?
I can use update_attributes
in Rails 3 without problems. But this commit was pushed August 17. And your gem last release was published August 14. So, it doesn't contains changes connected with update_attriubtes
. So, my question is when you plan to make new release?
Oh, I see, unfortunately I'm not the author but he will likely see this soon and push the new changes to rubygems. Until then you can add the following line to your Gemfile:
gem "devise-otp", git: "https://github.com/wmlele/devise-otp.git"
If you are not using bundler you can alternatively pull the code down and install the gem manually.
Expect a release early next week.