On Sat, Mar 26, 2016 at 4:35 AM, Colin Law wrote:
> On 26 March 2016 at 09:25, Naveed Alam wrote:
> > Ramu Goud wrote in post #1182441:
> >> Hi,
> >> i have column name phone with integer datatype but when i enter phone
> >> number it throws an error
>
On 26 March 2016 at 09:25, Naveed Alam wrote:
> Ramu Goud wrote in post #1182441:
>> Hi,
>> i have column name phone with integer datatype but when i enter phone
>> number it throws an error
>> "1325565488 is out of range for ActiveRecord::Type::Integer with limit
>> 4"
>
>
Ramu Goud wrote in post #1182441:
> Hi,
> i have column name phone with integer datatype but when i enter phone
> number it throws an error
> "1325565488 is out of range for ActiveRecord::Type::Integer with limit
> 4"
goto your db folder and in the migration change the phone number field
data
Use a string data type for the number.
--Rob
Sent from my cell, please excuse any typos.
On Mar 24, 2016 5:55 PM, "Ramu Goud" wrote:
> Use string where i'm just a beginner so can u tell me that in detail
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You
On 24 March 2016 at 21:54, Ramu Goud wrote:
> Use string where i'm just a beginner so can u tell me that in detail
As the datatype for the column in the database.
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails:
Use string where i'm just a beginner so can u tell me that in detail
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send
6 matches
Mail list logo