Permalink
Browse files

updating database.yml for my new local env, also replacing + with spa…

…ces on the stats page
  • Loading branch information...
1 parent 7efd56f commit 8aa28f9fd7db0dc418826fd1cfc5f9eb90d9fe0e @cjstewart88 committed Feb 15, 2012
Showing with 4 additions and 5 deletions.
  1. +1 −0 .gitignore
  2. +2 −2 app/views/stats.html.erb
  3. +1 −3 config/database.yml
View
@@ -2,3 +2,4 @@
db/*.sqlite3
log/*.log
tmp/
+.rvmrc
View
@@ -42,7 +42,7 @@
<h3>Top Searches</h3>
<ol>
<% @top_past_7_days_searches.each do | key, value | %>
- <li><a href='/just/<%= key %>' target='_blank'><%= key %></a></li>
+ <li><a href='/just/<%= key %>' target='_blank'><%= key.gsub("+", " ") %></a></li>
<% end %>
</ol>
@@ -69,7 +69,7 @@
<h3>Top Searches</h3>
<ol>
<% @top_searches_today.each do | key, value | %>
- <li><a href='/just/<%= key %>' target='_blank'><%= key %></a></li>
+ <li><a href='/just/<%= key %>' target='_blank'><%= key.gsub("+", " ") %></a></li>
<% end %>
</ol>
View
@@ -1,9 +1,7 @@
-# SQLite version 3.x
-# gem install sqlite3
development:
adapter: postgresql
encoding: unicode
database: tubalr
pool: 5
timeout: 5000
- username: vitrue
+ username: postgres

0 comments on commit 8aa28f9

Please sign in to comment.