similar to: Postgresql connection problems

Displaying 20 results from an estimated 600 matches similar to: "Postgresql connection problems"

2006 Mar 17
4
using ajax and layouts
Hi. I copied the layout-example from agile web dev. in rails. When I want to use ajax to create a search field including <head><%= javascript_include_tag "prototype" %></head> does''nt work when I include the line in my app/views/layout/demo.rhtml. Name of controller is demo_controller.rb. The search-field is in app/views/demo/observer.rthml and I have to
2007 May 08
3
assert_difference eval magic in [6693]
I just saw Marcel''s change to assert_difference that changes the method API to take a string param that is evaled in a lambda. http://dev.rubyonrails.org/changeset/6693 I much preferred the old API, since it''s simple enough to pass a lambda. Passing a string means the lambda is in the wrong scope and doesn''t have access to objects in the test case scope. For an
2007 Oct 16
8
nfs-ownership
Hi. I have created some zfs-partitions. First I create the home/user-partitions. Beneath that I create additional partitions. Then I have do a chown -R for that user. These partitions are shared using the sharenfs=on. The owner- and group-id is 1009. These partitions are visible as the user assigned above. But when I mount the home/user partition from a FreeBSD-client, only the top-partiton has
2006 Mar 31
14
[newbi] Create a Model
Hello All, Yesterday i put RoR with Locomotive. I am very happy :p. So I follow this tuto (http://developer.apple.com/tools/rubyonrails.html). I used Sqlite. my database.yml # MySQL (default setup). Versions 4.1 and 5.0 are recommended. # # Get the fast C bindings: # gem install mysql # (on OS X: gem install mysql -- --include=/usr/local/lib) # And be sure to use new-style password
2006 Mar 15
7
rails on OS X 10.3.9 not working
Hello, I''ve installed Ruby 1.8.4 via Darwinports, installed gem 0.8.11 too and then installed Rails via gem. I''m using OS X 10.3.9. When I now type rails in the terminal, the following lines appear: # rails /opt/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/ active_support/values/time_zone.rb:12: undefined method `attr_reamer'' for TimeZone:Class
2007 Apr 26
7
device name changing
Hi. If I create a zpool with the following command: zpool create tank raidz2 da0 da1 da2 da3 da4 da5 da6 da7 and after a reboot the device names for some reason are changed so da2 and da5 are swapped, either by altering the LUN setting on the storage or by switching cables/swapping disks etc.? How will zfs handle that? Will it simply acknowledge that all devices are present and the pool is
2008 Apr 17
3
php5 and postgresql 8.2/8.3
Hi. I have installed php5 with support for postgresql (php5-pgsql). If I install postgresql-client ver. 8.2.7 or 8.3.x apache (httpd) core-dumps. If I install postgresql-client 8.1.11 or 8.2.6 apache does not core-dump. This is the output (backtrace) from gdb: (gdb) bt #0 0x000000080651c340 in ?? () #1 0x000000080094ebd5 in puts () from /lib/libc.so.7 #2 0x000000080094f1ee in gethostbyname
2006 Mar 24
19
Storing images in Ruby
Hi, I''d like to allow users to upload images and store those images in a Postgres database. I''ve looked through the example in "aguile development with rails" which suggests using the MySQL blob field. When I wrote a similar app in Java, we Base64 encoded the file and then stored it as a text field. Is this easy to do in RoR too? Any advice you can give me would
2006 Aug 15
8
Ferret 0.10 series
Hi David, >> Otherwise I''m fully committed to getting 0.10 out. >> When it is out, I''d recommend getting it into your >> development app as soon as you can. Any idea of timeframe to a 0.10 alpha release? Kind Regards Neville
2007 Dec 07
6
4.x Collecting pv entries Suggest increasing PMAP_SHPGPERPROC,
Hello List, I know FreeBSD 4.x is old..., but we are using on a production system with postgres and apache. The above message is appearing periodically. I googled for the message but found no recommendation for adjusting it. Any suggestions. Thanks, Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin)
2004 Nov 20
0
Stack level too deep on Cygwin and on Debian / Colinux with 0.5.0 - 0.8.5 Beta gems
Hi, as it is not possible for me to use a sensible development environment to start with I have to use emulations. I use Cygwin on windows and also Colinux. (Colinux is really amazing cause it lets you run actual linux binaries und Windows.) So here is my problem, which by the way exists since Rails 0.5.0 I think. It was the reason I tried Colinux in the first place, cause the error first
2006 Jul 31
0
validates_confirmation_of won''t work
Hello folks, this is the first time I''ve written to this forum. If there''s already a topic on this, forgive me but the search isn''t working right now. I seem to have a problem validating confirmation of a password. The first two snippets are some model code and some test code that work just fine: ---------------------------- class Challenge < ActiveRecord::Base
2009 Jul 09
0
Hanging ssh sessions with openssh-5.1p1 and Solaris 8 & 10
Hi, Has anyone had any luck looking into this by any chance ? > On Mon, Aug 04, 2008 at 02:34:23PM -0400, Jeff Wieland wrote: >> Since we upgraded OpenSSH from 5.0p1 to 5.1p1 on our Solaris 8 boxes >> (I know, I know, we should upgrade or retire them...), we've started >> experiencing problems with slogin'ing into these boxes, running vi, >> and pasting text
2008 Oct 15
1
error during installworld on 7.1 beta (was: error during buildworld on 7.1 beta)
During installworld I get: cat /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/man/ncurses.3x > ncurses.3 sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/man/MKterminfo.sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/man/terminfo.head /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/Caps
2006 Mar 16
8
Question on gems on Mac OSX
Hi all, lately I''ve been working with ROR on a MAC OSX tiger at work, however I have one huge problem with seems to be the root of all my problems whenever I use terminal or iTerm to start workign with ROR. Every single time I open a new terminal window or close one and open a new one, I have to reapply my path from .bash_login for Ruby and MySql, and than I have to install the
2007 Apr 28
3
tape-backup software (was: Very Large Filesystems)
Speaking of backup-software. I heard that legato supports zfs but is anyone using zfs and legato or some other backup-software that can handle multi-TB-file systems (in production)? -- regards Claus
2006 Jun 07
2
display two columns using fixed width divs
Hi. I want to display some related information in two columns. Originally I wanted to use frames and googling led me to http://lists.rubyonrails.org/pipermail/rails/2006-May/037972.html which suggest divs instead. I modified my code to this: <body> <div style=''width: 300px; overflow: scroll''> <%= render :partial => "col1" %> </div>
2006 May 19
1
validates_presence_of and ajax-forms
Hi. I have "validates_presence_of :login, :password, :firstname, :lastname" in my user-model. I enter the information in new_user.rhtml: <%= error_messages_for(:user) %> <%= form_remote_tag :url => { :action => :register }, :html => { :id => ''new_user'' } %> I have a register.rjs with :fade. Omitting firstname or any other required field
2008 Mar 26
1
freebsd 7 and areca controller
Hi. I'm looking at deploying a freebsd 7-release server with some storage attached to an areca ARC-1680 controller. But this card is not mentioned in 'man 4 arcmsr' (http://www.freebsd.org/cgi/man.cgi?query=arcmsr&sektion=4&manpath=FreeBSD+7.0-RELEASE). Areaca's website does mention freebsd as a supported OS (http://www.areca.com.tw/products/pcietosas1680series.htm). Has
2006 Mar 22
5
foreach item in column
Hi there, I have a database with phonenumbers, and I want to make a function that runs a command for each of these numbers, with the number as an argument Something like this in Perl: system("/bin/command $number"); mysql> select * from numbers where list = "one" +----+----------+----------+---------------------+-----------+ | id | number | name | email