On Jul 27, 1:46 pm, Ritvvij <[email protected]> wrote:
> yes... text area to write the article and then save the whole article
> in DB
You didn't quite understand me. The column type you want (at least in
mysql, sqlite3, postgresql etc) is called text
Fred
> not sure which datatype to use
> 1. varchar 2000 / 4000 ...
> 2. clob blob
>
> On Jul 27, 12:41 pm, Frederick Cheung <[email protected]>
> wrote:
>
>
>
> > On Jul 27, 1:28 pm, Ritvvij <[email protected]> wrote:
>
> > > Hi,
>
> > > I know this ones a dumb question. I wanna create a blog and store the
> > > article in DB. it can be HUGE text.
>
> > > Can someone please mention the data type in rails and its equivalent
> > > in my sql is generally used?
>
> > You want a text column
>
> > Fred
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---