Changeset 7783
- Timestamp:
- 10/08/07 00:13:34 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1-2-stable/actionpack/CHANGELOG
r7740 r7783 1 *SVN* 2 3 * Fix in place editor's setter action with non-string fields. #7418 [Andreas] 4 5 1 6 *1.13.4* (October 4th, 2007) 2 7 branches/1-2-stable/actionpack/lib/action_controller/macros/in_place_editing.rb
r4952 r7783 25 25 @item = object.to_s.camelize.constantize.find(params[:id]) 26 26 @item.update_attribute(attribute, params[:value]) 27 render :text => @item.send(attribute) 27 render :text => @item.send(attribute).to_s 28 28 end 29 29 end