feedable 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/feedable.rb +1 -1
- data/lib/feedable/version.rb +1 -1
- metadata +1 -1
data/lib/feedable.rb
CHANGED
@@ -40,7 +40,7 @@ def feedable(*args)
|
|
40
40
|
# join together and execute
|
41
41
|
unions = clauses.join(' UNION ')
|
42
42
|
paging = "order by dtim #{opts[:order]} limit #{opts[:limit]} offset #{opts[:offset]}"
|
43
|
-
query = "select * from (#{unions}) " + paging
|
43
|
+
query = "select * from (#{unions}) fdbl " + paging
|
44
44
|
all_ids = ActiveRecord::Base.connection.select_all(query)
|
45
45
|
all_recs = []
|
46
46
|
|
data/lib/feedable/version.rb
CHANGED