Commit fc18489eecaa441c84e3aa74bdb094ee5af6b781
1 parent
fff4d71f
Exists in
master
and in
1 other branch
config.gem justinfrench-formtastic. removed :as => :password where unnecessary.
Showing
2 changed files
with
6 additions
and
2 deletions
Show diff stats
app/views/users/new.html.erb
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | 2 | ||
| 3 | <% form.inputs do %> | 3 | <% form.inputs do %> |
| 4 | <%= form.input :email %> | 4 | <%= form.input :email %> |
| 5 | - <%= form.input :password, :as => :password %> | ||
| 6 | - <%= form.input :password_confirmation, :as => :password %> | 5 | + <%= form.input :password %> |
| 6 | + <%= form.input :password_confirmation %> | ||
| 7 | <% end %> | 7 | <% end %> |
| 8 | 8 |
config/environment.rb
| @@ -31,5 +31,9 @@ Rails::Initializer.run do |config| | @@ -31,5 +31,9 @@ Rails::Initializer.run do |config| | ||
| 31 | :lib => "utility_scopes", | 31 | :lib => "utility_scopes", |
| 32 | :version => "0.2.2", | 32 | :version => "0.2.2", |
| 33 | :source => "http://gems.github.com" | 33 | :source => "http://gems.github.com" |
| 34 | + config.gem "justinfrench-formtastic", | ||
| 35 | + :lib => 'formtastic', | ||
| 36 | + :source => 'http://gems.github.com', | ||
| 37 | + :version => '0.2.1' | ||
| 34 | end | 38 | end |
| 35 | 39 |