similar to: *dont* empty the database...?

Displaying 20 results from an estimated 6000 matches similar to: "*dont* empty the database...?"

2005 Dec 23
2
SQLite in-memory
I left ":memory:" in database.yml for testing and the most simple tests in the Agile book do not work (see trace below for test_truth). Since that''s what comes with the distributed database.yml I suppose it''s me doing something wrong. Did someone get SQLite ":memory:" working? How does it grab the schema? -- fxn % rake test_units (in
2006 Jan 10
8
first ajax demo in Rails book - does it work for anyone?
Just tried the first AJAX example in the rails book (p.391-392, the ''word guessing'' thing), and the AJAX partial used seems to render as a full page. I''m not sure whether it''s a) a partial bug b) some interaction between ajax and partials c) a change since the book came out or d) pilot error I''ve checked the errata pages and it''s flagged up
2007 Jan 15
4
iSCSI on a single interface?
Hi, are there currently any plans to make an iSCSI target created by setting shareiscsi=on on a zvol bindable to a single interface (setting tpgt or acls)? I can cobble something together with ipfilter, but that doesn''t give me enough granularity to say something like: ''host a can see target 1, host c can see targets 2-9'', etc. Also, am I right in thinking without
2006 May 07
3
Needle + Rails - IoC
Hi, I''m looking for past efforts to integrate Rails and Needle. I am thinking of doing it myself but would be interested in seeing what others have done before. If there are examples of other IoC frameworks being used with Ruby I''d be interested in hearing about them too. I find IoC to be a helpful concept in general and, having glanced at a few existing Rails app.s, I
2006 May 17
12
Help with Apache config
I have been attempting for days to configure Apache for Rails. I have read forums, followed How-To''s all in vain. I am hoping someone can help me out. I am getting the Rails Welcome screen, but when trying to go to any other url, I get the 500.html message. Take a look for yourself at http://66.139.78.237 and click on "about your application''s environment".
2006 Jan 17
2
Does anyone use RedCloth to allow end user input?
I was hoping to use RedCloth for textilize support to allow end users to enter textilized text (In blog comments, for example), but these bugs seem to make RedCloth unsuitable for that purpose: http://rubyforge.org/tracker/index.php?func=detail&aid=2989&group_id=216&atid=891 http://rubyforge.org/tracker/index.php?func=detail&aid=1779&group_id=216&atid=891
2005 Dec 27
4
Using mocks
Hi, What's the purpose of test/mocks? I couldn't quite complete the Wiki entry on this because all the information I _could_ find was in the readme. - Rowan -- Morality is usually taught by the immoral. _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2007 Sep 11
7
compression=on and zpool attach
I''ve got 12Gb or so of db+web in a zone on a ZFS filesystem on a mirrored zpool. Noticed during some performance testing today that its i/o bound but using hardly any CPU, so I thought turning on compression would be a quick win. I know I''ll have to copy files for existing data to be compressed, so I was going to make a new filesystem, enable compression and rysnc everything in,
2006 Aug 16
14
Migrations: only one table per migration file?
Hi all I have a new migration file created that adds some tables and fills one with some data: create_table :sound_styles do |t| t.column :name, :string, :null => false end create_table :show_types do |t| t.column :name, :string, :null => false end create_table :countries do |t| t.column :name, :string, :null => false end ActionView::Helpers::FormOptionsHelper::COUNTRIES.each
2006 Jan 03
4
in-memory test database -- where''s the schema?
I''m trying to get the unit testing for a new project to use the wonderful :memory: database specification for SQLite. However, like many people before me, I can''t get the schema to import or have anything else useful. Initially, the error I get is: /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/errors.rb:94:in `check'': cannot rollback - no transaction is
2006 Aug 21
12
SCSI synchronize cache cmd
Hi, I work on a support team for the Sun StorEdge 6920 and have a question about the use of the SCSI sync cache command in Solaris and ZFS. We have a bug in our 6920 software that exposes us to a memory leak when we receive the SCSI sync cache command: 6456312 - SCSI Synchronize Cache Command is flawed It will take some time for this bug fix to role out to the field so we need to understand
2007 Feb 07
4
NFS share problem with mac os x client
Hello, I test right now the beauty of zfs. I have installed opensolaris on a spare server to test nfs exports. After creating tank1 with zpool and a subfilesystem with zfs tank1/nfsshare, I have set the option sharenfs=on to tank1/nfsshare. With Mac OS X as client I can mount the filesystem in Finder.app with nfs://server/tank1/nfsshare, but if I copy a file an error ocours. Finder say "The
2006 Jun 13
11
markaby
What''s the current status of Markaby? I''ve played with it a bit and love it and am considering using it for a large project I''m starting. If you''ve used it, I''d love to hear your comments! Jamie
2006 Sep 06
2
creating zvols in a non-global zone (or ''Doctor, it hurts when I do this'')
A colleague just asked if zfs delegation worked with zvols too. Thought I''d give it a go and got myself in a mess (tank/linkfixer is the delegated dataset): root at non-global / # zfs create -V 500M tank/linkfixer/foo cannot create device links for ''tank/linkfixer/foo'': permission denied cannot create ''tank/linkfixer/foo'': permission denied Ok, so
2006 May 27
29
deploying R_o_R to local servers
Hi! I''m pretty amazed by the features of RoR so far. But, as I come from the desktop application development, my clients expect to run the magic on their domain rather on a foreign one. Also I feel uncomfortable giving away my RoR code to some hosting company, because I''m planning to do a large application. As I understand, RoR is designed to run on central web-servers and not
2007 Oct 08
2
safe zfs-level snapshots with a UFS-on-ZVOL filesystem?
I had some trouble installing a zone on ZFS with S10u4 (bug in the postgres packages) that went away when I used a ZVOL-backed UFS filesystem for the zonepath. I thought I''d push on with the experiment (in the hope Live Upgrade would be able to upgrade such a zone). It''s a bit unwieldy, but everything worked reasonably well - performance isn''t much worse than straight
2006 Oct 24
2
zfs set sharenfs=on
I started sharing out zfs filesystems via NFS last week using sharenfs=on. That seems to work fine until I reboot. Turned out the NFS server wasn''t enabled - I had to enable nfs/server, nfs/lockmgr and nfs/status manually. This is a stock SXCR b49 (ZFS root) install - don''t think I''d changed anything much. Shouldn''t a ZFS share be permanently enabling NFS?
2006 Jul 21
3
Interface with Flickr
Does anyone know how to get going with the flickr api WITHOUT using the ''flickr.rb'' gem? I''m wanting to just use the REXML and ''net/http'' stuff. I''m just wondering how to send requests to the api and handle the response. Any tips would be great! Thanks! -- Posted via http://www.ruby-forum.com/.
2006 Feb 11
1
Fastcgi and mysql woes
Hi, I have been heck of a time to get mysql and fastcgi to work properly on my Mac OS X box. I keep getting the following error: Can''t connect to local MySQL server through socket ''/opt/local/var/run/mysql5/mysqld.sock'' (13) I have even tried commenting out the "socket" option in my database.yml but it still gives me the same error. I''m ok when I
2005 Dec 14
1
Switchtower + SSL
Is anyone else using switchtower + Apache/mod_ssl? How do you get around the private key passphrase dialog?