Giter Site home page Giter Site logo

Comments (5)

josevalim avatar josevalim commented on May 20, 2024

I have no interest in making Inherited Resources work with bundler in Rails 2.3. Patches are very welcome though.

from inherited_resources.

qrush avatar qrush commented on May 20, 2024

This still isn't working. Example repo that shows the broken behavior:

http://github.com/qrush/ir_wtf

Migrate and head to /posts. Works the first time, then fails on another request.

from inherited_resources.

josevalim avatar josevalim commented on May 20, 2024

It seems that removing unloadable from Inherited::Base makes it work. This is because unloadable adds it to be removed, but we are not adding IR loads path in AS::Dependencies (which is automatically done for plugins and gems), so it can't be loaded back. I wonder how clearance solved the problem, because they use unloadable as well and you told me they work with bundler just fine.

from inherited_resources.

geoffgarside avatar geoffgarside commented on May 20, 2024

I've noticed that it works find in production mode as things don't get unloaded, but it seems to break in development mode where things are reloaded for each request.

from inherited_resources.

some1else avatar some1else commented on May 20, 2024

Inherited Resources dependency Responders clashes with newer installed versions of itself when using without Bundler.
Inherited Resources doesn't get loaded when using Bundler with Rails 2.3.

I guess using RVM and gem-sets is the best solution for these legacy apps. Please add a note that Rails 2.3 support is deprecated in the README

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.