Skip to content

Instantly share code, notes, and snippets.

View bdwellons's full-sized avatar

Brant Wellons bdwellons

View GitHub Profile
<%= form_for("user", :url => user_session_path) do |f| %>
<table>
<tr>
<td><%= f.label :email %></td>
<td><%= f.text_field :email %></td>
</tr>
<td><%= f.label :password %></td>
<td><%= f.password_field :password %></td>
</table>
<%= f.check_box :remember_me %>
@bdwellons
bdwellons / hls_db_config
Created December 28, 2011 14:40
hls db config
#database.yml
development:
adapter: postgresql
encoding: unicode
database: hls
pool: 5
username: postgres
password: pa$$wo3d
#/etc/postgresql/8.4/main/pg_hba.conf