Displaying 20 results from an estimated 5000 matches similar to: "how to specify a hash in a migration create_table."
2006 Apr 03
3
New software, test site, OpenProfile
I''ve just put a new Ruby On Rails application up for testing at:
<http://rtest.openprofile.net>
Open Profile can be used as a login and user profile module for any Ruby
On Rails application.
Its purpose is to minimize the hassle of joining new web forums (or
anything else on the web that requires you to enter a user name, email
addres, password twice, etc.). If it''s
2008 Sep 05
1
How do I use Internet Explorer 6.0 in Wine 1.1.3
Hi I just installed Wine 1.1.3 a couple of days ago, on my Acer Aspire 3623 Laptop (256MB and 40G HD) running PuppyLinux 4.0 OS. I installed Wine because I am taking an online math course at college and it needs a Windows OS and Internet Explorer 6.0 to run.
[Image: http://farm4.static.flickr.com/3224/2831514726_408632591a_o.png ]
Then I installed Internet Exlorer using the "Add
2015 Feb 09
1
regression: relocatable kernels on a chromebook
On Sun, 8 Feb 2015, Ady wrote:
...
> There have been discussions and/or reports somewhat related to this
> matter during 2013 (Mar-Dec), and reports about failing to boot some
> kernels with Syslinux 6.03 (2014Q4).
>
> The topics involved:
>
> _ Kernels with no protected-mode code (e.g. grub's kernel lnxboot.img
> initrd=core.img)
> _ bzImage and zImage files
2015 Feb 08
0
regression: relocatable kernels on a chromebook
> On Sat, 7 Feb 2015, Ady via Syslinux wrote:
> > Thank you for this meaningful report. Ideally, I would suggest
> > performing a similar test (at least with the same kernel built with all
> > the above "config_*=y" settings) with official pre-built Syslinux
> > versions 4.07 and 3.86 (remembering that all Syslinux-related files,
> > including c32
2018 Aug 09
1
Re: Mount URL as cdrom/iso KVM/QEMU
Hi Daniel,
I have noticed that it will fail exactly as you said if <cdrom> is first in the boot order, if <hd> is first in the boot order the XML validates and it starts as usual.
first in log except below is with cdrom set to first in boot order, second is with hd set first.
2018-08-09 11:39:28.625+0000: starting up libvirt version: 3.9.0, package: 14.el7_5.6 (CentOS BuildSystem
2006 Apr 19
6
undefined method `create_table'' for #<LoginController:0x5e60
I am geeting the foolowing error.
undefined method `create_table'' for #<LoginController:0x5e60110>
I wrote the crete action in application controller.
I am coping ther total worng please help me!
class ApplicationController < ActionController::Base
model :cart
model :line_item
before_filter :authorize
def create
# create_table() yields a TableDefinition instance
2017 Mar 21
1
Linux distribution targeted at 32-bit hardware
On 03/19/2017 01:12 AM, Ady Ady via Syslinux wrote:
> Regarding distros for older computers, there are several. The
> problem, at least at this point, is bootability. Although Antix is
> for older computers, it is also based on Debian and the latest
> ISOLINUX will also be bigger than 32KiB. Perhaps Knoppix or some (of
> the many) PuppyLinux would still use ISOLINUX 4.xx or older.
2006 Apr 04
0
making a set column type with create_table
create_table(:username, :options => ''ENGINE=MyISAM DEFAULT
CHARSET=utf8'') do |table|
table.column :name, :string
# THE LINE BELOW FAILS
table.column :tag, :set
...
...
end
Hello all,
I''d like to make a set column with the create_table method. I''ve googled
around some, but did not find an answer. Is this possible with
2006 Apr 12
0
create_table and char columns
When I use create_table to make a table :string always makes a varchar
column. How can I make it so that :string will make a char column?
create_table(:accounts, :options => ''ENGINE=MyISAM DEFAULT'') do |table|
# This creates a varchar column, I would like a char column.
table.column :username, :string
...
end
--
Posted via http://www.ruby-forum.com/.
2006 Jan 08
0
Migration doesn''t seem to preserve create_table options in schema
Hi,
I have the following migration (abbreviated):
class Initial < ActiveRecord::Migration
def self.up
create_table :messages, :options => ''ENGINE=MyISAM'', :force => true do
|t|
t.column :id, :integer, :null => false
t.column :external_id, :string, :null => false
t.column :recipients_count, :integer, :default => 0
2009 Apr 09
4
create_table with unique combo
I need to create a table replacing default integer id with a string id
and making a combo of (id and version) unique primary key. Here is
what I''ve got so far.
class CreateCatalogs < ActiveRecord::Migration
def self.up
create_table :catalogs, :id => false do |t|
t.string :id, :limit => 20, :null => false
t.string :version, :default =>
2010 Jan 03
1
Swfdec and Ffmpeg only
Hi,
I'm the founder and still very active developer of Puppy Linux, and a
variant named Quirky. Puppy is a cut-down distro, typically 100MB
live-CD. We have always used the Adobe Flash player, though I have
stayed with the Flash 9 player (9.0.48.0) due to its smaller size.
Puppy also has ffmpeg, xine-lib and gxine.
Recently I have been experimenting with Swfdec and Swfdec-mozilla. I
started
2006 Jan 12
1
Best Forum? Was: Migration doesn''t seem to preserve create_table options in schema
Hi,
is this the best forum to answer this question? Is there any better source
for information or another mailinglist to address this question to?
Cheers,
Mariano
---------- Forwarded message ----------
From: Mariano Kamp <mariano.kamp@gmail.com>
Date: Jan 8, 2006 6:24 PM
Subject: Migration doesn''t seem to preserve create_table options in schema
To: rails@lists.rubyonrails.org
2015 Jan 26
0
[Bug 28095] X crash with PFIFO_CACHE_ERROR. (Nouveau on Riva TNT).
https://bugs.freedesktop.org/show_bug.cgi?id=28095
--- Comment #3 from Brent <bzipitidoo at hotmail.com> ---
Tested with Puppy Linux with kernel 3.14.20. This is with Tahrpup 6.0, with an
updated kernel released by the maintainer of Tahrpup.
The Xserver has no mouse pointer, and displays only vertical stripes. But
ctrl-alt-F2 worked and I can still use the text screen console. Looked at
2006 Jun 02
1
Is AJAX/RJS secure enough for enterprise data hanling?
Sure, AJAX and RJS provide snappier performance by reducing the hits on the
server. But, is it easily hacked in a RoR application? Can it be made as
secure as a non-ajax web -app?
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory alternative."
--- E.Taft Benson
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jul 12
4
error when using plugin discover
When I run ./script/plugin discover to register new plugin sites I get
stopped at this point with the following error.
...
http://svn.northpub.com/plugins/
http://rhnh.svnrepository.com/svn/public/rails/plugins/
(eval):3:in `each'': undefined method `[]'' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/plugin.rb:658:in
2005 Dec 29
6
How do I open and read/write to a file?
I need to process some text files quickly. I''ve not been able to find the
answer in the archive. The Ruby Standard Library site times out. Can
someone tell me where to find info on how to:
1. Get a list of filenames in a directory.
2. How to open a file.
3. How to read it a line at a time.
--
Thanks in advance for the help,
-Larry
"Work, work, work...there is no satisfactory
2006 Apr 04
4
Membership Management System Plugin/Gem?
Hi, I''m looking to create an online internet community for managing
user profiles and other data. Thus, I would need that has the
following features:
o authentication
- protect individual member pages/directories
o session management
o retrieve and reset passwords
In short, I''m looking to create an online community. Thus, can
someone direct me to a plugin(s) for
2015 Feb 08
2
regression: relocatable kernels on a chromebook
On Sat, 7 Feb 2015, Ady via Syslinux wrote:
> Thank you for this meaningful report. Ideally, I would suggest
> performing a similar test (at least with the same kernel built with all
> the above "config_*=y" settings) with official pre-built Syslinux
> versions 4.07 and 3.86 (remembering that all Syslinux-related files,
> including c32 modules, if being used, shall
2006 Apr 28
6
[OT] Ruby ftp client for windows
I know this is off topic, But, my boss has tasked me with finding a better
ftp client than the one in Windows XP. Is there a Ruby client that can
recover dropped connections, ( a resume feature)? Would be nice if it could
handle secure/ encrypted transmissions as well?
Failing that, can anyone recommend a good scriptable ftp client for the
Windows plaftorm?
--
Best Regards,
-Larry
"Work,