Rails 3: all form tags now return strings, not output data into stream, so it should be used in <%= %>, not <% %>
save_with_validation is deprecated in Rails 3.2 => replacing with regular save
Added crude workaround to allow work without LDAP configuration; probably even doesn't rean LDAP
Added explicit requires; session configuration is probably not needed here nowadays - it's in the configuration
More routing...
Fix form_for invocation
Even more routes
Generate demo user accounts