similar to: Strange Error at the end of a succesful Migration

Displaying 20 results from an estimated 2000 matches similar to: "Strange Error at the end of a succesful Migration"

2006 Mar 16
2
Arrays of Model Objects, Intersections, Object Identification... ?
Hi all, Hope you can help me with understanding how Ruby / Rails treats arrays full of objects. Let''s say I have to arrays of objects. Both are the same kinds of objects. tomatoes = Fruit.find(:all, :conditions => [ ''tomato = ?'', true], :limit => 10) fruits = Fruit.find(:all, :limit => 10) And I want to create an array of these objects called @my_fruits,
2006 Dec 29
2
Rails SQL Views 0.5.0 Released
Rails SQL Views 0.5.0 is now available from http://rubyforge.org/frs/?group_id=2435&release_id=8685 and shortly as a Gem (gem install rails_sql_views). More information on Rails SQL Views can be found at http://activewarehouse.rubyforge.org/rails_sql_views/ This release finally fixes the SchemaDumper issues, including the necessary select statement for the view. It also introduces PostgreSQL
2006 Apr 08
7
How to create your own markup language ?
I''m actually looking to create my own markup language, after a look to the greats markdown and textilize markup languages they seem to be more complexes that what I need, so not feating with my application. Any help is welcome ;-) -- Grosjean S?bastien
2006 Mar 07
6
Anybody use Red|Blue Cloth?
Does anybody use and prefer Redcloth (or bluecloth, which appears to be alpha)? Does it affect performance much? Is there a way to get it to automatically process templates without having to call textilize? Thanks, Joe -- Posted via http://www.ruby-forum.com/.
2006 Dec 07
2
backgrounDRb problems with results and MiddleMan
Hi there, I''ve been experimenting with implementing BackgroundDRb in my rails app but am running into some problems. The primary problem I''m getting is in cleaning up worker threads, or getting any kind of response out of worker threads. If try using the response function/hash in my Worker the worker will not execute reporting that response is an unknown variable or function.
2006 Feb 03
2
acts_as_tree counter_cache behavior is different than API docs
Before I file a ticket, I''ll query ya''ll about this: The API docs for acts_as_tree''s counter_cache is to create a database column called "children_count" to hold the counter_cache. I have enabled this option in my model. While writing tests I wrote a test for creating children from the a parent: message = @forum_message["parent"].find child =
2006 Feb 22
15
Fixtures and Relationships
In my daily development, I migrate back and forth between versions, and often do: rake load_fixtures... ... in order to populate my development database with fun data. Now, with any HABTM relationship, there are failures, as there is no way to say "which" fixtures to load first. Within an actual functional or unit test case, you could simply load them in the proper order, but
2008 Nov 23
1
USB printer goes into disconnected state when low-power mode enabled
I've mentioned this before, here, but with a laser printer connected via the lp0 port. I have a new laser printer, a Brother HL2140, that normally works just fine when installed using the CUPS interface per OpenPrinting's instructions (with one minor modification I had to add because the base driver without the CUPS installation did not work. Every so often, which actually appears to be
2006 May 16
10
Date verus Time class
I''m using the date_select and datetime_select helpers in my view, and they return Date classes from the params hash. But how do I work with Date classes, they don''t print human readable dates or times, Time classes work well I can use strftime("%H:%M") to print to the screen. Is it possible to convert a Date to a Time, Ive been tinkering in irb but have got
2006 Dec 16
2
comments on hostingrails.com and railsplayground.com ?
hey all, Im looking at switching from bluehost to a new provider. Mainly for Mongrel, trac and SVN support. I was hoping to get some feedback on the above mentioned hosting companies I have posted this as part of an existing ''what privider would you reccomend topid'' But have considered it and decidec it deserves its own topic. cheers, Adam -- Posted via
2005 Jun 27
2
How to convert "c:\a\b" to "c:/a/b"?
How can one convert back slashes to forward slashes, e.g, changing "c:\a\b" to "c:/a/b"? I tried the following: > gsub("\\\\", "/", "c:\a\b") [1] "c:\a\b" Since this didn't work, I eliminated the replacement as a contributor as follows: > gsub("X", "/", "c:XaXb") [1] "c:/a/b"
2004 Jun 01
2
Problem in random (lme)
In a lattice 11x11 with 6 repetitions, we want to compare lines to their two parents. 3 of the 6 repetitions are sprinkled and the 3 others not. There are 5 factors : hm (hydrous mode), variety, block, rep and grandrep. grandrep gathers two repetition, a sprinkled and a not (as in Split Plot !). I use lme but I have problems in random. Can someone help me ? Ibnou DIENG
2005 Dec 27
1
Debugging Migrations
I''m having a heck of a time trying to debug issues in my migrations. First, is there a good way to do this? Second, is there a way to get any output to test it? _______________________ Brad Eck _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2012 Feb 12
3
Sound drop out with totem. mplayer Can't open audio device /dev/dsp
Hey all. This morning I found that my audio playback is randomly sprinkled with sound skips and dropouts. I went to /var/log/yum.log and found this: Feb 09 20:18:22 Updated: lame-3.99.4-2.el6.rf.i686 I'm not saying that caused the problem but it's all I could find that changed. When I ls in /dev there is no dsp entry. That would explain why mplayer Can't open audio device
2006 Jul 20
1
Scriptaculous + Sortable: onUpdate Not Firing
Hello all, I''m using Scriptaculous 1.6.1 on a project I''m developing. My generated HTML (generated by PHP) looks something like this: <ul id="admin-list"> <li id="li-13">Singletary, Bob (President/CEO)</li> <li id="li-12">Chatman, Jim (Vice President of Finance/CFO)</li> ... </ul> <script
2004 Apr 25
3
Migration succesful , but can't add machine to domain
Hi all, I migrate NT4 PDC to SAmba3 tdbsam backend. All users, groups, machineboxes are ok. When I am try to add Win2k to domain, popup the a windows, I type the DOMAIN ADMIN username, password, and I get a failer message: Bad user or password. I think my samba doesn't know where is passwd.tdb in my smb.conf: passdb backend = tdbsam:/etc/samba/passdb.tdb Any idea what is wrong?
2009 Jun 11
1
Restrict AIC comparison to succesful models?
Hello list, I'm doing a bootstrap analysis where some models occasionally fail to converge. I'd like to automate the process of restricting AIC to the models that do converge. A contrived example of what I'd like to do is below: resp <- c(1,1,2) pred <- c(1,2,3) m1 <- lm(resp~pred) m2 <- lm(resp~poly(pred,2)) m3 <- lm(resp~poly(pred,3)) # Fails, obviously ## Some
2016 Oct 04
0
How to enable OPUS on freepbx after installation has been succesful
Hello everyone, I was wondering if anyone could share a video on how to install OPUS from scratch to server, I´m new to Linux but since we have now freepbx (Asterisk 1.8.32.2 and 11.23.0) I´m force to look for alternatives to improve voice quality on an extreme budget, and more than that to learn new and better codecs for free PBX. So far I have downloaded opus-1.1.3.tar, installed on on my
2006 Nov 04
0
[LLVMdev] Port succesful
> Otherwise, I will look into deja-gnu testing, perhaps can compile it on > windows. I will The deja-gnu testing framework will most likely have to be rewritten to run on Windows. Its very unix specific. -Tanya > also add other beckend in the future (Sparc, PowerPC). I hope windows using > Visual C++ will be soon officially supported :) > > About the problem I had with
2000 Apr 26
0
Prompted for passwd on NT after succesful logon?
Hi, this has probably been answered before but I couldn't find it in the archives, so... Sun SPARC Solaris 2.6 and Samba 2.0.0, plain passwords (no smbpasswd, only Unix usernames and no NT domain). Everything works fine, but those using NT are prompted for username and password when they first access a share, even though they have already logged in to the NT-box using the same username