Comments (9)
One step forward: actions not working are only those where a respond_with @object
were used.
from mobylette.
hummm
I will give a look on this here, probably it's something I missed when working with responders
from mobylette.
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.
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 the
include Mobylette::RespondToMobileRequestsand the
mobylette_config` instead.
from mobylette.
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.
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.
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.
New version works great for me, thanks !!!
from mobylette.
That's great to hear!
Sent via Hubroid
from mobylette.
Related Issues (20)
- Samsung Galaxy 3 - SGH-T999 not registering as mobile HOT 3
- ArgumentError when "include Mobylette::RespondToMobileRequests" on Rails 3.0 HOT 2
- mobylette_options is nil in "user_agent_excluded?" on jruby HOT 8
- add BlackBerry Playbook to mobile devices
- I can't force mobile requesting HOT 5
- mobylette-3.3.2 is incompatible with devise-2 or earlier HOT 5
- Partially Mobile Version HOT 4
- mobilette set public method to controller HOT 3
- NoMethodError (undefined method `[]' for nil:NilClass): HOT 3
- Ignore mobile on JSON requests HOT 2
- Clarity on fallback behavior HOT 2
- JQuery Autocomplete field only works once HOT 4
- Add :tablet format by default
- skip_xhr_request doesn't work as expected HOT 1
- undefined method `respond_to_mobile_requests' for ApplicationController:Class
- ActionView::FileSystemResolver error while launching server on Rails 4.1.1. HOT 1
- uninitialized constant ActionView::FileSystemResolver (NameError) HOT 2
- Possible to stop mobylette from adding .mobile to URLs? HOT 1
- ArgumentError - wrong number of arguments (5 for 4): HOT 1
- Template caching
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobylette.