Adolfo Builes abuiles

View test.coffee
1 2 3 4 5 6
var CurrentUser = DS.Model.extend(
_id: DS.attr("string")
company: DS.attr("string")
)
 
`export default Currentuser`
View gist:8837785
1 2 3 4
ActionView::Template::Error (Missing partial teaspoon/spec/_eak_rails with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
* "/Users/adolfo/code/facturas/app/views"
* "/Users/adolfo/.rvm/gems/ruby-2.0.0-p0@facturas/gems/teaspoon-0.7.9/app/views"
* "/Users/adolfo/code/facturas/teaspoon/partials"
View gist:8479103
1 2 3 4 5 6 7 8 9 10
GIT
remote: git://github.com/abuiles/ember-rails.git
revision: f6e08fbaada3a22d1443cbe4acea200f8034bfa6
specs:
ember-rails (0.14.1)
active_model_serializers
barber (>= 0.4.1)
ember-data-source (>= 1.0.0.beta.5)
ember-source (>= 1.1.0)
execjs (>= 1.2)
View gist:8477179
1 2 3 4 5 6 7 8 9 10
APp.SearchController = Ember.ArrayController.extend
queryParams: ['bd']
bd: null
actions:
foo: ->
@transitionToRoute({ queryParams: { bd: @get('businessDecision').id }})
# http://localhost:3000/search?search[bd]=134
View ember-data.js
1 2 3 4 5 6 7 8 9 10
/*!
* @overview Ember Data
* @copyright Copyright 2011-2014 Tilde Inc. and contributors.
* Portions Copyright 2011 LivingSocial Inc.
* @license Licensed under MIT license (see license.js)
* @version 1.0.0-beta.6+canary.54ffe735
*/
 
(function() {
var define, requireModule;
View gist:8425924
1 2 3 4 5 6 7 8
{:filter=>
{:or=>
[
{:term=>{:business_question_ids=>669}},
{:term=>{:business_question_ids=>668}}
]
}
}
View gist:8340830
1 2 3 4 5 6 7
import Client from 'app/client';
 
module('Unit - Model');
 
test('exists', function(){
ok(Client, 'expected todo to exist');
});
View gist:8189324
1 2 3 4 5 6 7 8 9 10
class Api::ClientsController < ApplicationController
before_action :set_client, only: [:show, :edit, :update, :destroy]
 
respond_to :json
 
# GET /clients
def index
@clients = Client.all
 
respond_with @clients
View gist:8085069
1 2 3 4
App.ApplicationAdapter = DS.ActiveModelAdapter.extend
namespace: 'api'
 
Mims.ApplicationSerializer = DS.ActiveModelSerializer.extend()
View gist:7980431
1 2 3 4 5
if (typeof query !== "undefined" && query !== null){
return this.ajax(this.buildURL(type.typeKey, id), 'GET', { data: query });
} else {
return this.ajax(this.buildURL(type.typeKey, id), 'GET');
}
Something went wrong with that request. Please try again.