Questions tagged [ember-cli-rails]
18 questions
                    
                    6
                    
            votes
                
                2 answers
            
        Remove ember-cli-mirage from ember
I am using ember-cli-mirage to serve for requests. As I have my rails api to serve those request, how i shd remove or uninstall ember-cli-mirage from my ember ? 
If am removing mirage folder, am getting build error !! 
        
        Manikandan
        
- 1,234
 - 11
 - 18
 
                    3
                    
            votes
                
                3 answers
            
        Ember.js: Cannot read property 'isHelperInstance' of undefined
I'm deploying my app to my staging environment for the first time, but I'm running into an error...One of my routes is unable to render its template. I'm seeing this error in the console:
Uncaught TypeError: Cannot read property 'isHelperInstance'…
        
        Andrew
        
- 227,796
 - 193
 - 515
 - 708
 
                    2
                    
            votes
                
                0 answers
            
        Deploy ember-cli-rails 5 app to Heroku - failed to compile ruby app
I'm following this thoughtbot ember-cli-rails guide but cannot get the heroku deploy working. I did have to change bin/heroku_install to remove the lines about bower, and other than that, this is following the setup guide.
I don't see any visible…
        
        Danny
        
- 3,982
 - 1
 - 34
 - 42
 
                    2
                    
            votes
                
                1 answer
            
        Ember Engines inside Rails Engines via ember-cli-rails
We have a high modular rails5 app, which is splitted in rails engines over serveral repositories and integrated as ruby gems.
Now we want to introduce EmberJS by using ember-cli-rails. The main rails application contains the main ember application…
        
        phortx
        
- 849
 - 5
 - 21
 
                    1
                    
            vote
                
                1 answer
            
        Rails 5 assets:precompile hangs
I am running Rails 5 with Ember & ember-cli-rails gem. I don't have much in the Rails assets folder because I have a separate frontend folder and ember-cli-rails helps me mount my Ember app to a Rails route.
I deploy to an AWS instance and whenever…
        
        Sticky
        
- 3,671
 - 5
 - 34
 - 58
 
                    1
                    
            vote
                
                1 answer
            
        Flash messages in ember js not working. Object undefined when creating a flash object
Component.
{{#each flashMessages.queue as |flash|}}
  {{flash-message flash=flash messageStyle='bootstrap'}}
{{/each}}
component js
import Ember from 'ember';
export default…
        
        Flyn Sequeira
        
- 718
 - 2
 - 9
 - 25
 
                    1
                    
            vote
                
                0 answers
            
        Issue with persisting session attributes after Torii authentication with ember-simple-auth
I'm following ember-simple-auth dummy app to implement authentication with torii. Everything works, and the app authenticates, but it fails to persist additional attributes returned from the server into data.authenticated. Just as the authentication…
        
        Sbbs
        
- 1,610
 - 3
 - 22
 - 34
 
                    1
                    
            vote
                
                1 answer
            
        Where should ember-cli-rails compile the app in production?
During asset:precompile ember-cli-rails will build the ember app into tmp/ember-cli/apps/. This places the app in -.js in the compiled app assets (that is in tmp/ember-cli//assets/-.js).…      
        
        Remus Rusanu
        
- 288,378
 - 40
 - 442
 - 569
 
                    1
                    
            vote
                
                1 answer
            
        Set environment = 'staging' in Ember deployed with Capistrano 3
I've got a staging environment where I'd like to set a custom set of variables for deploying my Ember.js app and I'm drawing a blank on how to do it correctly. I am using the ember-cli-rails gem. According to the documentation for that:
EMBER_ENV:…
        
        GSP
        
- 3,763
 - 3
 - 32
 - 54
 
                    1
                    
            vote
                
                1 answer
            
        CSRF token session_store with ember-simple-auth alongside Devise
Is it possible to implement Rails csrf through cookie_store at the same while using ember-simple-auth Devise? 
Guides like this one always deactivate Rails.application.config.session_store which from my understanding does not allow Rails to keep…
        
        Deovandski
        
- 790
 - 1
 - 8
 - 22
 
                    1
                    
            vote
                
                1 answer
            
        How do I navigate to an Ember Route within my Rails application?
I have a very complex interactive page as part of a Rails application I'm working on, and it's really an SPA. I want to leverage Ember to do this so I have much more manageable code. All I really need Rails for is to ferry data back and forth on…
        
        RubyRedGrapefruit
        
- 12,066
 - 16
 - 92
 - 193
 
                    1
                    
            vote
                
                1 answer
            
        Ember-cli-rails No route match for ember's paths
In a Rails and Ember project, I decided to use EmberCLI Rails because I want to do integration tests with Capybara and all my favorite testing gems.
I installed it and it works when I go to the home page.
I added routes on ember like this :
  import…
        
        Dougui
        
- 7,142
 - 7
 - 52
 - 87
 
                    0
                    
            votes
                
                0 answers
            
        Could Import bpmn-js,bpmn-js-properties-panel module using ember-browserify
I have ember-cli 2.16.2. I am getting the following error when I try to import bpmn-js module in one of my route:
Uncaught Error: Could not find module npm:bpmn-js imported from
  prject/routes/hello
      at missingModule (loader.js:247)
      at…
        
    
                    0
                    
            votes
                
                1 answer
            
        Ember Template Compiler JS plugin not working when pre-compiled in Ember CLI rails appl
I am using ember-template-compiler.js as one of the dependency plugin in EmberCLI Rails application for Ember Handlebar templates . When I am trying to pre-compile the assets I am getting the following issue.
EmberCli::App::BuildError: EmberCLI app…
        
        Ranzit
        
- 1,327
 - 2
 - 13
 - 32
 
                    0
                    
            votes
                
                1 answer
            
        How to serialize ember paginated data
I am getting following json from my rest API:
{
  "content": [{
    "id": 56789,
    "name": "sample book",
    "status": "available"
  },{
    "id": 56789,
    "name": "sample book",
    "status": "available"
  }],
  "last": true,
 …
        
        VelNaga
        
- 3,593
 - 6
 - 48
 - 82