Git Product home page Git Product logo

Comments (5)

josevalim avatar josevalim commented on May 19, 2024

I cannot reproduce it. Just created a new app from Rails source code using Inherited Resources and everything works.

I also doubt this is an Inherited Resources issues. Are you using Haml? Which Inherited Resources version? Please give me more information.

from inherited_resources.

argl avatar argl commented on May 19, 2024

i doubt it as well ;) yes, we're using haml for the html, latest git version as well. heres the relevant ections form the app's gemfile:

gem "rails", :git => "git://github.com/rails/rails.git"
gem 'haml', :git => 'git://github.com/nex3/haml.git'
gem 'inherited_resources', :git => "git://github.com/josevalim/inherited_resources.git"

i'll try to create a minimal test case to reproduce and report back.

thanks a 10^6 for the quick response.

from inherited_resources.

josevalim avatar josevalim commented on May 19, 2024

It works fine with ERB. I bet on Haml issue. :) Please let me know!

from inherited_resources.

argl avatar argl commented on May 19, 2024

i think we've found it, we were rendering a haml partial from an erb template (don't ask). switching over to using haml only seems to solve the issue. nothing wrong with inherited_resources.

from inherited_resources.

josevalim avatar josevalim commented on May 19, 2024

Ok, thanks for reporting back! Closing!

from inherited_resources.

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.