GithubHelp home page GithubHelp logo

rails_issue_2182's Introduction

This is a sample app to reproduce the bug for rails bug #2182

It uses a local copy of rails, on the 3-1-stable branch, to create the project
So to run this project on your local, you will either have to edit the Gemfile entry for rails to an installed gem or
a local copy of rails on the 3-1-stable branch 

Had last checked this on commit sha 787f1f30009daafa15d3f4c4ac3c50459fd8e57f. This is on branch 3-1-stable

The error backtrace is on https://gist.github.com/1102147
The rails log errors are filtered to be less verbose so i ran a asset:precompile rake task

The rails issue is at rails/rails#1732

== Log

Right now there are two separate components, sprockets and action_view. Also, sprockets uses Tilt while action_view does not.

Ideally i think, action_view should use tilt more and the whole sprockets thing should be a rendering strategy of ActionView

I am trying to solve the problem by figuring out how to render a template from say a rake task

Previously, i tried to register_processor for sprockets, but that did not make sense

Also, sprockets has rudimentary templating, it reads a constant.yml file and uses erb syntax aka. <%= VAR_KEY %>
to render the config set in constants.yml

rails_issue_2182's People

Contributors

deepak avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.