Skip to content
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

No helper method on class #23

Open
cindoum opened this issue Dec 24, 2014 · 3 comments
Open

No helper method on class #23

cindoum opened this issue Dec 24, 2014 · 3 comments

Comments

@cindoum
Copy link

cindoum commented Dec 24, 2014

Hi,

I have a class that has hydra_attributes. I can add attributes on it, select object with these attributes. Everything is working fin except that my class doesnt implement the helpers method (https://github.com/kostyantyn/hydra_attribute/wiki/Helper-methods).

My setup is pretty basic: installed the gem, generate the migration and rake db:migrate it. added the include HydraAttribute::ActiveRecord on the class...

I am using 4.1 branch.

Thank you

@cindoum
Copy link
Author

cindoum commented Dec 29, 2014

any idea?

@mabouchalkha
Copy link

yes +1

@cindoum
Copy link
Author

cindoum commented Jan 26, 2015

Up, can't use hydra_attribute_names_by_backend_type...

PaiementTerm.hydra_attributes #works
PaiementTerm.hydra_attribute_names_by_backend_type #fail
undefined method `hydra_attribute_names_by_backend_type' for #<Class:0x007fb80060c588>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants