Changeset 4703
- Timestamp:
- 08/07/06 06:25:01 (2 years ago)
- Files:
-
- branches/stable/activerecord/CHANGELOG (modified) (1 diff)
- branches/stable/activerecord/lib/active_record/migration.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/stable/activerecord/CHANGELOG
r4702 r4703 1 1 *1.14.3* (June 27th, 2006) 2 3 * Fix announcement of very long migration names. #5722 [blake@near-time.com] 2 4 3 5 * Update callbacks documentation. #3970 [Robby Russell <robby@planetargon.com>] branches/stable/activerecord/lib/active_record/migration.rb
r4120 r4703 244 244 def announce(message) 245 245 text = "#{name}: #{message}" 246 write "== %s %s" % [ text, "=" * (75 - text.length) ] 246 length = [0, 75 - text.length].max 247 write "== %s %s" % [text, "=" * length] 247 248 end 248 249