hi all i met a problem: #--------------------------------------------------------- Mysql::Error: #22001Data too long for column ''content'' at row 1: INSERT INTO bms (`cmd`, `shape`, `content`) VALUES(1, 1, ''ttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttestte'') #----------------------------------------------------------- directly insert into above value to table is works. but by rails failed what'' going on ? my table is +---------+------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +---------+------------------+------+-----+---------+----------------+ | id | int(10) unsigned | NO | PRI | NULL | auto_increment | | shape | tinyint(4) | NO | | | | | cmd | tinyint(4) | NO | | | | | content | text | NO | | | | +---------+------------------+------+-----+---------+----------------+ -- Posted via http://www.ruby-forum.com/.