Closed k0nserv closed 9 years ago
Fantastic, thanks for getting this in a better state for merging. I went ahead and cherry-picked the rspec update commit into master already since that one is stable and doesn't affect the rest of the PR. Travis has unfortunately decided to start failing builds of this project, but it's nothing to do with that commit, it's passing for me locally.
The new rake task looks nice, but it's failing for me with the same unhelpful error that is showing up on Travis. It would be great if you can figure out what's going on with that.
I'll take a closer look at the 4.2 changes in a few days, hopefully.
Great :) I will look at the 1.9.3 issue and see if I can figure out why it's failing.
There we go
Awesome, thanks so much. Pulled those commits in too, so now the 4.2 stuff is the only change left that I need to look at.
Nice making it ready for the gem. Didn't have much time lately for this but at least you could use my changes as a base to get it ready for the gem.
:+1:
:+1:
We have been using this for our app since I submitted this PR and it works well
Same here
Hi Zvi here from Kiva. This is a desperately needed enhancement for us! Thank you! Will definitely be interested in any issues you can find in k0nserv's PR!
Hey! Sorry for letting this go for so long. I have not in fact forgotten about it, I just got busy and it kept slipping down my to-do list. But, tonight or tomorrow I should hopefully be able to get to it.
Thanks for the quick response, iangreenleaf! Look forward to the updates tonight or tomorrow (and your take on them). Thanks so much for your help!
Thank you all for your work on this! This is now merged and released as 0.4.0.
Thanks a lot
This PR is based on the work by @nulian in https://github.com/nulian/activerecord_enum.
The tests pass for ActiveRecord 4.2, but I am not very familiar with the Rails type system so I might have made some mistakes
I've also updated rspec to 3.1 and changed to use the expect syntax