Guirec Corbel
Guirec Corbel
@zaaack You have to do this : ``` import DS from 'ember-data'; import {alias} from 'ember-computed-decorators'; export default DS.Model.extend({ @alias('customData.email') email: null }); ``` Just add `: null`. This is...
Hi, I have the same issue, I have this component : ``` {{kh-subscriptions-chart subscriptions=model.subscriptions}} ``` I want to go in `app/pods/components/kh-subscriptions-chart/template.hbs` but it doesn't find the file.
It works. Thanks a lot! You was very fast!
Any updates on this subject? It would be nice to create chance set for each hasMany relationships.
Nice. Just to know, because I need it for my current project, do you think it will take a long time?
Thanks, I will try with 1.3.0. Let me know if I can help.
Hello, Can you try `ActiveForm::Form::UnpersistendModel`? It should work.
Yes, `UnpersistentModel` is a class. You must to do something like this : ``` require 'rails' require 'active_record' require 'activeform-rails' class Query < ActiveForm::Form::UnpersistentModel include ActiveForm::Form include ActiveForm::ValidateUniqueness end ```...
Just to know, this is the code I created to do what I want : ``` def sitemap_with_locales_for(records, method) sitemap_for records do |model| I18n.available_locales.each do |locale| I18n.locale = locale url...
Both are working. I made a benchmark and this is the result : ``` select2-result-label 1.150000 0.510000 1.660000 ( 3.041824) select2-match 1.050000 0.440000 1.490000 ( 2.712075) ``` So, for speed,...