stravid/slotcars — pull request #126 by DominikGuzei (2012-04-17 14:57:52+00:00)
Title: Feature/ajax registration

Adds account widget with (disabled) login form and working sign up form like discussed in issue #33.

Devise is configured to listen to post requests on `api/users` and routes these requests to its registration controller #create method. It returns the created user model from the server as serialized JSON with id and username (without email / password).

Bulk commits were disabled for the ApiAdapter to allow for correct requests (each model -> single request).
I also removed all unnecessary unit tests for the various ui widgets, since they are really complex to setup and do not bring that much benefit. There is nearly no logic involved in the registration feature and were it is (user models) unit tests were added!

Login etc. is not covered in this pull request!