Git Product home page Git Product logo

ember-cli-rails-addon's People

Contributors

jesenko avatar jnicklas avatar nadavshatz avatar richard-viney avatar rondale-sc avatar rwjblue avatar rwz avatar seanpdoyle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ember-cli-rails-addon's Issues

Cannot set property 'enabled' of undefined

Hello there. I started getting this error when I upgraded to v0.0.7. It still happening on v0.0.8.

BuildingBuilding...
Cannot set property 'enabled' of undefined
TypeError: Cannot set property 'enabled' of undefined
    at Class.module.exports.included (/Users/josemarluedke/Projects/Ruby/ember-cli-rails-heroku/app/frontend/node_modules/ember-cli-rails-addon/index.js:60:39)
    at EmberApp.<anonymous> (/Users/josemarluedke/Projects/Ruby/ember-cli-rails-heroku/app/frontend/node_modules/ember-cli/lib/broccoli/ember-app.js:217:15)
    at Array.filter (native)
    at EmberApp._notifyAddonIncluded (/Users/josemarluedke/Projects/Ruby/ember-cli-rails-heroku/app/frontend/node_modules/ember-cli/lib/broccoli/ember-app.js:212:45)
    at new EmberApp (/Users/josemarluedke/Projects/Ruby/ember-cli-rails-heroku/app/frontend/node_modules/ember-cli/lib/broccoli/ember-app.js:203:8)
    at Object.<anonymous> (/Users/josemarluedke/Projects/Ruby/ember-cli-rails-heroku/app/frontend/Brocfile.js:5:11)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)

You can check the project on: https://github.com/josemarluedke/ember-cli-rails-heroku. What I'm working on with this project, is to find a solution to deploy it to production env using Heroku.

Note: This is happening on development environment.

Best, J.

Can't use without jQuery

It would be awesome if this addon supported Ember without jQuery. $.ajaxPrefilter is preventing that in the initializer

environment "development" when running tests in browser

When I add the addon to my package.json the environment of my app becomes development everywhere, where it used to be test when running ember serve and browsing to localhost:4200/tests.

I can not figure out the cause of this behavior, only that removing this addon from package.json gives me the expected behavior again...

Optional CSRF Tokens

I attempted making some AJAX requests using jQuery to endpoints other than my own API, and I got this error:

Request header field X-CSRF-Token is not allowed by Access-Control-Allow-Headers in preflight response.

I noticed the code in ember-rails-addon-csrf.js adds the CSRF headers to all AJAX requests that use jQuery.

It would be nice if there was a way to make the CSRF headers optional so I can make AJAX requests to Google, etc. Thanks!

Release 0.0.12

Could you guys release 0.0.12 with the fingerprint issue solved? thx.

outputReady hook not firing

Heya heya, I'm getting an infinite loop in Ember-Cli-Rails when building the app, and I've tracked it down to the outputReady hook in this addon not firing. Don't have any hypotheses, at the moment. Here is the output log, if it helps.

Future versions of Ember CLI will not support v0.10.25. Please update to Node 0.12 or io.js.
version: 1.13.8
Could not find watchman, falling back to NodeWatcher for file system events.
Visit http://www.ember-cli.com/user-guide/#watchman for more info.
BuildingBuilding.Building..Building...BuildingBuilding...

Build successful - 1976ms.

Slowest Trees                                 | Total               
----------------------------------------------+---------------------
ES6: App Tree                                 | 530ms               
TemplateCompiler                              | 275ms               
TemplateCompiler                              | 244ms               
CoffeeScriptFilter                            | 240ms               

Slowest Trees (cumulative)                    | Total (avg)         
----------------------------------------------+---------------------
TemplateCompiler (3)                          | 537ms (179 ms)      
ES6: App Tree (1)                             | 530ms               
CoffeeScriptFilter (2)                        | 241ms (120 ms)      

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.