Posts by Vinicius Luiz • 41 points
3 posts
-
0
votes2
answers56
viewsQ: How do you consume custom routes with Ember?
My Rails api has the user/me route that returns the current user data, written like this: #routes resources :usuarios do get :mim, on: :collection end #controller def mim render json: usuario_atual…
-
0
votes1
answer78
viewsQ: How to load JS correctly with Ember?
I’m trying to set up this template http://wrapbootstrap.com/preview/WB0048JF7 in a project with Ember, however, the main library nifty.js is not loading the element . mega-dropdown (top menu) and…
-
4
votes1
answer121
viewsQ: How do I get Exception Mongoid::Errors::Documentnotfound released on Mongoid
I’m trying to do a test similar to the one below to capture the Exception of a non-existent document expect(Produto.find('57e2bf76ce222fd11258cd4e')).to…