Displaying 20 results from an estimated 800 matches similar to: "Scaffold Issue with Postgres"
2006 Jul 03
13
Remote Postgres is driving me crazy!
Hi guys,
I need your help. Here is my database.yml:
development:
adapter: postgresql
database: db
username: username
password: mypassword
# Connect on a TCP socket. Omitted by default since the client uses a
# domain socket that doesn''t need configuration. Windows does not
have
# domain sockets, so uncomment these lines.
host: 192.168.22.1 (this is a remote ip in
2006 May 31
2
Checkbox Help
Hi guys,
I am need to help again. Sorry for the newbie query but would definitely
appreciate the help.
Here''s the q: I generate a list of items from the database and render
them out with a checkbox beside them. A user may click more than one
item and I would want to save all checked items into another table. I
have been able to give each checkbox a unique id . Would anyone be able
2006 May 18
3
How to call controller from a div
Hi guys,
it''s me again,
Just wanted to ask, what technique can you use to call a def inside your
controller while clicking on a div?
thanks,
Bing
--
Posted via http://www.ruby-forum.com/.
2006 May 19
2
Checking div generation technique
Hi guys,
just wanted to ask, on the onset of our page, we generate several div''s.
What we noticed on an intermittent connection is that several divs don''t
get to generate all the div''s sometimes so we had to reload our page.
Would you have any technique on how we can do this?
thanks
bing
--
Posted via http://www.ruby-forum.com/.
2006 Apr 28
2
Trying to turn params field into a variable
Hi guys,
I have another question, we have this line on our .rb code:
@variable = params [:user][:bird]
I need to be able to change the 2nd field into a variable because it is
a changing valuename, I was wondering if you had any trick for that.
Meaning I need to make [:bird] into [:dog] or [:cat]...
It''s proven really tricky for me to get it to change I wonder if you
guys had any
2006 May 17
9
Render No Layout?
Hi guys,
Am having a problem.
I have this def in my index controller that works like this:
def do_something
$a = variable1
$b = variable2
$c = variable3
$d = ""<script language=\"Javascript\"> \n new Insertion.Bottom(''#{$c}'',
''#{$a} - #{$b}''); \n </script>"
$trigger = "1"
render(:partial =>
2006 May 30
11
Another String Manipulation Exercise
Hi guys,
And I thought it wasn''t a problem. Here''s my string
"/var/www/vhosts/mysite.com/httpdocs/public/file/mypic.jpg"
How do i take out all the text that comes before "mypic.jpg"?
Trickier than I first thought.
TIA,
Bing
--
Posted via http://www.ruby-forum.com/.
2006 Jun 08
1
Using hidden fields to pass values
Hi guys,
Another question from a newbie.
I need to update a div on my page which gets updated regularly. So what
I''ve done is to create a hidden field which technically just contains
the user_id. This field doesn''t change. I was planning of pulling that
text field user_id data and putting it into params but it keeps on
giving me a nil value.
Is there a technique I could
2006 Jun 15
1
Periodically Call Remote Condition
Hi guys,
I''ve been reading through the forums and came across a response for
adding :with condition to a periodically call remote.
I tried it out and couldn''t make it work. Would anyone have a sample of
how to use this conditional structure with periodically call remote?
If not, does anyone have any idea how to add a condition to a
periodically call remote?
What I need is to
2006 Jul 19
4
How do I overwrite/extend a scaffold module?
I have many pages to generate quickly. They are based off of the scaffold
generator, but I want to convert the rhtml files to Markaby, and change some
formatting. Without having to do a lot of repetitive hand editing. Is there
a simple way to overwrite/extend part of the scaffold generator? Do I need
to write my own from scratch?
--
Best Regards,
-Larry
"Work, work, work...there is no
2010 Dec 06
12
FSX install... Failure
Hey guys I desperately want to install FSX, please don't post anything referring me to another sim, I already have it on another comp and I want to link them, I decided to use linux(Ubuntu 10.1) on this machine(programming reasons) so using wine that I installed three days ago, should have Wine triks, I attempted to install FSX but I got err. 1603.
Help please?
2003 Sep 17
5
using matrix data for function
Hi All,
I have a function, f(x,y)
I have a matrix of data, m, with the 1st column is x and the 2nd column is y
What's the best way to get f(x,y) for each row of the matrix?
I tried
result<-f(m[,1],m[,2]) but it doesn't work.
Thanks!
Bing
---------------------------------
1060 Commerce Park
Oak Ridge National Laboratory
P.O. Box 2008, MS 6480
Oak Ridge, TN 37831-6480
Phone:
2006 Jun 21
8
Sans Periodically call remote-- possible?
I was wondering, imagine this situation. You have browser 1 on machine 1
and browser 2 on machine 2. I created a div so that I can update certain
elements on the database. Is it possible to have the data rendered on
browser 2 using ajax but without using the periodically call remote? Is
it possible to use the submit event from browser 1 to trigger browser 2
to update?
thanks,
Bing
--
2010 Apr 16
4
www.centos.org and the wildcard dns
hi guys,
At the moment there is a www.centos.org site. There is also a wildcard
dns setup that directs anything.centos.org to www.centos.org's content
This has a couple of 'issues' with SEO and google sepcifically. The
reason we have such low page rank is that google marks all of this as
duplicate content. I am sure there are other search engines that do as
well ( Bing has a
2003 Aug 12
4
print points from a huge matrix
Hi All,
I have a 8000*8000 matrix and I want to print out a file with the row name,
column name and the value for those point with values satisfying a condition.
I tried using a for loop, however, it took me forever to get the result. Is
there a fast way to do this? Thanks!
Bing
---------------------------------
1060 Commerce Park
Oak Ridge National Laboratory
P.O. Box 2008, MS 6480
Oak
2003 Sep 25
2
allShortestPath function in e1071 package
Hi All,
I am using the allShortestPath function based on Floyd's algorithm in e1071
package. It runs great when I have less than 5000 nodes. But when I tried to
work on more than 5000 nodes, I ran into memory problem. The problem I really
want to solve has 10000-15000 nodes.
Does anybody know how to deal with this problem? Are there any other packages
in R that can handle this problem?
2009 Nov 05
3
programming phones
I have question thats not really about astrisk but I figure you guys are doing this sort of thing.
We use Aastra 6757i phones. there is some support for XML. the question is how would i go about learning to customize these phones?
_________________________________________________________________
Bing brings you maps, menus, and reviews organized in one place.
2019 May 13
3
How shall I evaluate the latency of each instruction in LLVM IR?
Inspired by https://www.agner.org/optimize/instruction_tables.pdf, which
gives us the latency and reciprocal throughput of each instruction in the
different architecture of X86, Is there anybody taking the effort to do a
similar job for LLVM IR?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2014 Dec 03
1
Creating a USB bootable modified netinstall ISO image
On Dec 3, 2014, at 12:01, Greg Bailey wrote:
> I think you'd need to use the "isohybrid" command that's included in the syslinux package.
BING! BING! BING! We have a winner! Thanks for that info, it makes
the USB stick bootable. This will make kickstart installations so much
easier, especially for systems that don?t have a CD-ROM (we used to
have to scrounge for an
2005 Sep 20
2
Transform variable number of rows per subject to column variables?
Hello,
I am very new to R, but I am having trouble with my dataset.
I have a data frame where a subject has a variable number of multiple
observations for each row, which I wish the transform these
observations to column variables.
An example of the data frame
ID TEST.A TEST.B
1 10 1
1 13 2
1 11 1
2 15 2
2 17 3
And I wish to transform it to the following:
ID TEST.A1 TEST.A2 TEST.A3 TEST.B1