Displaying 7 results from an estimated 7 matches for "mediumtext".
2006 Aug 14
0
MediumText with Rails Migrations
Hi,
I''m trying to figure out how to reliably define a column as mediumtext
type through a migration.
First I tried this:
change_column( :entries, :lines, :text, :limit => 2.megabytes )
It worked fine for my development box on MySQL 5.0, but when I tried
it on my production box with MySQL 4.0, it gave the following error:
MysqlError: You have an error in your SQL sy...
2006 Jan 04
4
Need some implementation ideas :-)
Hi,
I have good this cool challenge from my boss on developing a very simple
cms-like system to publish articles within. The caveat is that he wants
to have multi-lingual content.
At first I thought RoR would be perfect for the assignment but right now
I''m not so sure.
My first attempt involved creating a table for each model/languagde like
this:
articles_en
articles_dk
articles_de
2010 Aug 13
10
:limit text mysql
...ils 3.rc app that I''m developing. I have a text entry in one
my models that can sometimes be quite big. I tried setting :limit =>
4294967296 on the text column in my migration file but this doesn''t seem
to have any effect. The column is till created as a TEXT column rather
than MEDIUMTEXT or LONGTEXT.
Does anyone have any idea why this might be happening? Is there a better
way of ensuring that
an entry won''t default to TEXT in a mysql database?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ru...
2008 Jan 29
6
Weird DB Session error, "Mysql::Error: Lost connection to MySQL server during query"
I''ve discovered something really weird in rails 1.2.3 (It could be
fixed in 2.0? but I don''t know).
Recently I started getting the error "Mysql::Error: Lost connection to
MySQL server during query" in my application. It seemed like it had
popped up almost without relation to anything. There was a page in the
RoR wiki with possible solutions but none of them had worked
2013 May 24
6
Puppet/Nagios/PuppetDB slow performance
Hi all,
For months now I''ve been using Puppet with PuppetDB backend to manage my
Nagios configs. We now have 1200+ services being checked and including
servicedependency, host, hostdependency, command and other Nagios
resources being managed, that''s about 3000 resources in total.
Unfortunately this means the monitoring server takes about 8 minutes to
perform a Puppet run.
2011 Sep 21
11
Software inventory
Howdy,
Before I go about writing one myself, anyone out there written a
software inventory module/fact for gathering a list of all installed
rpms/debs on a system? Got a few ideas floating around in my head, but
wanted to see if/what other folks have done ..
--
I''ve seen things you people wouldn''t believe. Attack ships on fire off
the shoulder of Orion. I watched C-beams
2013 Feb 08
11
Puppet dashboard stuck pending jobs
Hi Guys,
I am a new puppet user and wanted some type of monitoring for puppet so
deployed puppet-dashboard. It has been working very well for a few days
not, but all of a sudden I start getting pending tasks and they never
finish even after restarting all processes. They keep accumulating and
never seem to finish even though the clients are running fine. I have the
puppet-dashboard