Code Monkey home page Code Monkey logo

Comments (4)

whitehat101 avatar whitehat101 commented on June 22, 2024

That should work.

I worte a test against 0.0.7 and it passed.

The code that makes the ignore_prefix work can be found here and it doesn't care what kind of template it is working with. It's just a regexp on the filename string.

What version of rails, angular-rails-templates, and ruby are you working with?

from angular-rails-templates.

jumski avatar jumski commented on June 22, 2024

Dunno why but on production i got an excepion that AppName::Application.config.angular_templates is undefined (no error on dev/test).

Maybe somehow connected ?

I just stick to the default.

from angular-rails-templates.

whitehat101 avatar whitehat101 commented on June 22, 2024

Instead of setting ignore_prefix in an initializer, I would set it in config/application.rb

If you have angular-rails-templates in a gemfile group (:assets maybe) that might cause an exception in production, and not elsewhere.

from angular-rails-templates.

jumski avatar jumski commented on June 22, 2024

yeah thats good idea
i have it in ungrouped in the gemfile tho

2014-05-01 20:14 GMT+02:00 Jeremy [email protected]:

Instead of setting ignore_prefix in an initializer, I would set it in
config/application.rb

If you have angular-rails-templates in a gemfile group (:assets maybe)
that might cause an exception in production, and not elsewhere.


Reply to this email directly or view it on GitHubhttps://github.com//issues/37#issuecomment-41938126
.

from angular-rails-templates.

Related Issues (20)

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.