Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Jan 29, 2013
1 parent 610958a commit 88e4ec6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -594,7 +594,7 @@ def disable_extension(name)
end

def extension_enabled?(name)
if supports_extensions
if supports_extensions?
res = exec_query "SELECT EXISTS(SELECT * FROM pg_available_extensions WHERE name = '#{name}' AND installed_version IS NOT NULL)",
'SCHEMA'
res.column_types['exists'].type_cast res.rows.first.first
Expand Down

0 comments on commit 88e4ec6

Please sign in to comment.