khiav223577 / pluck_all

A more efficient way to get data from database. Like #pluck method but return array of hashes instead.
MIT License
102 stars 10 forks source link

Rails 4.0 also doesn't have attribute_alias? method #31

Open myxoh opened 6 years ago

myxoh commented 6 years ago

I'm upgrading a project from rails 3.2 to rails 4 and I'm getting undefined method attribute_alias? I've seen you fixed this issue for rails 3.2, but assumed that rails 4 counted with that method.

Could we try and fix this? I can issue a PR if you'd like

khiav223577 commented 6 years ago

Sure. If you have any problem, feel free to ask me here.

khiav223577 commented 6 years ago

The gem is tested in rails 4.2, but not in rails 4.0. You can try to fix the bug or upgrade your project to 4.2 directly.

khiav223577 commented 6 years ago

@myxoh are you going to fix this bug?

myxoh commented 6 years ago

Hi @khiav223577 , sorry this is down my priority list so I don't know yet whether I'll find some time to create a PR

khiav223577 commented 6 years ago

It's ok since few people have reported this bug. I could also help if you or your projects are affected by this bug and need it to be fixed as soon as possible.