# In\_place\_editor\_field doesn't work with Float column

**URL:** <https://www.ruby-forum.com/t/in-place-editor-field-doesnt-work-with-float-column/146883>\
**Category:** Ruby\
**Created:** [August 26, 2008, 2:18pm UTC](https://www.ruby-forum.com/t/in-place-editor-field-doesnt-work-with-float-column/146883 "2008-08-26T14:18:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![palani](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ed655f/32.png) [@palani](https://www.ruby-forum.com/u/palani)\
**Post date:** [August 26, 2008, 2:18pm UTC](https://www.ruby-forum.com/t/in-place-editor-field-doesnt-work-with-float-column/146883/1 "2008-08-26T14:18:29Z")

</div>

Hi  
Anyone please help me to solve in\_place\_editor\_field .  
Its working for me with Integers and Strings, but I get an error on  
Float fields. It says  
Undefined method `size’ for 0.03:Float

It does change the value in the database though…

---

<div class="post-metadata">

**Author:** ![palani](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ed655f/32.png) [@palani](https://www.ruby-forum.com/u/palani)\
**Post date:** [August 26, 2008, 6:26pm UTC](https://www.ruby-forum.com/t/in-place-editor-field-doesnt-work-with-float-column/146883/2 "2008-08-26T18:26:48Z")

</div>

On Tue, Aug 26, 2008 at 8:15 AM, Palani K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Hi  
> Anyone please help me to solve in\_place\_editor\_field .  
> Its working for me with Integers and Strings, but I get an error on  
> Float fields. It says  
> Undefined method `size’ for 0.03:Float
> 
> It does change the value in the database though…

Please don’t double post, and also see my reply on your other post.

-greg
