Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

Commit

Permalink
fixed an error in a query when using sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Adams committed Sep 13, 2008
1 parent 9581525 commit 455cc08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/page.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def swap!(direction)
end

def publishable_children
self.children.find :all, :conditions => "published = true AND linked = TRUE"
self.children.find :all, :conditions => "published = true AND linked = true"
end

def ancestor_path
Expand Down

0 comments on commit 455cc08

Please sign in to comment.