pluginaweek / enumerate_by

Adds support for declaring an ActiveRecord class as an enumeration
http://www.pluginaweek.org
MIT License
38 stars 9 forks source link

Fails for undefined method `construct_attributes_from_arguments' with Rails 3.2.0 #5

Open chbonser opened 11 years ago

chbonser commented 11 years ago

I've done a bit of digging and construct_attributes_from_arguments was deprecated from ActiveRecord::Base in version 3.0.9 (http://apidock.com/rails/ActiveRecord/Base/construct_attributes_from_arguments/class). I'm still digging to determine what the method was changed to or where it was moved. I'm curious though if someone might already have a solution for this issue.

chbonser commented 11 years ago

I see that SkyM has been dealing with the same issues as me... https://github.com/SkyM/enumerate_by

chbonser commented 11 years ago

For others who stumble into this issue, kkorach's branch seems to have the necessary 3.2.0 support: https://github.com/kkorach/enumerate_by.git