similar to: Migration and foreign keys

Displaying 20 results from an estimated 2000 matches similar to: "Migration and foreign keys"

2006 Jul 04
1
Select Box problem in the controler with Ajax
Hi, I have a selectbox that updates a given span area when a user selects a value. The selectbox has the option :include_blank => true. The controler will fetch the ID of the selected option in the combo box and sends the description of the item with the same ID. The problem is that the user is able to select the empty option, and the controler will not be able to fecth the ID. This
2006 Jul 06
1
Laszlo DHTML on Rails?
Hi, I''m trying to get a big picture about what can be done with the mix of these two technologies. My idea would be to use the power of Rails to provide the model and controller functionalities, and use Open Laszlo for the view design. This would provide a better abstraction level for the development of the GUI. Can someone provide me an idea if this is possible what are the
2006 Jul 03
2
Login Engine & Functional Tests
Hello, I''m creating some functional tests form my controler, and most actions require login. I''m using login engine to manage the login functionalities. I would like to know how can I login a user in a functional test. This is, the first thing that I would like to do is to login a user. This way the response will return :success instead of :redirect. Thanks in advance. --
2008 Apr 27
1
problem with size of array
+ > p2<-function(r){ + gama=0 + for(i in 1:1000){ + c=caminho[[4]] + for(i in 1:caminho[[3]]+1) { + c=c+caminho[[i+3]]*((r[i])^(i-1)) + d=(abs(c))*exp(-(x^2/2))} + gama=gama + ( d/(h(r[i])) ) } + return(gama)} > e3<-p2(r) OBS: r is a rnorm(1000,0,1) > caminho theta_chapeu f_estrela k a0 a1 a2 a3 1 3.2 1.2 3 2 1 4 5 > question i wanted gama to be
2011 May 06
3
Configuring Voicemail in Asterisk 1.8
Hi All; Already in the voicemail.conf file, I added the extension 500 and kindly find below my voicemail configuration: [Internal] 0 => 1234,Gama Operator,Operator at gama.com 500 => 1234,Operator,Operator at gama.com 501 => 1234,Employer Name,employer_email at gama.com 502 => 1234,Employer Name,employer_email at gama.com Asterisk version is 1.8 and currently I am getting this
2005 Dec 22
2
help me understand migrations movie
I''m somewhat of a newbie - played with recent versions of rails a few mths ago, but have decided to start from scratch with 1.0. I want to build my new db as much as possible with migrations, so I watched DHH''s migrations movie from rubyonrails.org. A few things confuse me: 1. He generates the model ("post") before running rake db_schema_dump. Is that necessary or
2009 Sep 16
1
noise from decoded file
Hy, can anyone recognize that pixel noise in the playbackfile recorder file: http://www.megafileupload.com/en/file/135429/FMODTestRecording-wav.html playback file: http://www.megafileupload.com/en/file/135431/FMODTestPlayback-wav.html i have no idea what that is anymore. i try everything i know, from changing the way of copying data to different encode/decode algorithms the recorded file is
2009 Sep 14
2
noise from custom encoder/decoder
Hy, I'm totaly out of ideas now. here are links to the code I use. codec.cpp http://barvanjekode.gama.us/temp/1078354945.html codec.h http://barvanjekode.gama.us/temp/135707080.html Variables I use are: int samplerate 32000 uint quality 10 uint complexity = 2 I get that wierd noise after I use speex encoder/decoder. It's like there where empty spaces between each encoded
2009 Sep 03
1
Speex-dev Digest, Vol 64, Issue 2
hy, recording and playback is working perfectly without speex. i have try to set samplerat from 6000 to 441000 and quality from 1 to 10 sam with complexy, but the best i can get is with 16000 samplerate, 5quality and 3complexy .. but still, the voice that came out is annoying, artificial, robot ,... Lp, Tim +--------------------------+ | email: rico at gama.us | | www: http://gama.us
2009 Apr 10
1
Re MLE Issues
Hi I have been having issue with a ML estimator for Jump diffusion process but know I am get little error I didn't notice before like I am try to create a vector > #GBMPJ MLE Combined Ph 1 LR > # > n<-length(combinedlrph1) > j<-c(1,2,3,4,5,6,7,8,9,10) Error in c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10) : unused argument(s) (3, 4, 5, 6, 7, 8, 9, 10) >
2009 Apr 03
2
Geometric Brownian Motion Process with Jumps
Hi, I have been using maxLik to do some MLE of Geometric Brownian Motion Process and everything has been going fine, but know I have tried to do it with jumps. I have create a vector of jumps and then added this into my log-likelihood equation, know I am getting a message: NA in the initial gradient My codes is hear # n<-length(combinedlr) j<-c(1,2,3,4,5,6,7,8,9,10)
2009 Sep 02
3
voice sound like robot voice :)
hy, here is my speex encoder/decoder .. the sampleRate i use is 16000 and quality,complexity are at 5. can someone take a look in to the code and see if there is something that is making that robot voice here is a link to colored and numbered code, same as below http://barvanjekode.gama.us/temp/1257361243.html thanx. code ----------------------- #include "codec.h"
2005 Dec 14
3
Migrations bug with Rails 1.0, PostgreSQL 8.1?
Filed a ticket for bogus Ruby produced via: rake db_schema_dump http://dev.rubyonrails.org/ticket/3232 I''d appreciate it if someone could verify against PostgreSQL 8.0.x -- -- Tom Mornini
2006 Apr 26
1
rake db_schema_dump make syntax error
rake migrate bug with datetime: > rake db_schema_dump produced a bad schema.rb that isn''t valid ruby, it has an invalid default, unless ruby takes bare words: t.column "date_available", :datetime, :default => Sun Jan 01 00:00:00 Arabic Standard Time 2006, :null => false I don''t think the Baghdad time zone should matter. ruby 1.8.4, rails 1.1.2,
2009 Jan 07
1
bet way to debug a plug-in?
Hi, Yesterday I had to walk through the code of a plug-in and perform a minor fix. I confess that I didn''t like the experience. Because the plug-in is in the vendor directory, I had to restart the web server whenever the code changed. How can I debug a plug-in without having to restart the web server whenever the code changes? Thanks, Tiago Franco
2006 Jun 29
11
AJAX Maps
Hi, I would like to know if there is a library that provides an API to support map scrolling, like the one available in google maps. This is, I would like to create a user interface where the user is able to see a small part of a large map. It can then move the view, thus observing another part of the map. Additionally, I would also like to provide a zoom mechanism. Thanks in advance. --
2006 Apr 11
2
Schema.rb and MySQL decimal
Hi, I have a mysql schema with some decimal(20,20) fields. Now, I made a rake db_schema_dump for deployment of my applications on other machines. Rails created a schema.rb with the decimal fields as float. After a rake db_schema_import the fields are just float not decimal. How can I force rails to create decimal(20,20) columns instead of float? Thx. Marc -- Posted via
2008 Feb 28
1
rake aborted! Don't know how to build task 'db_schema_dump'
Oh noes! What do I do? Just installed RoR and SQLite3 yesterday, watched a screencast that said the db_schema_dump will slaughter my enemies and make my poop smell like rainbows. Now I get rake telling me that it doesn''t know how to. Any help? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2006 Jan 19
3
problems with migrations in sql server
Is anyone using migrations with a SQL Server database who might be able to lend me a hand? I''ve used migrations with MySql in the past and haven''t run into any issues so forgive When I run rake migrate nothing is actually getting updated in my database. I created a migration using ./script/generate migration AddFooTable and updated the migration to look as follows: class
2006 Jan 30
5
Multiple ajax calls
This is slightly OT for which I apologise in advance, but I was wondering if anyone here has had any problems when making multiple ajax calls at the same time. I''m working on a large Intranet application which makes heavy use of ajax calls and the bugs are flying in from the testers that if they repeatedly click on a link that makes an ajax call then Internet Explorer can fall