Fixed addition of "AND rownum" for queries without "WHERE" clause. Problem observed with Padrino 0.10.7, DataMapper 1.2.0, will_paginate 3.0.3
DEBUG - (0.003192) SELECT COUNT(*) FROM "PUBLICATIONS" AND rownum <= :1
ERROR - ORA-00933: SQL command not properly ended (code: 933, sql state: , query: SELECT COUNT(*) FROM "PUBLICATIONS" AND rownum <= :1, uri: oracle:***@***?fragment=&query=&path=&port=&scheme=oracle&adapter=oracle&user=***&host=***&password=***)
Fixed 'rownum' addition for selects without 'where'
Updated Gemfile to use dm 1.2.0
Updated Gemfile to use dm 1.2.0 - again
Updated Gemfile to use dm 1.2.0 - again (can't simplify more)