-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add option to have attributes with identical name #11
Comments
Not sure if I understood you correctly. All attributes are assigned only to one entity (Product, Category, etc). Please, look at attribute name index. It allows to create attribute Do you want to have one attribute |
Let me give another example, which I think does not work currently. Take one entity |
i've got it. it's a good idea. I can create a separate I'll think about the best implementation of this feature and maybe add it in the next release. |
Awesome. Thanks. Is there a road map and an (estimated) date for the next release? |
I don't know the day of the next release because I'm so busy now but i'll try to make a time and do it. Currently, the most of code from 0.4.2 version was rewritten. That version was really slow. If you have 100 attributes, they will be loaded more than 2 seconds! and the bottleneck was ActiveRecord. So I removed it from internal purposes and now use only the database driver. As the result, models, which use hydra attributes, are loaded a little bit longer than other activerecord models. I'll provide a benchmark after release but you can test it yourself now. Also, another important bug was fixed: you could receive corrupted data if you used more than one server in production. About road map. The next release, 0.5.0, will not support Rails 4 and will be freezed for Rails 3. After release, I'll start working on version 0.6.0 and the main feature will be compatibility with rails 4. |
This is another enhencement request. (Sorry, for spamming you lately.)
Is it possible to lift the requirement, that all attribute names have to be unique? For example in a project where you have several documents with different attributes, but every document has an
addressee_id
or asigning_date
attribute.The text was updated successfully, but these errors were encountered: