- 30 8月, 2009 1 次提交
-
-
由 José Valim 提交于
Signed-off-by: NYehuda Katz <wycats@gmail.com>
-
- 29 8月, 2009 2 次提交
-
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
- 28 8月, 2009 3 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Jeffrey Hardy 提交于
[#3107 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Joshua Peek 提交于
-
- 27 8月, 2009 15 次提交
-
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Carl Lerche 提交于
-
由 Carl Lerche 提交于
-
由 Carl Lerche 提交于
-
由 Carl Lerche 提交于
-
由 Carl Lerche 提交于
-
由 Jeffrey Hardy 提交于
[#3104 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Jeffrey Hardy 提交于
[#3103 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Jeffrey Hardy 提交于
[#3102 state:incomplete] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Jeffrey Hardy 提交于
UrlRewriter#rewrite_url should call #to_param on the value given in :anchor option, just as #url_for does [#2746 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Akira Matsuda 提交于
[#2252 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Jeremy Kemper 提交于
Broke CI. [#2252 state:open] This reverts commit adedf728.
-
由 Sven Fuchs 提交于
[#2754 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Akira Matsuda 提交于
[#2252 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 26 8月, 2009 10 次提交
-
-
由 Yehuda Katz 提交于
* This initial implementation is a bit hackish, but it uses a normal middleware API so it's future-proof when we improve the internals.
-
由 Joshua Peek 提交于
-
-
-
-
-
-
-
由 Jeremy Kemper 提交于
-
-
- 25 8月, 2009 1 次提交
-
-
由 Emilio Tagua 提交于
[#3093 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 23 8月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 22 8月, 2009 2 次提交
-
-
由 Joshua Peek 提交于
-
由 taryn 提交于
Just a copy from Active Record (with tests). Each is a warpper function for the equivalent scoped call to find eg first is a wrapper for find(:first) Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-
- 21 8月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 19 8月, 2009 4 次提交
-
-
由 taryn 提交于
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: NJoshua Peek <josh@joshpeek.com>
-
由 taryn 提交于
Active Record does not explode with RecordNotFound if you go looking for a collection of objects - it just returns nil. Thus Active Resource should also not explode. After all - finding no objects that match a set of conditions is not exceptional behaviour - unlike looking for a specific object with a given id (which you'd expect to exist). I've also added documentation to +find+ to reflect this. Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-
由 taryn 提交于
Pulled find-based tests into their own test case. This matches Active Record, and allows us to have one places where all find-tests are located, which will help when adding dynamic finders later. Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-
由 taryn 提交于
Moved all test cases into a new test/cases directory to match Active Record test directory structure. Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-