Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove all deprecation warnings in activeresource | Carlos Antonio da Silva | 2010-09-06 | 1 | -8/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -1/+1 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | save(false) is gone, use save(:validate => false) instead. | José Valim | 2010-01-17 | 1 | -0/+13 |
| | |||||
* | Fix failing ARes isolated tests | Joshua Peek | 2009-09-05 | 1 | -1/+2 |
| | |||||
* | Added save! which raises ResourceInvalid unless valid? | taryn | 2009-08-19 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | Similar to Active Record - it will raise ActiveResouce::ResourceInvalid if the resource is not valid (ie if <tt>valid?</tt> returns false) However - does not raise ActiveResource::ResourceNotFound if the callbacks fail (callbacks have not yet been implemented) - it will just try to save and raise if the callbacks all fail. This is not ideal behaviour - but will do until we decide to change the behaviour of save_with_validations to actually raise (rather than catch) the ResourceInvalid exception. Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Moved all test cases into a new test/cases directory to match Active Record ↵ | taryn | 2009-08-19 | 1 | -0/+49 |
test directory structure. Signed-off-by: Joshua Peek <josh@joshpeek.com> |