I first noticed this on an iPhone running iPhone OS 3.1.2: ActiveScaffold is issuing an SQL request (according to the log file) of
SELECT "foo".* FROM "foo" ORDER BY foo."id" ASC LIMIT 999999999 OFFSET 0 and this causes something to occur internally that results in a 406 Not Acceptable response. By changing the user-agent back to Safari/IE/Firefox, ActiveScaffold issues the more sane SQL of SELECT "foo".* FROM "foo" ORDER BY foo."id" ASC LIMIT 15 OFFSET 0 The database I'm using is SQLite3. My installation of ActiveScaffold is fresh this morning: script/plugin install git://github.com/activescaffold/active_scaffold.git I'm on Rails 2.3.4 Tested on Safari 4.0.4 on OS X 10.5.8 and 10.6.2 using the Develop menu to set the user-agent to Mobile Safari 3.1.2 and Mobile Safari 2.2.1 If I can discover where in ActiveScaffold this user-agent matters, I'll reply with my findings. -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en.
