-
Notifications
You must be signed in to change notification settings - Fork 60
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
Support Rails 4 #10
base: master
Are you sure you want to change the base?
Support Rails 4 #10
Conversation
|
@andreorvalho In the meantime you can use the fork: gem 'acts_as_axlsx', git: 'git://github.com/straydogstudio/acts_as_xlsx.git' @randym seems busy elsewhere. Not sure when or if he will respond. |
@straydogstudio: Thank you for fixing this issue. |
sorry - I will try to get to this on Sunday. Again, apologies!! from a bad maintainer! On Wed, Apr 30, 2014 at 11:15 PM, Noel Peden [email protected]
|
Nice to hear from you @randym! No worries. |
👍 it will be great. |
Only fixing the link:
|
What we need here is support for ActiveRecord > 2.3.8, not a rails version. The problem with adding in a Rails::Version comparison is that it bakes in the assumption that we are running on Rails. Highly likely, but certainly not a requirement now that all that stuff has been cleanly packed into Gems. I'll re-write this with tests today and add in a PR. I'd appreciate any feedback. |
@randym Certainly. Didn't think of limiting it to ActiveRecord. I'll look for the PR. |
playing with https://github.com/thoughtbot/appraisal - looks like a respectable way to handle some of the different version scenarios in testing. Any objections to doing a 2.0 and dropping support for 1.8.7? The ROI on maintaining compatibility is near nil at this point. |
No objections from me re: dropping 1.8.7. People can always use an older version. |
Here be the PR |
Add support for nil values
Hey there. I've been updating axlsx_rails to support Rails 4.1, and found you need this change for acts_as_axlsx. The find(:all) method is no longer available.
I don't see any explicit documentation for passing options to the find(:all) method. I've guessed for Rails 4.1 that where(conditions) and order(order) would be useful. Perhaps the data option should be documented. Thoughts?