Age | Commit message (Collapse) | Author |
|
The before validation hook will overwrite whatever is in random on create. This is what we want - just need to test it properly
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
no idea why the numericality validatoin with greater_than_or_equal 0 does not catch negative numbers
|
|
|
|
defaults.yml later
|
|
Conflicts:
users/test/unit/user_test.rb
|
|
|
|
|
|
that's what it does. Changed all tests to use it instead of the attributes method
|
|
This allows us to reuse add_email from email_aliases_attributes=
|
|
|
|
nor aliases that are the same as the original email for that matter
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* unit tests draft
* controller draft
|
|
|
|
Just a very simple start for now.
Do we want to use the api for the secure remote password auth from js?
|
|
removes the need for .all call in some tests.
|
|
authenticated users.
|
|
Conflicts:
app/views/layouts/application.html.haml
help/app/controllers/tickets_controller.rb
help/test/functional/tickets_controller_test.rb
users/test/support/stub_record_helper.rb
|
|
|
|
|
|
I also tried flash.keep(:notice) but that did not help - not sure how to keep the flash until the root url has rendered.
|
|
|
|
|
|
creating and editing users differ so much now it's not worth reusing the complex user_form_with for the signup.
|
|
password requires ajax for secure remote password to work
|
|
|
|
This version has basic user and help tickets management
|
|
|
|
|
|
|