Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…ces on the stats page
  • Loading branch information...
commit 8aa28f9fd7db0dc418826fd1cfc5f9eb90d9fe0e 1 parent 7efd56f
@cjstewart88 authored
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
1  .gitignore
@@ -2,3 +2,4 @@
db/*.sqlite3
log/*.log
tmp/
+.rvmrc
View
4 app/views/stats.html.erb
@@ -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
4 config/database.yml
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.