Changeset 6972
- Timestamp:
- 06/08/07 19:32:15 (1 year ago)
- Files:
-
- trunk/activeresource/CHANGELOG (modified) (1 diff)
- trunk/activeresource/lib/active_resource/base.rb (modified) (1 diff)
- trunk/activeresource/test/base_test.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activeresource/CHANGELOG
r6925 r6972 1 1 *SVN* 2 3 * Fix query methods on resources. [Cody Fauser] 2 4 3 5 * pass the prefix_options to the instantiated record when using find without a specific id. Closes #8544 [alloy] trunk/activeresource/lib/active_resource/base.rb
r6925 r6972 416 416 attributes[method_name.first(-1)] = arguments.first 417 417 when "?" 418 attributes[method_name.first(-1)] == true418 attributes[method_name.first(-1)] 419 419 else 420 420 attributes.has_key?(method_name) ? attributes[method_name] : super trunk/activeresource/test/base_test.rb
r6925 r6972 182 182 assert_kind_of Person, matz 183 183 assert_equal "Matz", matz.name 184 assert matz.name? 184 185 end 185 186