Giter VIP home page Giter VIP logo

Comments (9)

dgilperez avatar dgilperez commented on September 15, 2024

One step forward: actions not working are only those where a respond_with @object were used.

from mobylette.

tscolari avatar tscolari commented on September 15, 2024

hummm
I will give a look on this here, probably it's something I missed when working with responders

from mobylette.

tscolari avatar tscolari commented on September 15, 2024

Hello, sorry for the delay to getting back to you.
Did you solve this?

I tryed a lot, but I could not reproduce this error.
Could you supply me a sample application where it occurs?
or give me more info about how do you configured responders in the controller?

I've even refactored gems internals and specs, but could not find anything related.

from mobylette.

tscolari avatar tscolari commented on September 15, 2024

I released a new version with improvements in the user_agent list, ipad was included.
I don't think it would cause any problem related to fall_back, but it's worth updating.

Just be aware that after version 2.0 the method respond_to_mobile_requests' doesn't exists anymore, you must use theinclude Mobylette::RespondToMobileRequestsand themobylette_config` instead.

from mobylette.

dgilperez avatar dgilperez commented on September 15, 2024

Hi tscolari !

I just rewrote that part of my app not to use respond_with ... and development went so much further I'm not able to reproduce it anymore.

Anyway I'm upgrading and pinging back if any issues.

I just realized I had this piece of code in an initializer. I was not the one who put this in place, nor why is it there. It might be related:

ActionController::Responder.class_eval do
  alias :to_mobile :to_html
end

I'll comment that out and tell if something interesting is found.

Regards!

BTW, there's a typo in the README: Mobyllete per Mobylette.

from mobylette.

tscolari avatar tscolari commented on September 15, 2024

ups, I've fixed the typo!

You got me with that initializer. There is one of those inside the gem too.
I remember it was something related to responders, but I've no memory of what exactly. I'll give a look at this.

from mobylette.

tscolari avatar tscolari commented on September 15, 2024

Please give the version 3.0 a try, there was some internal changes in the resolvers.
I'm closing all the resolver related issues before 3.0.

from mobylette.

dgilperez avatar dgilperez commented on September 15, 2024

New version works great for me, thanks !!!

from mobylette.

tscolari avatar tscolari commented on September 15, 2024

That's great to hear!

Sent via Hubroid

from mobylette.

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.