Changeset 983
- Timestamp:
- 03/23/05 00:57:38 (4 years ago)
- Files:
-
- trunk/activerecord/CHANGELOG (modified) (1 diff)
- trunk/activerecord/lib/active_record/base.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activerecord/CHANGELOG
r982 r983 1 1 *SVN* 2 3 * Fixed that AR exists?() would explode on postgresql if the passed id did not match the PK type #900 [Scott Barron] 2 4 3 5 * Fixed the MS SQL adapter to work with the new limit/offset approach and with binary data (still suffering from 7KB limit, though) #901 [delynnb] trunk/activerecord/lib/active_record/base.rb
r944 r983 331 331 # Person.exists?(5) 332 332 def exists?(id) 333 !find_first("#{primary_key} = #{sanitize(id)}").nil? 333 !find_first("#{primary_key} = #{sanitize(id)}").nil? rescue false 334 334 end 335 335