GithubHelp home page GithubHelp logo

Comments (6)

twalpole avatar twalpole commented on August 15, 2024

It looks like the 0.4 gem broke the concept of xxx_path(:subdomain=>'abc') returning a fully qualified domain if the subdomain option is passed and is not the same as current, since it stopped working when I upgraded to 0.4 and havent moved to SnowLeopard yet. A workaround is to use xxx_url(:subdomain=>'abc')

from subdomain-fu.

mihar avatar mihar commented on August 15, 2024

Yes you are correct, i also noticed it was the new version causing problems, when i downgraded the gem as a last resort.

I mistakenly thought it had something to do with Snow Leopard, because i updated all the gems after the upgrade.

from subdomain-fu.

etaque avatar etaque commented on August 15, 2024

Same problem with 0.4, thanks for the workaround.

from subdomain-fu.

mikelarkin avatar mikelarkin commented on August 15, 2024

Same issue, still on Leopard, obviously an issue with the plugin.

from subdomain-fu.

twalpole avatar twalpole commented on August 15, 2024

Actually, from looking over the code it appears there is a new setting. So I believe SubdomainFu.override_only_path=true should return the behavior to what it was before

from subdomain-fu.

ryland avatar ryland commented on August 15, 2024

@twalpole is correct. I believe the README just needs to be updated. By default :only_path will be honored. If you want the previous (and in my opinion misleading) behavior set SubdomainFu.override_only_path to true in your application configuration.

from subdomain-fu.

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.