Skip to content

Instantly share code, notes, and snippets.

View muziejus's full-sized avatar

Moacir P. de Sá Pereira muziejus

View GitHub Profile
@muziejus
muziejus / controllers.application.js
Last active June 26, 2019 16:49 — forked from poteto/controllers.application.js
ember-changeset-validations demo
import Ember from 'ember';
import {
validatePresence,
validateLength
} from 'ember-changeset-validations/validators';
const { get } = Ember;
export default Ember.Controller.extend({
props: ["name.firstName", "name.lastName", "job", "age"],